menaahmed22 commited on
Commit
4bc334a
·
verified ·
1 Parent(s): 1dac27d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ class BasicAgent:
22
  agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=model, add_base_tools=True)
23
  agent_response = agent.run(question)
24
  except Exception as e:
25
- print(f"Error running agent: {e}")
26
  return f"AGENT ERROR: {e}"
27
 
28
  print(f"Agent returning answer: {agent_response}")
 
22
  agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=model, add_base_tools=True)
23
  agent_response = agent.run(question)
24
  except Exception as e:
25
+ print(f"Error running agent: {e}")
26
  return f"AGENT ERROR: {e}"
27
 
28
  print(f"Agent returning answer: {agent_response}")