fix: Set max_output_tokens for the agent builder

PiperOrigin-RevId: 814317909
This commit is contained in:
George Weale
2025-10-02 11:35:35 -07:00
committed by Copybara-Service
parent 65554d6621
commit 2e2d61b6fe
@@ -112,6 +112,9 @@ class AgentBuilderAssistant:
instruction=instruction,
model=model,
tools=all_tools,
generate_content_config=types.GenerateContextConfig(
max_output_tokens=8192,
),
)
return agent