balnazzar commited on
Commit
abd986c
·
verified ·
1 Parent(s): 8a60b95

Update app.py

Browse files

Raised steps to 8

Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -12,7 +12,6 @@ import requests
12
  import pytz
13
  import yaml
14
  import yfinance as yf
15
- import pandas # for yfinance
16
  from tools.final_answer import FinalAnswerTool
17
  from tools.visit_webpage import VisitWebpageTool
18
  from tools.web_search import DuckDuckGoSearchTool # note DuckDuckGoSearchTool from smolagents, anyway: one could load like we do for the text2img tool
@@ -85,7 +84,7 @@ with open("prompts.yaml", 'r') as stream:
85
  agent = CodeAgent(
86
  model=model,
87
  tools=[final_answer, get_current_time_in_timezone, image_generation_tool, searchy_tool, visitwpg_tool, get_stocks_price], ## add your tools here (don't remove final answer)
88
- max_steps=6,
89
  verbosity_level=1,
90
  grammar=None,
91
  planning_interval=None,
 
12
  import pytz
13
  import yaml
14
  import yfinance as yf
 
15
  from tools.final_answer import FinalAnswerTool
16
  from tools.visit_webpage import VisitWebpageTool
17
  from tools.web_search import DuckDuckGoSearchTool # note DuckDuckGoSearchTool from smolagents, anyway: one could load like we do for the text2img tool
 
84
  agent = CodeAgent(
85
  model=model,
86
  tools=[final_answer, get_current_time_in_timezone, image_generation_tool, searchy_tool, visitwpg_tool, get_stocks_price], ## add your tools here (don't remove final answer)
87
+ max_steps=8,
88
  verbosity_level=1,
89
  grammar=None,
90
  planning_interval=None,