theakshayrane commited on
Commit
2939dfb
·
verified ·
1 Parent(s): dff721e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -82,11 +82,9 @@ with open("prompts.yaml", 'r') as stream:
82
  # -------------------------
83
  agent = CodeAgent(
84
  model=model,
85
- tools=[final_answer, get_current_time_in_timezone, generate_image], # keep final_answer first
86
  max_steps=6,
87
  verbosity_level=1,
88
- grammar=None,
89
- planning_interval=None,
90
  name="FirstAgent",
91
  description="Agent with image generation and time tools",
92
  prompt_templates=prompt_templates
 
82
  # -------------------------
83
  agent = CodeAgent(
84
  model=model,
85
+ tools=[final_answer, get_current_time_in_timezone, generate_image],
86
  max_steps=6,
87
  verbosity_level=1,
 
 
88
  name="FirstAgent",
89
  description="Agent with image generation and time tools",
90
  prompt_templates=prompt_templates