Files
hermes-agent/hermes_cli
Brooklyn Nicholson f2eb98feae fix(model): split comma-separated fallback chains into picker entries
Providers like the volcengine agent plans declare `default_model` (or a
custom provider's `model:`) as a comma-separated fallback chain. The picker
absorbed it as one opaque id, so the Desktop model switcher showed the whole
chain as a single entry and every selection sent the full string as the model
field, leaving routing to the server.

Fold the split into `_absorb_entry_models` — the chokepoint both `providers:`
(section 3) and `custom_providers:` (section 4) flow through — so every
absorbed entry keeps `_declared_model_ids`' list-of-dict handling while comma
chains expand into individually selectable ids. The raw chain stays first so
the server-side fallback behaviour itself remains the default pick.

Fixes https://github.com/NousResearch/hermes-agent/issues/50557
2026-09-27 18:31:33 -05:00
..
…
…
…
…
…
…
…
…