Skip to content

Revert Fable 5 model from Studio Code agent - #3827

Merged
wojtekn merged 1 commit into
trunkfrom
revert-fable-5-model
Jun 15, 2026
Merged

Revert Fable 5 model from Studio Code agent#3827
wojtekn merged 1 commit into
trunkfrom
revert-fable-5-model

Conversation

@wojtekn

@wojtekn wojtekn commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Related issues

How AI was used in this PR

Authored with Claude Code. It located the affected commits in #3747, reverted the model registry entry, restored the previous default model and the Opus 4.7 entry, and verified the change with eslint and the TypeScript type checker. The author reviewed the change.

Proposed Changes

Reverts the changes from #3747. Fable 5 is no longer available, so removing it prevents users from selecting a model that will fail at request time. This restores the model picker to its prior state:

  • Removes the Fable 5 option from the Studio Code agent model picker.
  • Restores the default model to Sonnet 4.6 (it had been switched to Fable 5).
  • Restores the Opus 4.7 option that Add Fable 5 model to Studio Code agent #3747 had removed.

Testing Instructions

  • Open the Studio Code agent chat composer and confirm Fable 5 no longer appears in the model picker, and Opus 4.7 is present again.
  • Confirm new sessions default to Sonnet 4.6.
  • 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>

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

Thanks @wojtekn for reverting this, as Fable is no longer available! I have tested starting a new session and resuming an existing Fable session, and both work as expected. They select the default model. Changes LGTM!

New session Existing session
Image Image

@sejas sejas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for removing Fable 5.

@sejas

sejas commented Jun 15, 2026

Copy link
Copy Markdown
Member

As next iteration, we could consider creating an endpoint to load the valid models. 🤔

Comment thread tools/common/ai/models.ts
// reasoning turns.
export const AI_MODELS = [
{ id: 'claude-sonnet-4-6', label: 'Sonnet 4.6', family: 'anthropic' },
{ id: 'claude-opus-4-7', label: 'Opus 4.7', family: 'anthropic' },

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.

I think it's fine to leave this one out

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I see that now, I will remove in follow-up.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Removed in #3828

@wpmobilebot

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 8da2417 vs trunk

app-size

Metric trunk 8da2417 Diff Change
App Size (Mac) 1328.52 MB 1328.52 MB +0.00 MB ⚪ 0.0%

site-editor

Metric trunk 8da2417 Diff Change
load 1769 ms 1788 ms +19 ms ⚪ 0.0%

site-startup

Metric trunk 8da2417 Diff Change
siteCreation 8513 ms 8506 ms 7 ms ⚪ 0.0%
siteStartup 3876 ms 3878 ms +2 ms ⚪ 0.0%

Results are median values from multiple test runs.

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

@wojtekn
wojtekn merged commit 220db40 into trunk Jun 15, 2026
14 checks passed
@wojtekn
wojtekn deleted the revert-fable-5-model branch June 15, 2026 07:37
katinthehatsite pushed a commit that referenced this pull request Jun 15, 2026
## Related issues

- Related to #3747

## How AI was used in this PR

Authored with Claude Code. It located the affected commits in #3747,
reverted the model registry entry, restored the previous default model
and the Opus 4.7 entry, and verified the change with eslint and the
TypeScript type checker. The author reviewed the change.

## Proposed Changes

Reverts the changes from #3747. Fable 5 is no longer available, so
removing it prevents users from selecting a model that will fail at
request time. This restores the model picker to its prior state:

- Removes the **Fable 5** option from the Studio Code agent model
picker.
- Restores the default model to **Sonnet 4.6** (it had been switched to
Fable 5).
- Restores the **Opus 4.7** option that #3747 had removed.

## Testing Instructions

- Open the Studio Code agent chat composer and confirm **Fable 5** no
longer appears in the model picker, and **Opus 4.7** is present again.
- Confirm new sessions default to **Sonnet 4.6**.
- `npm run typecheck` passes.

## Pre-merge Checklist

- [x] Have you checked for TypeScript, React or other console errors?

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

5 participants