Update building_good_agents.md (#283)

This commit is contained in:
Derek Alia 2025-01-21 02:03:51 -08:00 committed by GitHub
parent fb23e91a21
commit 1e745c7a34
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ image_generation_tool = load_tool("m-ric/text-to-image", trust_remote_code=True)
search_tool = DuckDuckGoSearchTool() search_tool = DuckDuckGoSearchTool()
agent = CodeAgent( agent = CodeAgent(
tools=[search_tool], tools=[search_tool, image_generation_tool],
model=HfApiModel("Qwen/Qwen2.5-72B-Instruct"), model=HfApiModel("Qwen/Qwen2.5-72B-Instruct"),
planning_interval=3 # This is where you activate planning! planning_interval=3 # This is where you activate planning!
) )