WeByT3 commited on
Commit
0701e41
·
verified ·
1 Parent(s): e06c61c

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -23,7 +23,7 @@ def build_agent():
23
  system_prompt = """You are a reasoning assistant that can answer complex questions using external tools. You must follow a structured reasoning format and always output a final answer.
24
  Always follow this step-by-step structure:
25
  - Thought: Describe your reasoning.
26
- - Action: Call a tool, using this format → Action: tool_name(input)
27
  - Observation: Describe what the tool returned.
28
  - Repeat Thought → Action → Observation as needed until you are SURE you can answer.
29
  When you are ready to answer, say:
 
23
  system_prompt = """You are a reasoning assistant that can answer complex questions using external tools. You must follow a structured reasoning format and always output a final answer.
24
  Always follow this step-by-step structure:
25
  - Thought: Describe your reasoning.
26
+ - Action: If necessary, call a tool, using this format → Action: tool_name(input). If not, use your reasoning for answering the question.
27
  - Observation: Describe what the tool returned.
28
  - Repeat Thought → Action → Observation as needed until you are SURE you can answer.
29
  When you are ready to answer, say: