mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 18:01:37 +00:00
refactor: extract iMessage echo cache and unify suppression guards
This commit is contained in:
@@ -68,6 +68,10 @@ export function isRenderablePayload(payload: ReplyPayload): boolean {
|
||||
);
|
||||
}
|
||||
|
||||
export function shouldSuppressReasoningPayload(payload: ReplyPayload): boolean {
|
||||
return payload.isReasoning === true;
|
||||
}
|
||||
|
||||
export function applyReplyThreading(params: {
|
||||
payloads: ReplyPayload[];
|
||||
replyToMode: ReplyToMode;
|
||||
|
||||
Reference in New Issue
Block a user