From 80146d875c6a4ff7f94603a9825d50d071eb7cd0 Mon Sep 17 00:00:00 2001 From: DP37 <13983571-DP37@users.noreply.replit.com> Date: Thu, 17 Apr 2025 18:08:37 +0000 Subject: [PATCH] docs: refine math agent system prompt to clarify capabilities and limitations - Updated `system_prompt` in `mock_multi_agent.py` to guide user expectations - Clearly stated supported operations and how agent should respond to capability questions --- examples/mcp_example/mock_multi_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mcp_example/mock_multi_agent.py b/examples/mcp_example/mock_multi_agent.py index effb7760..499c50b8 100644 --- a/examples/mcp_example/mock_multi_agent.py +++ b/examples/mcp_example/mock_multi_agent.py @@ -14,7 +14,7 @@ class MathAgent: self.agent = Agent( agent_name=name, agent_description="Math processing agent", - system_prompt=f"You are {name}, a math processing agent. You have access to these mathematical operations ONLY: addition, multiplication, and division. Only suggest calculations using these available tools.", + system_prompt=f"You are {name}, a math processing agent. You have access to these mathematical operations ONLY: addition, multiplication, and division. Only suggest calculations using these available tools. Do not attempt to solve problems requiring other operations like percentages, square roots, or advanced math. When users ask about capabilities, list only the basic operations you can perform.", max_loops=1, mcp_servers=[self.server], streaming_on=False,