RafaelAgreda commited on
Commit
1a77a6c
·
verified ·
1 Parent(s): ca36d0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -107,15 +107,14 @@ with open("prompts.yaml", 'r') as stream:
107
 
108
  agent = CodeAgent(
109
  model=model,
110
- tools=[final_answer,search_audiobooks,get_current_time_in_timezone,filter_by_time], ## add your tools here (don't remove final answer)
111
  max_steps=6,
112
  verbosity_level=1,
113
  grammar=None,
114
  planning_interval=None,
115
  name=None,
116
  description=None,
117
- prompt_templates=prompt_templates,
118
- prompt_templates["final_answer"] == "Final answer: {answer}"
119
  )
120
 
121
 
 
107
 
108
  agent = CodeAgent(
109
  model=model,
110
+ tools=[search_audiobooks,get_current_time_in_timezone,filter_by_time,final_answer], ## add your tools here (don't remove final answer)
111
  max_steps=6,
112
  verbosity_level=1,
113
  grammar=None,
114
  planning_interval=None,
115
  name=None,
116
  description=None,
117
+ prompt_templates=prompt_templates
 
118
  )
119
 
120