Albannach58 commited on
Commit
5e61022
·
verified ·
1 Parent(s): 8c362a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ tools = [DuckDuckGoSearchTool()]
16
 
17
  class BasicAgent(CodeAgent):
18
  def __init__(self):
19
- self = CodeAgent(tools=tools, model=model, additional_authorized_imports=["requests", "bs4"])
20
  print("BasicAgent initialized as CodeAgent.")
21
  def __call__(self, question: str) -> str:
22
  # Run the agent with the query
 
16
 
17
  class BasicAgent(CodeAgent):
18
  def __init__(self):
19
+ self = CodeAgent(tools=tools, model=model, additional_authorized_imports=["requests", "bs4"], max_steps=20)
20
  print("BasicAgent initialized as CodeAgent.")
21
  def __call__(self, question: str) -> str:
22
  # Run the agent with the query