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
pull/819/head
DP37 5 days ago committed by ascender1729
parent ae4b0b57e9
commit 80146d875c

@ -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,

Loading…
Cancel
Save