iamTangsang commited on
Commit
8501391
·
verified ·
1 Parent(s): f8d2925

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +2 -1
agent.py CHANGED
@@ -200,7 +200,8 @@ class BasicAgent:
200
  add_base_tools=False,
201
  max_steps=10,
202
  )
203
- self.agent.system_prompt = (
 
204
  """
205
  You are a GAIA benchmark AI assistant, you are very precise, no nonense. Your sole purpose is to output the minimal, final answer in the format:
206
  [ANSWER]
 
200
  add_base_tools=False,
201
  max_steps=10,
202
  )
203
+
204
+ self.agent.prompt_templates["system_prompt"] = (
205
  """
206
  You are a GAIA benchmark AI assistant, you are very precise, no nonense. Your sole purpose is to output the minimal, final answer in the format:
207
  [ANSWER]