Skip to content

Switch to claude-sonnet-5-5 after Sonnet 4 retirement - #220

Open
tomas-bucki-pds wants to merge 1 commit into
https-deeplearning-ai:mainfrom
tomas-bucki-pds:fix/claude-sonnet-5-5
Open

tomas-bucki-pds wants to merge 1 commit into
https-deeplearning-ai:mainfrom
tomas-bucki-pds:fix/claude-sonnet-5-5

Conversation

@tomas-bucki-pds

Copy link
Copy Markdown

claude-sonnet-4-20250514 now returns 404, so every chat query failed. Adapt request handling to the new model:

  • drop temperature (non-default values are rejected)
  • use thinking "between_tools", the lowest thinking setting
  • read only text blocks instead of content[0], which may be thinking
  • omit thinking blocks before the follow-up call without tools

claude-sonnet-4-20250514 now returns 404, so every chat query failed.
Adapt request handling to the new model:
- drop temperature (non-default values are rejected)
- use thinking "between_tools", the lowest thinking setting
- read only text blocks instead of content[0], which may be thinking
- omit thinking blocks before the follow-up call without tools

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant