- 新增 01-nvm-node.md: nvm 安装、Node.js LTS 管理、全局包安装 - 原 01-09 顺延为 02-10 - 更新 SKILL.md checklist 表格 - 更新各子文档标题编号和前置引用 - self-check.sh: 加入 nvm/node 检查项,补充邮箱检查 [小糯]
46 lines
843 B
Markdown
46 lines
843 B
Markdown
# 09. Hermes 基础配置
|
|
|
|
## 检查
|
|
|
|
确认 Hermes 配置文件存在:
|
|
|
|
ls ~/.hermes/config.yaml
|
|
|
|
查看内容确认关键字段:
|
|
|
|
cat ~/.hermes/config.yaml
|
|
|
|
✅ 达标:config.yaml 存在,且包含以下必要配置
|
|
|
|
## 必要配置项
|
|
|
|
config.yaml 应包含:
|
|
|
|
1. **provider / model** — LLM 提供商和模型
|
|
2. **telegram** — bot token 和 home channel(如果用 Telegram)
|
|
3. **memory** — 应有 user profile 和 agent notes
|
|
|
|
### 示例结构
|
|
|
|
```yaml
|
|
provider: custom
|
|
model: claude-opus-4.6
|
|
custom:
|
|
api_key: "..."
|
|
base_url: "http://..."
|
|
|
|
telegram:
|
|
bot_token: "..."
|
|
home_channel: "..."
|
|
```
|
|
|
|
## 安装
|
|
|
|
如果 config.yaml 不存在或缺少字段,联系主人获取配置信息。
|
|
|
|
Hermes 本身的安装参考官方文档:https://github.com/nousresearch/hermes-agent
|
|
|
|
## 验证
|
|
|
|
hermes --version
|