fix(desktop): preserve named custom model providers - #45075
Closed
ivankhokholkov wants to merge 1 commit into
Closed
fix(desktop): preserve named custom model providers#45075ivankhokholkov wants to merge 1 commit into
ivankhokholkov wants to merge 1 commit into
Conversation
Collaborator
Author
|
Thank you for looking into this.
I’m preparing a YouTube video about using custom LLM providers with Hermes
Desktop, scheduled for release around June 15. The current bug makes this
workflow unusable for viewers because Hermes saves the selected custom
provider as OpenRouter and the Gateway fails.
I’ve confirmed that the provider API and credentials work correctly, and
the proposed fix resolves the issue locally.
If possible, could you please prioritize this fix for the next Desktop
update? It would help me provide viewers with accurate setup instructions
instead of a terminal workaround.
Thank you!
пт, 12 июн. 2026 г. в 20:04, Siddharth Balyan ***@***.***>:
… *alt-glitch* left a comment (NousResearch/hermes-agent#45075)
<#45075 (comment)>
Duplicate of #45069
<#45069> — identical fix
(preserve custom: provider slugs in _normalize_main_model_assignment,
same file hermes_cli/web_server.py); #45069
<#45069> was opened ~9
min earlier.
—
Reply to this email directly, view it on GitHub
<#45075?email_source=notifications&email_token=BVHP3DATNQGH7XMUCWYP7BT47QZ2RA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRZGM2DINZWGUZKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4693447652>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BVHP3DFNKPWFMUXOOOVTAFL47QZ2RAVCNFSNUABGKJSXA33TNF2G64TZHMYTAMRUGU2TIMRWG45US43TOVSTWNBWGUYTANZSGU2TNILWAI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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
custom:polza.aiin the Desktop model assignment APIReproduction
deepseek/deepseek-v4-flash.model.provideris persisted asopenrouter, so Gateway reports missing OpenRouter credentials.Root cause
_normalize_main_model_assignmenttreated every provider absent from the built-in registry as a possible model vendor. Named custom provider slugs are user-defined and therefore absent from that registry, so models containing/caused the provider to be rewritten to the current aggregator or OpenRouter.Verification
pytest tests/hermes_cli/test_web_server.py -q: 274 passedruff check hermes_cli/web_server.py tests/hermes_cli/test_web_server.py: passednpm --prefix apps/desktop run build: passedcustom:polza.aiwith its configured base URL and credential pool