tresbien1 commited on
Commit
d37eddb
·
verified ·
1 Parent(s): ed07cd9

fixed a but, where the tools were outside the list for tools in CodeAgent

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ with open("prompts.yaml", 'r') as stream:
106
 
107
  agent = CodeAgent(
108
  model=model,
109
- tools=[final_answer], statistics_tool, get_current_time_in_timezone, search_tool, image_generation_tool ## add your tools here (don't remove final answer)
110
  max_steps=6,
111
  verbosity_level=1,
112
  grammar=None,
 
106
 
107
  agent = CodeAgent(
108
  model=model,
109
+ tools=[final_answer, statistics_tool, get_current_time_in_timezone, search_tool, image_generation_tool], ## add your tools here (don't remove final answer)
110
  max_steps=6,
111
  verbosity_level=1,
112
  grammar=None,