jyane commited on
Commit
b28d643
·
verified ·
1 Parent(s): f1a65e3

Implement my_custom_tool for square calculation and add to agent

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