Repository navigation
fix(catalog): ship a complete static fallback model list - #15
Conversation
TheStreamCode
left a comment
There was a problem hiding this comment.
Reviewed and verified. The reasoning holds: hermes_cli/models.py merges the curated list with the live results (_merge_unique, curated-first for non-_LIVE_FIRST_PICKER_PROVIDERS), so the ids are deduplicated when discovery works and serve as the floor when it does not. The list also matches the chat ids the sibling openclaw-muse-code static catalog pins, with muse-wonder-full-1.0 excluded as described.
Locally on this branch: pytest -q 50 passed, validate-plugin.py PASS, ruff check clean. Workflows approved here, CI green (unit, validate, markdownlint).
One follow-up I am handling in a separate change rather than blocking this: the README never explains what the *-contributor ids mean, and the fallback now puts them in front of users in the degraded path. The plugin deliberately avoids opting background work into the contributor tier, so the picker should say what selecting one implies.
The fallback list added in #15 puts the `*-contributor` ids in front of users in the degraded path, and the README never said what they mean. Document the fallback (and the deliberate absence of muse-wonder-full-1.0) under Features, and add a Privacy and security note on the training-data trade-off and on background work inheriting the chosen model.
Summary
fallback_modelswas a single id (muse-spark-1.3). When the live catalog probe cannot run, the model picker shows only the fallback ids, so every other subscription model was unselectable in that state - on this account the picker rendered "Could not load models" and the Settings -> Model Apply step could not be completed.GET /v1/modelsreturns on a standard Muse Code subscription. When discovery succeeds, Hermes prepends this curated list ahead of the live results, so these ids always appear.muse-wonder-full-1.0(Power/Maximum tier) is deliberately excluded so the fallback never advertises a model most subscribers cannot use.Validation
python -m pytest -q(48 passed on the patched tree; the 2 failures seen locally are pre-existing environmental failures that also fail on unpatched upstream on that machine - it imports hermes, so_HERMES_AVAILABLEis True wheretest_importable_without_hermes_runtimeexpects a bare-import failure)python .github/scripts/validate-plugin.py --path .(PASS)Compatibility and Security