-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-template.yaml
More file actions
54 lines (44 loc) · 1.65 KB
/
Copy pathconfig-template.yaml
File metadata and controls
54 lines (44 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Hermes Agent 配置模板
# 复制到 ~/.hermes/config.yaml,填入你的 API key
# === 模型配置 ===
model:
default: "mimo-v2.5-pro" # 默认模型
provider: "xiaomi" # 提供商
# base_url: "" # 自定义端点(可选)
# api_key: "" # 在 .env 中设置,不要写在这里
# === Agent 配置 ===
agent:
max_turns: 90 # 最大工具调用轮次
tool_use_enforcement: "auto" # 工具使用策略
# === 终端配置 ===
terminal:
backend: "local" # local / docker / ssh
timeout: 180 # 命令超时(秒)
# === 压缩配置 ===
compression:
enabled: true # 启用上下文压缩
threshold: 0.50 # 压缩触发阈值
target_ratio: 0.20 # 压缩目标比例
# === 记忆配置 ===
memory:
memory_enabled: true # 启用持久记忆
user_profile_enabled: true # 启用用户画像
# === TTS 配置 ===
tts:
provider: "edge" # edge(免费)/ elevenlabs / openai
# === STT 配置 ===
stt:
enabled: true # 启用语音转文字
provider: "local" # local(免费)/ groq / openai
# === 显示配置 ===
display:
skin: "default" # 主题
show_reasoning: false # 显示推理过程
# === 安全配置 ===
security:
redact_secrets: true # 自动脱敏 API key
# === 委派配置 ===
delegation:
max_iterations: 50 # 子任务最大轮次
# model: "claude-sonnet-4" # 子任务用更强的模型(可选)
# provider: "anthropic"