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

30 秒判断
provider 是 nous、anthropic 还是 openai-codex。和 hermes model 当前选择必须一致。
原因
配置文件写着 Portal,环境里却只有一把过期官方 Key,请求会对不上。
处理
hermes model选你真正要用的线。- Portal:
hermes auth add nous。 - 自备 Key:对应环境变量名,不要混进默认 Portal。
怎么确认好了
发一句最短任务能回。hermes portal info 仅在走 Portal 时需要绿。
验证日期:2026-09-01。网页 / 官方订阅 / 官方 Key / 中转 / 本地 bot 分开查。改完配置请完全退出再开。

AI故障手册