-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Add Claude Sonnet 4 and Claude Opus 4 models with thinking variants #3844
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this isn't quite right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry i am too sleep deprived idk how i managed to even close this lol thanks @cte
|
@shariqriazz - Mind if we use this a the official Claude 4 PR? |
not at all we good :) |
|
Hey! I think the vertex models are missing the @ I just tested it and it doesn't work - @mrubens @shariqriazz Update: tried locally with @ and it works now with:
|
|
Thank you! #3849 |



adds claude 4 sonnet / opus with thinking variant to anthropic, vertex, bedrock
Important
Add Claude Sonnet 4 and Claude Opus 4 models with thinking variants to the system, updating
anthropic.tsandapi.ts.claude-sonnet-4-20250514andclaude-opus-4-20250514models withthinkingvariants toanthropicModels,bedrockModels, andvertexModelsinapi.ts.AnthropicHandlerinanthropic.tsto handle new models and theirthinkingvariants.thinking-128kvariants increateMessage()andgetModel()methods.PROMPT_CACHING_MODELSandCOMPUTER_USE_MODELSsets inapi.tsto include new models.This description was created by
for 83beb4972bfe91ce127ca5969c607897634a6576. You can customize this summary. It will automatically update as commits are pushed.