Skip to content

fix(model-switch): merge configured custom_providers.models#6

Merged
AIalliAI merged 1 commit into
mainfrom
bugfix/issue-59560
Jul 7, 2026
Merged

fix(model-switch): merge configured custom_providers.models#6
AIalliAI merged 1 commit into
mainfrom
bugfix/issue-59560

Conversation

@AIalliAI

@AIalliAI AIalliAI commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Fixes: NousResearch#59560
Pipeline: TRIAGE DONE | IMPLEMENT DONE | VERIFY PASS | REVIEWER APPROVED | SECURITY PASS | OPSEC CLEAR

…d of replacing (fixes NousResearch#59560)

When live /models discovery returns a list from the API, the previous code
replaced the configured models_list entirely with the live_models list.
This caused custom_providers.models entries to be ignored in the Desktop
picker when the endpoint supported /models discovery.

Fix: merge the two lists by keeping all configured models and appending
only live-discovered models whose slug/id is not already present. This
preserves user-configured models while enriching the list with any
additional models the live endpoint reports.

Fixes NousResearch#59560
@AIalliAI
AIalliAI merged commit e743f1b into main Jul 7, 2026
24 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: custom_providers.models list is ignored — combo/9router models are not detected/selectable in Hermes Desktop

1 participant