Spaces:
Sleeping
Sleeping
Update app.py
Browse files24 unmodified lines252627282829303133 unmodified lines656667686869707124 unmodified lines
agent = OpenAIAgent.from_tools(tool_spec.to_tool_list())
wiki = agent.chat("Who is Ben Afflecks spouse?")agent.chat("Who is Ben Afflecks spouse?")
@tool33 unmodified lines agent = CodeAgent( model=model, tools=[final_answer, get_current_time_in_timezone, image_generation_tool, wiki], ## add your tools here (don't remove final answer) tools=[final_answer, get_current_time_in_timezone, image_generation_tool, tool_spec, agent], ## add your tools here (don't remove final answer) max_steps=6, verbosity_level=1, grammar=None,app.py+2-2