标题生成

This commit is contained in:
xuhd committed 2026-05-19 16:30:41 +08:00
1 parent 9f86c8e40d
commit c0ea0b0f5a
1 file changed
+14
+14
View File
@@ -73,6 +73,20 @@ tools:
sandbox:
use: deerflow.sandbox.local:LocalSandboxProvider
allow_host_bash: true
title:
enabled: true
max_words: 6
max_chars: 60
prompt_template: |
请为下面这段对话生成一个简洁的标题,概括对话的核心主题。
要求:
- 标题必须使用简体中文
- 尽量精炼,不超过 {max_words} 个词
- 只返回标题本身,不要加引号、不要解释、结尾不要标点
User: {user_msg}
Assistant: {assistant_msg}
skills:
path: /app/skills
agents_api: