Skip to content

fix(examples): replace retired claude-sonnet-4-20250514 with claude-sonnet-4-6 - #167

Merged
ling-senpeng13 merged 1 commit into
mainfrom
fix/replace-retired-sonnet-model
Aug 17, 2026
Merged

fix(examples): replace retired claude-sonnet-4-20250514 with claude-sonnet-4-6#167
ling-senpeng13 merged 1 commit into
mainfrom
fix/replace-retired-sonnet-model

Conversation

@ling-senpeng13

Copy link
Copy Markdown
Contributor

Anthropic retired claude-sonnet-4-20250514 — the API now returns 404 model not found, breaking every example pinned to it (58, 59, 60, 60a, plus docstring mentions in 56/adk-35/README).

claude-sonnet-4-6 is the like-for-like replacement: it still accepts the legacy extended-thinking request shape (thinking.type: enabled + budget_tokens) that these examples use via thinkingBudgetTokens, so they run unchanged on all current server versions. (Claude Sonnet 5 was considered but rejects that legacy shape, which would have required an SDK serialization change as a prerequisite.)

Verified: example 59 (extended thinking + code execution) completes end-to-end on claude-sonnet-4-6 against conductor-oss.

…onnet-4-6

Anthropic retired claude-sonnet-4-20250514 (404 from the API), breaking
every example pinned to it. claude-sonnet-4-6 is the like-for-like
replacement: current previous-generation Sonnet that still accepts the
legacy extended-thinking shape these examples use via
thinkingBudgetTokens, so they work on all server versions.
@ling-senpeng13
ling-senpeng13 marked this pull request as ready for review August 17, 2026 23:17
@ling-senpeng13
ling-senpeng13 merged commit 37e6e43 into main Aug 17, 2026
23 of 28 checks passed
@ling-senpeng13
ling-senpeng13 deleted the fix/replace-retired-sonnet-model branch August 17, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants