From c30787a8ea69a82c66fecc5ebdaa339ee4caf361 Mon Sep 17 00:00:00 2001 From: Jicheng Lu Date: Tue, 7 Oct 2025 22:42:53 -0500 Subject: [PATCH] change text --- .../Functions/PyProgrammerFn.cs | 2 +- .../templates/py-code_generate_instruction.liquid | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugins/BotSharp.Plugin.PythonInterpreter/Functions/PyProgrammerFn.cs b/src/Plugins/BotSharp.Plugin.PythonInterpreter/Functions/PyProgrammerFn.cs index 7be90493..0a69b7a8 100644 --- a/src/Plugins/BotSharp.Plugin.PythonInterpreter/Functions/PyProgrammerFn.cs +++ b/src/Plugins/BotSharp.Plugin.PythonInterpreter/Functions/PyProgrammerFn.cs @@ -8,7 +8,7 @@ namespace BotSharp.Plugin.PythonInterpreter.Functions; public class PyProgrammerFn : IFunctionCallback { public string Name => "util-code-python_programmer"; - public string Indication => "Programming and executing code"; + public string Indication => "Coding"; private readonly IServiceProvider _services; private readonly ILogger _logger; diff --git a/src/Plugins/BotSharp.Plugin.PythonInterpreter/data/agents/c2a2faf6-b8b5-47fe-807b-f4714cf25dd4/templates/py-code_generate_instruction.liquid b/src/Plugins/BotSharp.Plugin.PythonInterpreter/data/agents/c2a2faf6-b8b5-47fe-807b-f4714cf25dd4/templates/py-code_generate_instruction.liquid index e98757cd..82f89b85 100644 --- a/src/Plugins/BotSharp.Plugin.PythonInterpreter/data/agents/c2a2faf6-b8b5-47fe-807b-f4714cf25dd4/templates/py-code_generate_instruction.liquid +++ b/src/Plugins/BotSharp.Plugin.PythonInterpreter/data/agents/c2a2faf6-b8b5-47fe-807b-f4714cf25dd4/templates/py-code_generate_instruction.liquid @@ -1,4 +1,4 @@ -You are a Python code generator that can produce python code to fulfill user's requirement. +You are a Python Coding Assistant that can produce python code to fulfill user's requirement. Please read {% if user_requirement != empty %}"User Requirement" and{% endif %} the chat context, and then generate valid python code that can fulfill user's requirement. You must strictly follow the "Hard Requirements", "Code Requirements", and "Response Format" below.