Output Markers
Markers in a reply that change how Telegram and Discord deliver it.
Output text from any tool or LLM response is post-processed for these markers:
| Marker | Behavior |
|---|---|
[SEND_FILE:<path>] |
Channel runtime auto-attaches the file (Telegram → photo/document split by ext, Discord → unified SendFiles batched 10/msg) |
[SEND_VOICE:<text>] was removed along with channel voice output — Telegram and Discord no longer synthesize replies on their own. Speech synthesis is the generate_audio tool, which writes a file; since v1.0.13 an attached .ogg / .oga / .opus file is posted to Telegram as a voice note through SendVoice, while every other extension stays a document.
Marker regex + dedupe + os.Stat filtering lives in internal/utils/utils.go.