yun tianming commited on
Commit
8659239
·
verified ·
1 Parent(s): a2a8d76

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. config/config.yaml +46 -0
Dockerfile CHANGED
@@ -43,6 +43,7 @@ WORKDIR /app
43
  # 复制应用代码
44
  COPY src/ /app/src/
45
  COPY entrypoint.sh /app/
 
46
 
47
  # 创建数据目录
48
  RUN mkdir -p /data/.hermes && \
 
43
  # 复制应用代码
44
  COPY src/ /app/src/
45
  COPY entrypoint.sh /app/
46
+ COPY config/config.yaml /data/.hermes/config.yaml
47
 
48
  # 创建数据目录
49
  RUN mkdir -p /data/.hermes && \
config/config.yaml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Hermes Agent Configuration
2
+ # Default configuration for Hugging Face Spaces deployment
3
+
4
+ model:
5
+ provider: openrouter
6
+ name: openrouter/free
7
+ temperature: 0.7
8
+ max_tokens: 4096
9
+ top_p: 0.9
10
+ frequency_penalty: 0.0
11
+ presence_penalty: 0.0
12
+
13
+ terminal:
14
+ backend: local
15
+ timeout: 300
16
+ shell: /bin/bash
17
+
18
+ display:
19
+ skin: default
20
+ show_tool_progress: true
21
+ show_resume: true
22
+ spinner: dots
23
+
24
+ agent:
25
+ max_iterations: 50
26
+ approval_mode: ask
27
+ dangerous_command_approval: ask
28
+ gateway_timeout: 300
29
+
30
+ memory:
31
+ enabled: true
32
+ provider: local
33
+
34
+ compression:
35
+ enabled: true
36
+ threshold: 4000
37
+
38
+ cron:
39
+ enabled: true
40
+ tick_interval: 60
41
+
42
+ delegation:
43
+ max_subagents: 3
44
+ reasoning_effort: medium
45
+
46
+ # Gateway configuration will be auto-detected from environment variables