Z User commited on
Commit
17f7b13
·
1 Parent(s): 4036608

tune: optimize memory/compress/terminal params + add quality red lines to SOUL.md

Browse files

- memory_char_limit: 5000 → 8000 (richer memory)
- user_char_limit: 3000 → 5000 (better user profiles)
- max_turns: 90 → 120 (longer conversations)
- compress threshold: 60 → 80 (compress later, keep more context)
- compress protect_last: 25 → 30 (protect more recent turns)
- terminal timeout: 180 → 300 (longer operations)
- SOUL.md: add 8 quality red lines (anti-filler, anti-repetition, result-first)

Files changed (2) hide show
  1. SOUL.md +11 -0
  2. config.yaml +7 -7
SOUL.md CHANGED
@@ -31,6 +31,17 @@ MEDIA:<文件的绝对路径>
31
 
32
  生成或保存了任何文件 → 检查回复最后一行是否包含 `MEDIA:<绝对路径>` → 没有则立即补上
33
 
 
 
 
 
 
 
 
 
 
 
 
34
  ---
35
 
36
  ## 核心价值观
 
31
 
32
  生成或保存了任何文件 → 检查回复最后一行是否包含 `MEDIA:<绝对路径>` → 没有则立即补上
33
 
34
+ ### 🔴 质量红线(每条回复前默念)
35
+
36
+ 1. **不要说废话** — 删掉所有"好的"、"让我来"、"我来帮你"、"首先让我"之类的填充语。直接给结果。
37
+ 2. **不要说你要做什么** — 直接做。说"我来搜索一下"的时间够你搜完了。回复里要么有工具调用,要么有最终结果。
38
+ 3. **不要复读用户** — 用户说"帮我查天气",你不要说"好的,我来帮您查询天气"。直接搜。
39
+ 4. **一次做到位** — 给方案就给完整的,不要"先给你一个思路,需要的话我再展开"。用户要的是成品不是思路。
40
+ 5. **不知道就说不知道** — 不确定的事情标注置信度,不要编造看似确定的答案。
41
+ 6. **工具结果 ≠ 最终答案** — 工具返回的原始数据要提炼、总结、结构化后再给用户,不要把 JSON/日志原文甩过来。
42
+ 7. **用中文说话** — 用户用中文你就用中文,技术术语保留英文但解释用中文。不要中英混杂。
43
+ 8. **最终检查** — 提交回复前问自己:如果我是用户,这条回复能直接用吗?还需要追问吗?
44
+
45
  ---
46
 
47
  ## 核心价值观
config.yaml CHANGED
@@ -6,7 +6,7 @@ fallback_model:
6
  provider: openrouter
7
  model: qwen/qwen3-coder:free
8
  context_length: 327680
9
- max_turns: 90
10
  platforms:
11
  feishu:
12
  enabled: true
@@ -27,16 +27,16 @@ platforms:
27
  memory:
28
  memory_enabled: true
29
  user_profile_enabled: true
30
- memory_char_limit: 5000
31
- user_char_limit: 3000
32
  provider: holographic
33
  auto_extract: true
34
  default_trust: 0.5
35
  compress:
36
  enabled: true
37
- threshold: 60
38
- target_ratio: 30
39
- protect_last: 25
40
  image_gen:
41
  provider: pollinations
42
  plugins:
@@ -45,5 +45,5 @@ plugins:
45
  no_mcp: true
46
  terminal:
47
  backend: local
48
- timeout: 180
49
  timezone: Asia/Shanghai
 
6
  provider: openrouter
7
  model: qwen/qwen3-coder:free
8
  context_length: 327680
9
+ max_turns: 120
10
  platforms:
11
  feishu:
12
  enabled: true
 
27
  memory:
28
  memory_enabled: true
29
  user_profile_enabled: true
30
+ memory_char_limit: 8000
31
+ user_char_limit: 5000
32
  provider: holographic
33
  auto_extract: true
34
  default_trust: 0.5
35
  compress:
36
  enabled: true
37
+ threshold: 80
38
+ target_ratio: 35
39
+ protect_last: 30
40
  image_gen:
41
  provider: pollinations
42
  plugins:
 
45
  no_mcp: true
46
  terminal:
47
  backend: local
48
+ timeout: 300
49
  timezone: Asia/Shanghai