-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Adding Anthropic opus 4.1 #5369
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
π¦ Changeset detectedLatest commit: 193ac85 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Pull Request Overview
This PR adds support for a new Anthropic model variant, Claude Opus 4.1, to the codebase.
- Adds configuration for "claude-opus-4-1-20250805" model with pricing and capabilities
- Maintains consistency with existing model configuration structure
Comments suppressed due to low confidence (1)
src/shared/api.ts:218
- The model version 'claude-opus-4-1-20250805' appears to reference a date (August 5, 2025) that is in the future or may not exist. Please verify this is the correct model identifier from Anthropic's official documentation.
"claude-opus-4-1-20250805": {
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.
model name matched the one in docs: https://docs.anthropic.com/en/docs/about-claude/models/overview
Coverage ReportExtension CoverageBase branch: 47% PR branch: 48% β Coverage increased or remained the same Webview CoverageBase branch: 17% PR branch: 17% β Coverage increased or remained the same Overall Assessmentβ Test coverage has been maintained or improved Last updated: 2025-08-05T16:58:19.951403 |
Description
Test Procedure
Tested locally
Type of Change
Pre-flight Checklist
npm test
) and code is formatted and linted (npm run format && npm run lint
)npm run changeset
(required for user-facing changes)Screenshots
Additional Notes
Important
Add
claude-opus-4-1-20250805
model toanthropicModels
inapi.ts
with specific pricing and support for images and prompt caching.claude-opus-4-1-20250805
toanthropicModels
inapi.ts
.lovely-readers-beam.md
documenting the addition as a patch forclaude-dev
.This description was created by
for 193ac85. You can customize this summary. It will automatically update as commits are pushed.