基础配置
配置文件位置
Hermes 配置文件位于:
~/.hermes/config.yaml
基本配置
模型配置
model:
provider: openrouter
name: claude-3-sonnet
temperature: 0.7
工具配置
tools:
enabled:
- terminal
- browser
- file
- web
平台集成
platforms:
feishu:
enabled: true
app_id: YOUR_APP_ID
app_secret: YOUR_APP_SECRET
dingtalk:
enabled: true
app_id: YOUR_APP_ID
app_secret: YOUR_APP_SECRET
环境变量
创建 ~/.hermes/.env 文件:
OPENROUTER_API_KEY=your_api_key
FEISHU_APP_ID=your_app_id
FEISHU_APP_SECRET=your_app_secret
验证配置
hermes config validate