Spaces:
Running
Running
Updated app.py
Browse filesAdded the final answer tool
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], #
|
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,
|