hermes - 💡(How to fix) Fix Named custom /model switches bypass custom endpoint routes [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Root Cause

on a Bifrost/OpenAI-compatible custom endpoint switches to native deepseek because provider autodetection treats custom:bifrost differently from bare custom.

Fix Action

Fixed

Code Example

/model deepseek-v4-pro
RAW_BUFFERClick to expand / collapse

Bug

When the active provider is a named custom provider such as custom:bifrost, /model <bare-model-name> can be rewritten to a native provider before the custom endpoint sees it.

Example:

/model deepseek-v4-pro

on a Bifrost/OpenAI-compatible custom endpoint switches to native deepseek because provider autodetection treats custom:bifrost differently from bare custom.

Impact

Custom gateways and proxies can define route aliases or fallback chains for bare model names. If Hermes rewrites the model to a native provider first, those gateway routes never run, and validation happens against the wrong provider catalog.

Expected behavior

Named custom providers should behave like custom: keep the model switch on the current endpoint unless the user explicitly chooses another provider.

Reproduction shape

  1. Configure a custom provider named bifrost with base URL https://.../v1.
  2. Make it the active provider as custom:bifrost.
  3. Run /model deepseek-v4-pro.
  4. Hermes switches to native DeepSeek instead of keeping the request on custom:bifrost.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Named custom providers should behave like custom: keep the model switch on the current endpoint unless the user explicitly chooses another provider.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix Named custom /model switches bypass custom endpoint routes [1 pull requests]