Skip to content

Add Fable 5 model to Studio Code agent - #3747

Merged
youknowriad merged 3 commits into
trunkfrom
claude/vigorous-mclaren-f166c2
Jun 10, 2026
Merged

Add Fable 5 model to Studio Code agent#3747
youknowriad merged 3 commits into
trunkfrom
claude/vigorous-mclaren-f166c2

Conversation

@youknowriad

Copy link
Copy Markdown
Contributor

Related issues

  • Related to #

How AI was used in this PR

Authored with Claude Code. I located the central model registry, added the new entry, and verified the change with eslint and the TypeScript type checker. The author reviewed the change.

Proposed Changes

Enables the Fable 5 model in the Studio Code agent. It now appears as a selectable option in the chat model picker alongside the existing Anthropic and OpenAI models. Because the model registry is centralized, this single registry entry propagates automatically to the model picker, provider availability lists, the agent runtime (served via the Anthropic-messages path with reasoning enabled), and session model persistence/validation.

It is not the default model — users opt into it via the picker.

Note: the upstream wire id is claude-fable-5, following the existing claude-<name>-<n> convention. If the real provider identifier differs, that value should be corrected — a mismatch would surface at request time rather than compile time.

Testing Instructions

  • Open the Studio Code agent chat composer and confirm Fable 5 appears in the model picker.
  • Select it and confirm a turn runs (served through the Anthropic runtime).
  • npm run typecheck passes.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?
@wpmobilebot

wpmobilebot commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing ce88b07 vs trunk

app-size

Metric trunk ce88b07 Diff Change
App Size (Mac) 1358.04 MB 1358.03 MB 0.01 MB ⚪ 0.0%

site-editor

Metric trunk ce88b07 Diff Change
load 1647 ms 1661 ms +14 ms ⚪ 0.0%

site-startup

Metric trunk ce88b07 Diff Change
siteCreation 9063 ms 9052 ms 11 ms ⚪ 0.0%
siteStartup 4416 ms 4422 ms +6 ms ⚪ 0.0%

Results are median values from multiple test runs.

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

Registers claude-fable-5 (Anthropic family) in the central AI model
registry so it appears in the Studio Code agent's model picker.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@youknowriad
youknowriad force-pushed the claude/vigorous-mclaren-f166c2 branch from bfae108 to 5308342 Compare June 9, 2026 20:17

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

LGTM! Although we might need to enforce limits pretty soon!
I wouldn't remove the rest of models. The only one I would remove is Opus 4.7 because users can use Opus 4.8 which costs the same and is more capable.

youknowriad and others added 2 commits June 10, 2026 14:26
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

@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 the changes! 🤞

@youknowriad
youknowriad enabled auto-merge (squash) June 10, 2026 12:40
@youknowriad
youknowriad merged commit b95380e into trunk Jun 10, 2026
11 checks passed
@youknowriad
youknowriad deleted the claude/vigorous-mclaren-f166c2 branch June 10, 2026 12:55
wojtekn added 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>
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

3 participants