Hermes Agent 是一个运行时,而非典型的 BYOK 聊天 UI。请将此集成视为连接两个系统(Hermes → Tokios),而非配置聊天应用。
前提条件
- 一个正在运行的 Tokios 连接器,已与您的本地模型配对 — 参见 连接器安装
- 一个已注册的模型部署名称 — 参见 注册模型
- 一个 Tokios API 密钥(
sk-tok-…) — 参见 API 密钥 - 已安装 Hermes Agent
配置 Hermes Agent 的后端提供商
Hermes 从~/.hermes/config.yaml 读取其后端提供商设置。提供商键位于 顶层 model: 映射下 — 它们本身不是顶层键:
~/.hermes/config.yaml
Replace
gemma-tunnel with the public deployment name you registered on the Models tab — not the local model id your backend (Ollama, llama.cpp, vLLM, or LM Studio) uses. Replace sk-tok-YOUR_KEY with your own key, and avoid committing it into a shared or version-controlled config file.hermes model 交互式流程的确切措辞和提示可能因 Hermes Agent 版本而异,因此请检查你自己的版本。
故障排除
401 错误
401 错误
Hermes 发送的 API 密钥缺失、格式错误或已被撤销。确认
api_key 在 config.yaml 中保存了完整的 sk-tok-… 密钥且没有多余空格,并在 Keys 选项卡上检查其状态。404 错误
404 错误
The
model value doesn’t match a registered deployment. Confirm it exactly matches the public name on the Models tab — not your Ollama, llama.cpp, vLLM, or LM Studio local model id.503 错误
503 错误
该部署的连接器处于离线状态或已达到并发上限。检查 Connectors 选项卡 — 连接器需要显示为 Online,并且运行它的机器仍需在线且可访问。
后续步骤
快速入门
设置连接器并注册你的首个模型部署。
兼容客户端
查看适用于其他 OpenAI 和 Anthropic 兼容客户端的基础 URL 和密钥设置。