CS Edwards
CS Edwards
hey @Sabk0926 , I can't see your repo/space but did you add the `image_generation_tool` in the `tools` array within the `CodeAgent()` in app.py?
remove the parenthesis tools=[final_answer,image_generation_tool, DuckDuckGoSearchTool],
@ShawnSiao try removing the DuckSearchGoTool all together, change your original code: `agent = CodeAgent( model=model, tools=[final_answer, get_coin_price, get_current_time_in_timezone, DuckDuckGoSearchTool()], ## add your tools here (don't remove final answer) max_steps=6, verbosity_level=1,...
@ShawnSiao if that doesn't work, you'll want to see what your debug console/container Logs are saying.