mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 10:21:40 +00:00
fix(slack,web): harden thread hints and monitor tuning
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user