fix(messages): restore explicit responsePrefix default

This commit is contained in:
Peter Steinberger committed 2026-01-09 19:18:34 +00:00
1 parent 237480ed9b
commit 72b0777341
7 files changed
+14 -15

No files matched your search

+1 -2
View File
@@ -937,8 +937,7 @@ See [Messages](/concepts/messages) for queueing, sessions, and streaming context
`responsePrefix` is applied to **all outbound replies** (tool summaries, block
streaming, final replies) across providers unless already present.
If `messages.responsePrefix` is unset and the routed agent has `identity.name`
set, Clawdbot defaults the prefix to `[{identity.name}]`.
If `messages.responsePrefix` is unset, no prefix is applied by default.
If `messages.messagePrefix` is unset, the default stays **unchanged**:
`"[clawdbot]"` when `whatsapp.allowFrom` is empty, otherwise `""` (no prefix).