NicMac commited on
Commit
7fcf021
·
verified ·
1 Parent(s): ae7a494

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -55,13 +55,13 @@ with open("prompts.yaml", 'r') as stream:
55
 
56
  agent = CodeAgent(
57
  model=model,
58
- tools=[final_answer], ## add your tools here (don't remove final answer)
59
  max_steps=6,
60
  verbosity_level=1,
61
  grammar=None,
62
  planning_interval=None,
63
- name=None,
64
- description=None,
65
  prompt_templates=prompt_templates
66
  )
67
 
 
55
 
56
  agent = CodeAgent(
57
  model=model,
58
+ tools=[final_answer, get_current_time_in_timezone, image_generation_tool], # Add more tools
59
  max_steps=6,
60
  verbosity_level=1,
61
  grammar=None,
62
  planning_interval=None,
63
+ name="MyAgent",
64
+ description="An agent that can fetch time, search, and generate images.",
65
  prompt_templates=prompt_templates
66
  )
67