Skip to content

feat: add Fable 5 to Claude model picker#1381

Open
buallen wants to merge 1 commit into
slopus:mainfrom
buallen:feat/add-opus-4-8-fable-5
Open

feat: add Fable 5 to Claude model picker#1381
buallen wants to merge 1 commit into
slopus:mainfrom
buallen:feat/add-opus-4-8-fable-5

Conversation

@buallen

@buallen buallen commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds claude-fable-5 to getClaudeModelModes() in packages/happy-app/sources/components/modelModeOptions.ts so the new model shows up in the mobile/desktop app's Claude model selector
  • Adds claude-fable-5 to the MODELS array in packages/codium/sources/plugins/anthropic/index.ts so codium's Anthropic plugin lists it in its picker

Opus 4.8 was already added in #1363 / a8a4008, but Fable 5 wasn't, so users currently can't pick it from the UI.

Design notes

  • Uses the full model id claude-fable-5 as the option key (rather than a short fable alias). The SDK transparently passes model through (runClaude.ts → Agent SDK), but fable as an alias hasn't been confirmed in the SDK yet, so the full id is safer. Once the SDK gains a fable alias, this can be normalized to match the opus / sonnet / haiku entries.
  • No server-side change is needed — verified that packages/happy-wire/src/messageMeta.ts defines model: z.string().nullable().optional() (open string), and packages/happy-server does not hard-code any Claude model id.

Out of scope

  • packages/happy-cli/src/utils/pricing.ts — Fable 5 pricing isn't published yet; leaving for a follow-up so we don't bake in guessed numbers.
  • packages/codium/sources/agents/catalog.ts — only carries abstract opus / sonnet aliases, no per-version entries to maintain.

Closes #1380

Test plan

  • Open the Happy app, start a Claude session → model picker shows "fable 5" between "default model" and "opus 4.8"
  • Open codium → Anthropic plugin model picker lists "Fable 5" at the top
  • Select Fable 5 in either UI → next user message round-trips through the Agent SDK without a schema/validation error

🤖 Generated with Claude Code

Adds the newly released claude-fable-5 model to both the Happy mobile/desktop
app model picker (modelModeOptions.ts → getClaudeModelModes) and the codium
plugin's Anthropic plugin (plugins/anthropic/index.ts → MODELS).

Uses the full model id "claude-fable-5" as the option key rather than a short
"fable" alias, since SDK alias resolution for Fable hasn't been confirmed.

Closes slopus#1380

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
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.

Add Fable 5 to Claude model picker

1 participant