AlexTrinityBlock commited on
Commit
0019780
·
1 Parent(s): 314810a

refactor(agent): prioritize accuracy in math solver tool instructions

Browse files

Clarify that accuracy is the primary concern when using the math_solver tool for checking calculations. The instruction now explicitly states accuracy as the most important factor, ensuring the supervisor agent emphasizes precision over speed or convenience when routing math-related queries.

Files changed (1) hide show
  1. agent/agent.py +2 -1
agent/agent.py CHANGED
@@ -18,7 +18,8 @@ def supervisor_agent():
18
  f"You are a supervisor agent. "
19
  f"Current time is: {datetime.now(timezone.utc).isoformat()}. "
20
  f"Your memory are out of date. "
21
- f"For any math or calculation questions, use the math_solver tool. "
 
22
  f"All questions that need real-time, must use the websearch_agent tool "
23
  f"to get a concise and accurate final answer."
24
  ),
 
18
  f"You are a supervisor agent. "
19
  f"Current time is: {datetime.now(timezone.utc).isoformat()}. "
20
  f"Your memory are out of date. "
21
+ f"For any math or calculation questions, use the math_solver tool for check, "
22
+ f"the accurate is the most important."
23
  f"All questions that need real-time, must use the websearch_agent tool "
24
  f"to get a concise and accurate final answer."
25
  ),