Skip to content

chore: update Anthropic default model to Claude Opus 4.8#1166

Merged
hazeone merged 1 commit into
mainfrom
cursor/anthropic-opus-4-8-default-00ba
Jul 15, 2026
Merged

chore: update Anthropic default model to Claude Opus 4.8#1166
hazeone merged 1 commit into
mainfrom
cursor/anthropic-opus-4-8-default-00ba

Conversation

@hazeone

@hazeone hazeone commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the Anthropic provider default model from claude-opus-4-6 to claude-opus-4-8 (Claude Opus 4.8).

Changes

  • Main registry: electron/shared/providers/registry.ts
  • Renderer registry: src/lib/providers.ts
  • Unit tests aligned with the new default

Notes

  • Official Anthropic API model ID: claude-opus-4-8
  • Existing leftover claude-opus-4-6 mentions in unrelated capability/custom-provider fixture tests are left as-is (they are sample IDs, not Anthropic defaults)
  • OpenRouter’s electron-registry default remains anthropic/claude-opus-4.6 (UI already defaults OpenRouter to openai/gpt-5.5); this PR only changes the Anthropic provider default as requested
Open in Web Open in Cursor 

Bump the Anthropic provider defaultModelId and placeholder from
claude-opus-4-6 to claude-opus-4-8 in both Main and renderer registries,
and align unit test expectations.

Co-authored-by: Haze <[email protected]>
@hazeone
hazeone marked this pull request as ready for review July 15, 2026 07:11
@cursor

cursor Bot commented Jul 15, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@hazeone
hazeone merged commit 51655b9 into main Jul 15, 2026
5 checks passed
@hazeone
hazeone deleted the cursor/anthropic-opus-4-8-default-00ba branch July 15, 2026 07:12

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7c281b812a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/lib/providers.ts
Comment on lines +158 to +159
defaultModelId: 'claude-opus-4-8',
modelIdPlaceholder: 'claude-opus-4-8',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add Playwright coverage for Anthropic default change

For the add-provider/setup UI, these values control the visible Anthropic model default and placeholder, so this is a user-visible UI change. The root AGENTS.md says any user-visible UI change should include or update an Electron E2E spec in the same PR, but this commit only updates unit tests and no tests/e2e coverage for the interaction, leaving the required Playwright validation missing.

Useful? React with 👍 / 👎.

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