pdx97 commited on
Commit
1b763fc
·
verified ·
1 Parent(s): 1f19dd8

Updated app.py

Browse files

Added the final answer tool

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -211,7 +211,7 @@ with open("prompts.yaml", 'r') as stream:
211
  # Create the AI Agent
212
  agent = CodeAgent(
213
  model=model,
214
- tools=[fetch_latest_arxiv_papers], # Properly registered tool
215
  max_steps=6,
216
  verbosity_level=1,
217
  grammar=None,
 
211
  # Create the AI Agent
212
  agent = CodeAgent(
213
  model=model,
214
+ tools=[final_answer,fetch_latest_arxiv_papers], # Add your tools here
215
  max_steps=6,
216
  verbosity_level=1,
217
  grammar=None,