Spaces:
Sleeping
Sleeping
Update app.py
Browse filesAdded get_current_time_in_timezone and DuckDuckGoSearch
34 unmodified lines35363738394014 unmodified lines5556575859606134 unmodified linesfinal_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:# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'14 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,34 unmodified lines3536373839404114 unmodified lines5657585960616234 unmodified linesfinal_answer = FinalAnswerTool()duck_duck_go_search = DuckDuckGoSearchTool()# 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:# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'14 unmodified linesagent = CodeAgent(model=model,tools=[final_answer, duck_duck_go_search, get_current_time_in_timezone], ## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,
app.py+2-1