fix(slack,web): harden thread hints and monitor tuning

This commit is contained in:
Peter Steinberger
2026-02-22 22:05:39 +00:00
parent 57b75678d4
commit b534dfa3e0
6 changed files with 107 additions and 44 deletions

View File

@@ -40,12 +40,14 @@ export function resolveSlackStreamingThreadHint(params: {
replyToMode: "off" | "first" | "all";
incomingThreadTs: string | undefined;
messageTs: string | undefined;
isThreadReply?: boolean;
}): string | undefined {
return resolveSlackThreadTs({
replyToMode: params.replyToMode,
incomingThreadTs: params.incomingThreadTs,
messageTs: params.messageTs,
hasReplied: false,
isThreadReply: params.isThreadReply,
});
}
@@ -168,6 +170,7 @@ export async function dispatchPreparedSlackMessage(prepared: PreparedSlackMessag
replyToMode: ctx.replyToMode,
incomingThreadTs,
messageTs,
isThreadReply,
});
const useStreaming = shouldUseStreaming({
streamingEnabled,