curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
hermes setup
nano ~/.hermes/config.yaml
hermes model
hermes config set model.base_url "https://ark.cn-beijing.volces.com/api/plan/v3/v1"
hermes doctor
hermes chat -q "你好，测试工具调用"
curl https://ark.cn-beijing.volces.com/api/plan/v3/v1/chat/completions   -H "Authorization: Bearer ark-834025ab-553b-4bb5-a8f6-aa2105524388-3c2e9"   -H "Content-Type: application/json"   -d '{
    "model":"agent-plan",
    "messages":[{"role":"user","content":"hi"}]
}'
hermes chat -q "你好，测试工具调用"
# 清空旧配置
hermes config unset model.provider
hermes config unset model.base_url
hermes config unset model.api_key
hermes config unset model.name
hermes config unset model.api_mode
# 写入火山方舟Agent Plan全套参数
hermes config set model.provider custom
hermes config set model.base_url "https://ark.cn-beijing.volces.com/api/plan/v3"
hermes config set model.api_key "ark-834025ab-553b-4bb5-a8f6-aa2105524388-3c2e9"
hermes config set model.name "Doubao-Seed-2.0-lite"
hermes config set model.api_mode chat_completions
# 查看最终配置
hermes config show
hermes config set model.default "Doubao-Seed-2.0-lite"
hermes config show
hermes chat -q "你好，测试工具调用"
hermes model
hermes config set model.name "agent-plan"
hermes chat -q "你好，测试工具调用"
