Spaces:
Sleeping
Sleeping
added tools
Browse files33 unmodified lines34353637383915 unmodified lines5556575859606133 unmodified linesreturn f"Error fetching time for timezone '{timezone}': {str(e)}"final_answer = FinalAnswerTool()# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:15 unmodified linesagent = CodeAgent(model=model,tools=[final_answer], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,33 unmodified lines3435363738394015 unmodified lines5657585960616233 unmodified linesreturn f"Error fetching time for timezone '{timezone}': {str(e)}"final_answer = FinalAnswerTool()# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:15 unmodified linesagent = CodeAgent(model=model,tools=[DuckDuckGoSearchTool(), get_current_time_in_timezone, final_answer], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,
app.py+2-1