Skip to content

Remove Opus 4.7 model from Studio Code agent - #3828

Merged
katinthehatsite merged 1 commit into
trunkfrom
remove-opus-4-7-model
Jun 15, 2026
Merged

Remove Opus 4.7 model from Studio Code agent#3828
katinthehatsite merged 1 commit into
trunkfrom
remove-opus-4-7-model

Conversation

@wojtekn

@wojtekn wojtekn commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Related issues

  • N/A

How AI was used in this PR

Authored with Claude Code. It removed the model registry entry and verified the change with eslint and the TypeScript type checker. The author reviewed the change.

Proposed Changes

Removes the Opus 4.7 option from the Studio Code agent model picker, leaving Sonnet 4.6 and Opus 4.8 as the available Anthropic models. Since the registry is centralized, this single change propagates to the model picker, provider availability, and session model validation (sessions pinned to Opus 4.7 auto-fall back to the default model).

The default model (Sonnet 4.6) is unaffected.

Testing Instructions

  • Open the Studio Code agent chat composer and confirm Opus 4.7 no longer appears in the model picker.
  • Confirm Sonnet 4.6 and Opus 4.8 are still selectable and turns run.
  • npm run typecheck passes.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@katinthehatsite katinthehatsite 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.

Looks good 👍

@wpmobilebot

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 69ebb97 vs trunk

app-size

Metric trunk 69ebb97 Diff Change
App Size (Mac) 1328.52 MB 1328.52 MB 0.00 MB ⚪ 0.0%

site-editor

Metric trunk 69ebb97 Diff Change
load 1714 ms 1759 ms +45 ms ⚪ 0.0%

site-startup

Metric trunk 69ebb97 Diff Change
siteCreation 8503 ms 8531 ms +28 ms ⚪ 0.0%
siteStartup 3873 ms 3870 ms 3 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

@katinthehatsite
katinthehatsite merged commit 4b7d14d into trunk Jun 15, 2026
13 checks passed
@katinthehatsite
katinthehatsite deleted the remove-opus-4-7-model branch June 15, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants