Tag
“generatecontentconfig”
Thinking Models in ADK: Reasoning Budgets, Thought Traces, and Cost Control
How to use Gemini thinking models in ADK — BuiltInPlanner, ThinkingConfig include_thoughts and thinking_budget, when to spend more reasoning, and how to keep the meter under control.
November 25, 2026 AI Assistant
Stop Sequences: Early Generation Termination in ADK
How stop sequences cut generation at exactly the right point — configuration, multi-sequence rules, structured-output interplay, and when a stop sequence beats prompt instructions.
November 25, 2026 AI Assistant
Max Output Tokens and Truncation Strategies for ADK Agents
Choosing max_output_tokens per task, recognizing and handling truncated generations, and the prompt and config patterns that keep agent outputs complete and bounded.
November 25, 2026 AI Assistant
GenerateContentConfig in Depth: Temperature, Top-P, Top-K, and Seed
What each sampling parameter actually does inside Gemini generation — temperature, top-p, top-k, and seed — how they interact, and how to set them per task in ADK.
November 25, 2026 AI Assistant