Hermes
把 bInference 设为 Hermes Agent 的自定义接口。
运行 hermes model,选择 Custom endpoint,然后输入:
- Base URL:
https://binference.io/api/v1 - API key: 你的
binf_密钥 - Model: 模型页面中的任意 id,比如
anthropic/claude-sonnet-5.5
也可以在 ~/.hermes/config.yaml 中设置,从环境变量读取密钥:
model:
default: anthropic/claude-sonnet-5.5
provider: custom
base_url: https://binference.io/api/v1
key_env: BINF_API_KEYHermes 以流式输出的方式调用 Chat Completions,所以这里的每个模型和每项功能它都能用。