Hermes Provider Not Synced to config.yaml - Claude Code
Quick fix
After enabling Hermes, copy its provider configuration from the CC Switch database to config.yaml and add the API key and base_url.
Symptom
Section titled “Symptom”当我通过 CC Switch 启用 Hermes 提供商时,只有 model: 块被更新,而 providers: 块却保持为空。这会导致 Hermes 无法找到 API 密钥和 base_url,从而出错。When I enable the Hermes provider through CC Switch, only the model: block is updated, while the providers: block remains empty. This causes Hermes to fail because it cannot find the API key and base_url.
The report states that enabling the Hermes provider in CC Switch updated only the model: block while the providers: block remained empty. As a result, Hermes could not read the API key and base_url. The expected behavior was to write the relevant content to ~/.hermes/config.yaml.
The original post recorded a working temporary workaround: copy the provider configuration from the CC Switch database to config.yaml. This issue is closed, but the maintainer only said it duplicated #5142 and recommended following that main issue; the input provides no verified official fix or fix version.
Copy the Hermes provider configuration from the CC Switch database to config.yaml so the providers: block contains the API key and base_url.
Follow the maintainer-designated main issue #5142 for fix progress; this report provides no verifiable official fix.
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”This page is distilled from 1 real issues
(No FAQ yet)
Related problems
Section titled “Related problems”This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.