🤖 feat: promote Claude Mythos 5.1 as the mythos model (DO NOT MERGE until GA) - #3991
Open
ThomasK33 wants to merge 1 commit into
Open
🤖 feat: promote Claude Mythos 5.1 as the mythos model (DO NOT MERGE until GA)#3991ThomasK33 wants to merge 1 commit into
ThomasK33 wants to merge 1 commit into
Conversation
Pre-release prep, twin of the Fable 5.1 promotion on mike/fable-5-1-drop: flips MYTHOS to claude-mythos-5-1, retains the Mythos 5 metadata/tokenizer as a custom model string, and pins the Mythos-class wildcard behavior for the new id. DO NOT MERGE until Anthropic announces Mythos 5.1.
Member
Author
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Security review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
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
Prepares Xum for a rumored Claude Mythos 5.1 drop: promotes Mythos 5.1 (
anthropic:claude-mythos-5-1) to theMYTHOSknown model, so themythosalias and model picker route to the new id. Mythos 5 stays usable as the custom model stringanthropic:claude-mythos-5and keeps its metadata entry and tokenizer approximation. This is the Mythos twin of the Fable 5.1 promotion (#3988) and is stacked onmike/fable-5-1-drop.Important
Merge gate: hold until Anthropic officially announces Mythos 5.1, then verify the assumptions below against the announcement before merging. Nothing is announced yet — merging early would break
mythos-alias sends (the API id would not exist yet).Background
Fable 5 and Mythos 5 shipped together in ba36c81; the Fable 5.1 prep (#3988) covers only the Fable side. This PR is the forgotten Mythos counterpart, prepared ahead of any announcement so a reviewer can fix the numbers in five minutes when the real spec lands. Sibling PRs prep Opus 5.1 (
opus-51-prep) and Sonnet 5.1 (sonnet-51-prep) on the same stack.Assumptions (every one is a guess — verify on announcement day)
claude-mythos-5-1— invented by analogy toclaude-fable-5-1(🤖 feat: promote Claude Fable 5.1 as the fable model #3988) and the dateless dash convention of the 5 generation.low…max) with nativexhigh, adaptive thinking only (disabled thinking rejected, "off" clamps to "low") — copied from Mythos 5 via the existingclaude-(?:fable|mythos)-wildcard matchers.anthropic/claude-opus-4.5) — copied from Mythos 5 / Fable 5.1; the real Mythos-class tokenizer is unpublished, so counts can run ~1.0–1.3× low.Implementation
Mirrors #3988 surface-for-surface, adapted to Mythos:
knownModels.ts:MYTHOS→claude-mythos-5-1(keeps themythosalias; stays unwarmed since most users cannot access it and its tokenizer override is already warmed via FABLE).LEGACY_TOKENIZER_MODEL_OVERRIDESretainsanthropic:claude-mythos-5→ Opus 4.5 approximation, exactly like the retiredclaude-fable-5/claude-opus-4-8ids.models-extra.ts: newclaude-mythos-5-1pricing/limits entry; the Mythos 5 entry is retained.models.ts:claude-mythos-5-1added to the native-1M patterns, anchored like Mike's (^claude-mythos-5-1+ optional date suffix) because the existing^claude-mythos-5pattern tolerates date suffixes but not a-1minor.anthropicSupportsNativeXhigh,anthropicRejectsDisabledThinking) and native web-fetch id parsing already match the new id; tests now pin that.make fmt+generate-builtin-skills.sh), not hand-edited.Deliberate omissions vs #3988
defaultModelFallbacksSeededMythos51migration flag and no config.ts/appConfigOnDisk.ts changes:DEFAULT_MODEL_FALLBACKShas no Mythos source key — the refusal-fallback chain exists because Fable's safeguards refuse requests Opus can serve, and Mythos (safeguards lifted) never had a default chain to re-seed. Adding one would invent new default behavior beyond the promotion; adding only the flag would be dead code. Because this PR does not touch the migrations schema, it trivially coexists withdefaultModelFallbacksSeededFable51and the Opus/Sonnet flags from the sibling preps, and downgrade behavior is unchanged.mythosalias (audited; the Fable one Mike updated was the only alias-pinning fixture).Every
fable-5-1touchpoint on Mike's branch was grepped and either mirrored or listed above as deliberately omitted; remainingclaude-mythos-5references in production code are the intentional legacy entries (metadata, tokenizer override, 1M pattern for the old id) plus comments.Validation
Mythos 5.1), 5-level thinking policy with off-clamp, provider options (adaptive + summarized display, no disabled thinking), and native web-fetch support.make static-checkgreen; targeted suites (models,modelDisplay,policy,providerOptions,tools: 360 tests) andconfig.test.ts(174 tests, confirming the untouched seed machinery) pass.Risks
Low while gated: additive registry/metadata changes only. The main user-visible effect after merge is that the
mythosalias and picker route to Mythos 5.1; until the model exists at the API, such sends would fail — which is why the merge gate matters. Existing Mythos 5 selections keep working as custom model strings with unchanged token accounting (the legacy tokenizer override resolves to the same Opus 4.5 approximation). If the announced spec differs, the fix is confined to theclaude-mythos-5-1entry inmodels-extra.tsand theMYTHOSdefinition inknownModels.ts.Generated with
xum• Model:anthropic:claude-fable-5• Thinking:xhigh