hermes - 💡(How to fix) Fix Bug: WebUI 切换模型后 provider 被重置为 custom/main,自定义 provider 不可用 Bug: WebUI model switch resets provider to custom/main for custom providers with sub-names (e.g., custom:company-model) [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…

Error Message

错误日志 / Error log: ERROR: RuntimeError: No LLM provider configured. Run hermes model to select a provider

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

描述 / Description: 在 WebUI 中切换模型后,Gateway 报错:resolve_provider_client: custom/main requested but no endpoint credentials found,模型无法使用。但在终端中通过 hermes model 重新选择后即可恢复。

配置 / Config: provider: custom:company-model custom_providers:

复现步骤 / Steps to reproduce:

  1. 配置自定义 provider(如 custom:company-model)
  2. 启动 Gateway
  3. 在 WebUI 的模型选择中切换模型
  4. 报错:No LLM provider configured

错误日志 / Error log: WARNING agent.auxiliary_client: resolve_provider_client: custom/main requested but no endpoint credentials found ERROR: RuntimeError: No LLM provider configured. Run hermes model to select a provider ...

预期行为 / Expected behavior: WebUI 切换模型后应保留原有的 provider 名称(如 custom:company-model),而非重置为 custom/main

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…

Still need to ship something?

×6

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

Back to top recommendations

TRENDING