From 86ab5008c61b2ab0cb74a19abfb57a599ae476df Mon Sep 17 00:00:00 2001 From: "m.shino" Date: Fri, 30 Jan 2026 19:25:01 +0900 Subject: [PATCH] chore: remove redundant comments --- src/auto-reply/reply/get-reply-run.ts | 1 - src/slack/monitor/media.ts | 1 - 2 files changed, 2 deletions(-) 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;