reduce hardcoded agent text via config-driven prompts and recall keywords

This commit is contained in:
DBT
2026-02-23 15:57:33 +00:00
parent 8cafd2e66e
commit 6431f5792d
7 changed files with 80 additions and 30 deletions

View File

@@ -10,7 +10,13 @@
"heartbeat": {
"enabled": true,
"every_sec": 1800,
"ack_max_chars": 64
"ack_max_chars": 64,
"prompt_template": "Read HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK."
},
"texts": {
"no_response_fallback": "I've completed processing but have no response to give.",
"think_only_fallback": "Thinking process completed.",
"memory_recall_keywords": ["remember", "记得", "上次", "之前", "偏好", "preference", "todo", "待办", "决定", "decision"]
},
"context_compaction": {
"enabled": true,