fix: remove unused originatingChannel variable

Remove unused originatingChannel variable from runPreparedReply function that was assigned but never referenced.
This commit is contained in:
Dominic Damoah
2026-01-22 12:11:05 -05:00
parent 495a39b5a9
commit 8b3cb373d4

View File

@@ -157,8 +157,6 @@ export async function runPreparedReply(
const isFirstTurnInSession = isNewSession || !currentSystemSent;
const isGroupChat = sessionCtx.ChatType === "group";
const originatingChannel =
(ctx.OriginatingChannel ?? ctx.Surface ?? ctx.Provider)?.toString().toLowerCase() ?? "";
const wasMentioned = ctx.WasMentioned === true;
const isHeartbeat = opts?.isHeartbeat === true;
const typingMode = resolveTypingMode({