Popline commited on
Commit
efe750f
·
verified ·
1 Parent(s): dd45899

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,7 +25,7 @@ tool_spec = WikipediaToolSpec()
25
 
26
  agent = OpenAIAgent.from_tools(tool_spec.to_tool_list())
27
 
28
- wiki = agent.chat("Who is Ben Afflecks spouse?")
29
 
30
 
31
  @tool
@@ -65,7 +65,7 @@ with open("prompts.yaml", 'r') as stream:
65
 
66
  agent = CodeAgent(
67
  model=model,
68
- tools=[final_answer, get_current_time_in_timezone, image_generation_tool, wiki], ## add your tools here (don't remove final answer)
69
  max_steps=6,
70
  verbosity_level=1,
71
  grammar=None,
 
25
 
26
  agent = OpenAIAgent.from_tools(tool_spec.to_tool_list())
27
 
28
+ agent.chat("Who is Ben Afflecks spouse?")
29
 
30
 
31
  @tool
 
65
 
66
  agent = CodeAgent(
67
  model=model,
68
+ tools=[final_answer, get_current_time_in_timezone, image_generation_tool, tool_spec, agent], ## add your tools here (don't remove final answer)
69
  max_steps=6,
70
  verbosity_level=1,
71
  grammar=None,