From 84b6b4e11aa17ca291a95838af437040edd378d0 Mon Sep 17 00:00:00 2001 From: uiyzzi Date: Thu, 26 Mar 2026 01:10:42 +0800 Subject: [PATCH] Update multi-message output instructions in agent context --- pkg/agent/context.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkg/agent/context.go b/pkg/agent/context.go index ae8296430..c3fcc9fff 100644 --- a/pkg/agent/context.go +++ b/pkg/agent/context.go @@ -165,13 +165,10 @@ The following skills extend your capabilities. To use a skill, read its SKILL.md // Multi-Message Sending (if enabled) if cb.splitOnMarker { - parts = append(parts, `# Multi-Message Sending + parts = append(parts, `# MULTI-MESSAGE OUTPUT +You MUST frequently use <|[SPLIT]|> to break your responses into multiple short messages. NEVER output a single long wall of text. Actively split distinct concepts or parts. Example: Message part 1<|[SPLIT]|>Message part 2<|[SPLIT]|>Message part 3 -When you want to send multiple separate messages in a single response, you can use the special marker "<|[SPLIT]|>" to separate them. For example: - -Message part 1<|[SPLIT]|>Message part 2<|[SPLIT]|>Message part 3 - -Each part separated by the marker will be sent as an independent message. Use this to break up long responses or when you want to send multiple distinct pieces of information.`) +Each part separated by the marker will be sent as an independent message.`) } // Join with "---" separator