chore: remove redundant comments

This commit is contained in:
m.shino 2026-01-30 19:25:01 +09:00
parent 0548b47365
commit 86ab5008c6
2 changed files with 0 additions and 2 deletions

View File

@ -228,7 +228,6 @@ export async function runPreparedReply(
}); });
const threadStarterBody = ctx.ThreadStarterBody?.trim(); const threadStarterBody = ctx.ThreadStarterBody?.trim();
const threadHistoryBody = ctx.ThreadHistoryBody?.trim(); const threadHistoryBody = ctx.ThreadHistoryBody?.trim();
// If we have full thread history, use it instead of just the starter
const threadContextNote = const threadContextNote =
isNewSession && threadHistoryBody isNewSession && threadHistoryBody
? `[Thread history - for context]\n${threadHistoryBody}` ? `[Thread history - for context]\n${threadHistoryBody}`

View File

@ -160,7 +160,6 @@ export async function resolveSlackThreadHistory(params: {
}; };
const messages = response?.messages ?? []; const messages = response?.messages ?? [];
// Filter out the current message and empty messages
return messages return messages
.filter((msg) => { .filter((msg) => {
if (!msg.text?.trim()) return false; if (!msg.text?.trim()) return false;