Gendle commited on
Commit
5dfb998
·
verified ·
1 Parent(s): 7759220

Upload config/config.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. config/config.yaml +98 -98
config/config.yaml CHANGED
@@ -1,98 +1,98 @@
1
- # Hermes Agent Configuration
2
- # 默认配置 for Hugging Face Spaces deployment
3
- # 格式来源: cli-config.yaml.example + hermes_cli/config.py
4
-
5
- # 主模型配置
6
- model:
7
- default: "moonshotai/kimi-k2-thinking"
8
- provider: "nvidia"
9
- base_url: "https://integrate.api.nvidia.com/v1"
10
-
11
- # 辅助模型配置 (per-task overrides)
12
- auxiliary:
13
- vision:
14
- provider: "auto"
15
- model: ""
16
- timeout: 120
17
- download_timeout: 30
18
- web_extract:
19
- provider: "auto"
20
- model: ""
21
- timeout: 360
22
- compression:
23
- provider: "auto"
24
- model: ""
25
- timeout: 120
26
- title_generation:
27
- provider: "auto"
28
- model: ""
29
- timeout: 30
30
- session_search:
31
- provider: "auto"
32
- model: ""
33
- timeout: 30
34
- skills_hub:
35
- provider: "auto"
36
- model: ""
37
- timeout: 30
38
- approval:
39
- provider: "auto"
40
- model: ""
41
- timeout: 30
42
- mcp:
43
- provider: "auto"
44
- model: ""
45
- timeout: 30
46
- flush_memories:
47
- provider: "auto"
48
- model: ""
49
- timeout: 30
50
-
51
- # 子代理 (Delegation) 配置
52
- delegation:
53
- model: ""
54
- provider: ""
55
- max_iterations: 50
56
- reasoning_effort: "medium"
57
-
58
- # API Server 配置 (Web UI BFF 的上游代理目标)
59
- api_server:
60
- enabled: true
61
- port: 8642
62
- host: "127.0.0.1"
63
-
64
- # 终端配置
65
- terminal:
66
- backend: local
67
- timeout: 300
68
- shell: /bin/bash
69
-
70
- # 显示配置
71
- display:
72
- skin: default
73
- show_tool_progress: true
74
- show_resume: true
75
- spinner: dots
76
-
77
- # Agent 配置
78
- agent:
79
- max_iterations: 50
80
- approval_mode: ask
81
- dangerous_command_approval: ask
82
- gateway_timeout: 300
83
-
84
- # 记忆配置
85
- memory:
86
- enabled: true
87
- provider: local
88
-
89
- # 压缩配置
90
- # threshold 是比率(0-1),不是 token 数。0.50 = 当上下文使用到模型 context 50% 时触发压缩
91
- compression:
92
- enabled: true
93
- threshold: 0.50
94
-
95
- # 定时任务
96
- cron:
97
- enabled: true
98
- tick_interval: 60
 
1
+ # Hermes Agent Configuration
2
+ # 默认配置 for Hugging Face Spaces deployment
3
+ # 格式来源: cli-config.yaml.example + hermes_cli/config.py
4
+
5
+ # 主模型配置
6
+ model:
7
+ default: "moonshotai/kimi-k2-thinking"
8
+ provider: "nvidia"
9
+ base_url: "https://integrate.api.nvidia.com/v1"
10
+
11
+ # 辅助模型配置 (per-task overrides)
12
+ auxiliary:
13
+ vision:
14
+ provider: "auto"
15
+ model: ""
16
+ timeout: 120
17
+ download_timeout: 30
18
+ web_extract:
19
+ provider: "auto"
20
+ model: ""
21
+ timeout: 360
22
+ compression:
23
+ provider: "auto"
24
+ model: ""
25
+ timeout: 120
26
+ title_generation:
27
+ provider: "auto"
28
+ model: ""
29
+ timeout: 30
30
+ session_search:
31
+ provider: "auto"
32
+ model: ""
33
+ timeout: 30
34
+ skills_hub:
35
+ provider: "auto"
36
+ model: ""
37
+ timeout: 30
38
+ approval:
39
+ provider: "auto"
40
+ model: ""
41
+ timeout: 30
42
+ mcp:
43
+ provider: "auto"
44
+ model: ""
45
+ timeout: 30
46
+ flush_memories:
47
+ provider: "auto"
48
+ model: ""
49
+ timeout: 30
50
+
51
+ # 子代理 (Delegation) 配置
52
+ delegation:
53
+ model: ""
54
+ provider: ""
55
+ max_iterations: 50
56
+ reasoning_effort: "medium"
57
+
58
+ # API Server 配置 (Web UI BFF 的上游代理目标)
59
+ api_server:
60
+ enabled: true
61
+ port: 8642
62
+ host: "127.0.0.1"
63
+
64
+ # 终端配置
65
+ terminal:
66
+ backend: local
67
+ timeout: 300
68
+ shell: /bin/bash
69
+
70
+ # 显示配置
71
+ display:
72
+ skin: default
73
+ show_tool_progress: true
74
+ show_resume: true
75
+ spinner: dots
76
+
77
+ # Agent 配置
78
+ agent:
79
+ max_iterations: 50
80
+ approval_mode: ask
81
+ dangerous_command_approval: ask
82
+ gateway_timeout: 300
83
+
84
+ # 记忆配置
85
+ memory:
86
+ enabled: true
87
+ provider: local
88
+
89
+ # 压缩配置
90
+ # threshold 是比率(0-1),不是 token 数。0.50 = 当上下文使用到模型 context 50% 时触发压缩
91
+ compression:
92
+ enabled: true
93
+ threshold: 0.50
94
+
95
+ # 定时任务
96
+ cron:
97
+ enabled: true
98
+ tick_interval: 60