diff --git a/src/core/bot.ts b/src/core/bot.ts
index 6efd03d..88947a7 100644
--- a/src/core/bot.ts
+++ b/src/core/bot.ts
@@ -1955,6 +1955,12 @@ export class LettaBot implements AgentSession {
}
}
+ // Strip marker so callers (cron, webhooks) see empty string
+ if (response.trim() === '') {
+ log.info('sendToAgent: agent responded with marker, suppressing');
+ response = '';
+ }
+
if (isSilent && response.trim()) {
if (usedMessageCli || executedDirectives) {
log.info(`Silent mode: agent delivered via ${[usedMessageCli && 'CLI', executedDirectives && 'directives'].filter(Boolean).join(' + ')}, remaining text (${response.length} chars) not delivered`);