diff --git a/dotnet/src/Plugins/Plugins.Core/CodeInterpreter/SessionsPythonPlugin.cs b/dotnet/src/Plugins/Plugins.Core/CodeInterpreter/SessionsPythonPlugin.cs index c8094de65201..bebd972fe350 100644 --- a/dotnet/src/Plugins/Plugins.Core/CodeInterpreter/SessionsPythonPlugin.cs +++ b/dotnet/src/Plugins/Plugins.Core/CodeInterpreter/SessionsPythonPlugin.cs @@ -113,6 +113,8 @@ public async Task ExecuteCodeAsync([Description("The valid Python code t var jsonElementResult = JsonSerializer.Deserialize(await response.Content.ReadAsStringAsync().ConfigureAwait(false)); return $""" + Status: + {jsonElementResult.GetProperty("status").GetRawText()} Result: {jsonElementResult.GetProperty("result").GetRawText()} Stdout: diff --git a/dotnet/src/Plugins/Plugins.UnitTests/Core/SessionsPythonPluginTests.cs b/dotnet/src/Plugins/Plugins.UnitTests/Core/SessionsPythonPluginTests.cs index 789cd85fc353..f9a5e9fc1bcb 100644 --- a/dotnet/src/Plugins/Plugins.UnitTests/Core/SessionsPythonPluginTests.cs +++ b/dotnet/src/Plugins/Plugins.UnitTests/Core/SessionsPythonPluginTests.cs @@ -70,6 +70,8 @@ public async Task ItShouldExecuteCodeAsync() Content = new StringContent(responseContent), }; var expectedResult = """ + Status: + "Success" Result: "" Stdout: