feat: add Fable 5 to Claude model picker#1381
Open
buallen wants to merge 1 commit into
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
claude-fable-5togetClaudeModelModes()inpackages/happy-app/sources/components/modelModeOptions.tsso the new model shows up in the mobile/desktop app's Claude model selectorclaude-fable-5to theMODELSarray inpackages/codium/sources/plugins/anthropic/index.tsso codium's Anthropic plugin lists it in its pickerOpus 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
claude-fable-5as the option key (rather than a shortfablealias). The SDK transparently passesmodelthrough (runClaude.ts→ Agent SDK), butfableas an alias hasn't been confirmed in the SDK yet, so the full id is safer. Once the SDK gains afablealias, this can be normalized to match theopus/sonnet/haikuentries.packages/happy-wire/src/messageMeta.tsdefinesmodel: z.string().nullable().optional()(open string), andpackages/happy-serverdoes 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 abstractopus/sonnetaliases, no per-version entries to maintain.Closes #1380
Test plan
🤖 Generated with Claude Code