Spaces:
Sleeping
Sleeping
Update app.py
Browse files12 unmodified lines1314151617181920212228 unmodified lines5152535455565712 unmodified lines#Keep this format for the description / args / args description but feel free to modify the tool"""A tool that does nothing yetArgs:arg1: the first argumentarg2: the second argument"""return "What magic will you build ?"@tooldef get_current_time_in_timezone(timezone: str) -> str:28 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,12 unmodified lines1314151617181920212228 unmodified lines5152535455565712 unmodified lines#Keep this format for the description / args / args description but feel free to modify the tool"""A tool that does nothing yetArgs:arg1: your namearg2: your age"""return print("based on your name : ", arg1, " and your age : ", arg2 ,",")@tooldef get_current_time_in_timezone(timezone: str) -> str:28 unmodified linesagent = CodeAgent(model=model,tools=[final_answer], [get_current_time_in_timezone], [my_cutom_tool]## add your tools here (don't remove final answer)max_steps=6,verbosity_level=1,grammar=None,
app.py+4-4