Commit cfa6386
committed
fix(daemon): surface Claude 5-generation models in the Claude Code picker (#6529)
CLAUDE_FALLBACK_MODELS stopped at the 4.5 generation, so users whose
~/.config/mms/model-routes.json is absent or stale (the Claude Code CLI
does not currently sync claude-opus-5 into it) cannot pick claude-opus-5
without typing it as a custom model string. Add the claude-opus-5,
claude-sonnet-5 and claude-fable-5 ids to the fallback list.
Also pin the answer to the #6529 AMR question in a regression test:
vela model list --all --format json returns BARE major-only ids for the
5-generation (verified against the live AMR endpoint), which must pass
through normalizeVelaModelId unchanged via the underscore fallback since
the versioned regex requires major AND minor.
Fixes #65291 parent 66004e0 commit cfa6386
2 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
171 | 185 | | |
172 | 186 | | |
173 | 187 | | |
| |||
0 commit comments