krishnanshus04 commited on
Commit
ecd38ec
·
verified ·
1 Parent(s): 2f7107d

Update app.py

Browse files

Adding new tools(get_weather and image_generation_tool) in the CodeAgent

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