Slack: fix message tool not passing threading context to handleSlackAction

This commit is contained in:
Austin Mudd
2026-01-09 10:34:13 -08:00
committed by Peter Steinberger
parent 8ae0429162
commit 8890fbcf38

View File

@@ -393,6 +393,12 @@ export function createMessageTool(options?: MessageToolOptions): AnyAgentTool {
threadTs: threadId ?? replyTo ?? undefined, threadTs: threadId ?? replyTo ?? undefined,
}, },
cfg, cfg,
{
currentChannelId: options?.currentChannelId,
currentThreadTs: options?.currentThreadTs,
replyToMode: options?.replyToMode,
hasRepliedRef: options?.hasRepliedRef,
},
); );
} }
if (provider === "telegram") { if (provider === "telegram") {