Hermes config.yaml:default provider 和 Key 怎么对齐

Hermes 启动就 401 或提示没模型:先看 ~/.hermes/config.yaml

示意图:Hermes config.yaml 的 provider 要和认证一致

30 秒判断

provider 是 nous、anthropic 还是 openai-codex。和 hermes model 当前选择必须一致。

原因

配置文件写着 Portal,环境里却只有一把过期官方 Key,请求会对不上。

处理

  1. hermes model 选你真正要用的线。
  2. Portal:hermes auth add nous
  3. 自备 Key:对应环境变量名,不要混进默认 Portal。

怎么确认好了

发一句最短任务能回。hermes portal info 仅在走 Portal 时需要绿。

验证日期:2026-09-01。网页 / 官方订阅 / 官方 Key / 中转 / 本地 bot 分开查。改完配置请完全退出再开。

赞 (0) 打赏

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏