放宽自动回复长度为自然浮动并统一30字上限

This commit is contained in:
liuwei
2026-04-24 15:24:48 +08:00
parent 66b0fe16da
commit ee1532b2f5
4 changed files with 40 additions and 24 deletions

View File

@@ -56,16 +56,20 @@ memory_lookback_days = 180
active_context_hours = 8
[reply]
social_short_char_limit = 12
social_short_total_limit = 12
qa_fast_char_limit = 18
qa_fast_total_limit = 18
# 回复长度改成“下限放开、上限约束”的思路:
# 1. 允许模型只回几个字,避免每句都被逼着凑满;
# 2. 统一把本地最终兜底上限放到 30 字,给一句完整观点留空间;
# 3. qa_with_context 仍保留 2 句能力,但总字数同样压住,不让它长成说明文。
social_short_char_limit = 30
social_short_total_limit = 30
qa_fast_char_limit = 30
qa_fast_total_limit = 30
qa_with_context_sentence_limit = 2
qa_with_context_chunk_limit = 2
qa_with_context_char_limit = 16
qa_with_context_total_limit = 28
default_char_limit = 12
default_total_limit = 12
qa_with_context_char_limit = 18
qa_with_context_total_limit = 30
default_char_limit = 30
default_total_limit = 30
[prompt_compact]
group_profile_max_chars = 220