diff --git a/src/auto-reply/reply/get-reply-run.ts b/src/auto-reply/reply/get-reply-run.ts index 59bb30eb4..873235578 100644 --- a/src/auto-reply/reply/get-reply-run.ts +++ b/src/auto-reply/reply/get-reply-run.ts @@ -228,7 +228,6 @@ export async function runPreparedReply( }); const threadStarterBody = ctx.ThreadStarterBody?.trim(); const threadHistoryBody = ctx.ThreadHistoryBody?.trim(); - // If we have full thread history, use it instead of just the starter const threadContextNote = isNewSession && threadHistoryBody ? `[Thread history - for context]\n${threadHistoryBody}` diff --git a/src/slack/monitor/media.ts b/src/slack/monitor/media.ts index aaab04e54..69c1271cb 100644 --- a/src/slack/monitor/media.ts +++ b/src/slack/monitor/media.ts @@ -160,7 +160,6 @@ export async function resolveSlackThreadHistory(params: { }; const messages = response?.messages ?? []; - // Filter out the current message and empty messages return messages .filter((msg) => { if (!msg.text?.trim()) return false;