Open
Description
Describe the bug
When using the ADK with Claude Sonnet 4 model, I've configured parameters to enable thought process output, but the API response doesn't include any reasoning steps despite the model's documented chain-of-thought capabilities.
To Reproduce
MODEL_CLAUDE_SONNET = "anthropic/claude-sonnet-4-20250514"
root_agent = Agent(
model=LiteLlm(model=MODEL_CLAUDE_SONNET),
name='root_agent',
instruction="""answer user questions""",
planner=BuiltInPlanner(
thinking_config=types.ThinkingConfig(
include_thoughts=True,
),
),
)
Expected behavior
Response should contain thought_process or similar field with intermediate reasoning steps as per documentation.
Desktop (please complete the following information):
- OS: MacOS
- Python version(python -V): 3.13.3
- ADK version(pip show google-adk): 1.2.1
Additional context
https://docs.anthropic.com/zh-CN/docs/build-with-claude/extended-thinking