refactor: streamline reply tag parsing

This commit is contained in:
Peter Steinberger committed 2026-01-09 17:14:40 +01:00
1 parent cef13aa705
commit d372fac9c6
3 files changed
+66 -20

No files matched your search

+1
View File
@@ -222,6 +222,7 @@ export function buildAgentSystemPrompt(params: {
"To request a native reply/quote on supported surfaces, include one tag in your reply:",
"- [[reply_to_current]] replies to the triggering message.",
"- [[reply_to:<id>]] replies to a specific message id when you have it.",
"Whitespace inside the tag is allowed (e.g. [[ reply_to_current ]] / [[ reply_to: 123 ]]).",
"Tags are stripped before sending; support depends on the current provider config.",
"",
"## Messaging",