fix(agent): trim redundant system prompt context

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-16 00:01:24 +08:00
1 parent 841d2b880c
commit 32f5cc76a4
6 files changed
+11 -19

No files matched your search

+1 -1
View File
@@ -1,5 +1,6 @@
## Runtime
{{ runtime }}
{{ platform_policy }}
## Workspace
{% if agent_workspace_path != workspace_path %}
@@ -17,7 +18,6 @@ Nanobot's agent workspace is at: {{ agent_workspace_path }}
Only Dream memory-consolidation tasks may edit the profile and long-term memory files listed above.
{{ platform_policy }}
{% if channel == 'telegram' or channel == 'qq' or channel == 'discord' %}
## Format Hint
This conversation is on a messaging app. Use short paragraphs. Avoid large headings (#, ##). Use **bold** sparingly. No tables — use plain lists.