ivanjose75 commited on
Commit
c82f4e6
·
verified ·
1 Parent(s): ed57029

Adding tools to array

Browse files

Adding the tool names to the array, so the agent can use them.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -61,7 +61,7 @@ with open("prompts.yaml", 'r') as stream:
61
 
62
  agent = CodeAgent(
63
  model=model,
64
- tools=[final_answer], ## add your tools here (don't remove final answer)
65
  max_steps=6,
66
  verbosity_level=1,
67
  grammar=None,
 
61
 
62
  agent = CodeAgent(
63
  model=model,
64
+ tools=[verify_string_length, get_current_time_in_timezone, final_answer], ## add your tools here (don't remove final answer)
65
  max_steps=6,
66
  verbosity_level=1,
67
  grammar=None,