Skip to content

Commit b0aee4b

Browse files
fix(grok): preserve held results across native continuations
1 parent f866c6f commit b0aee4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/provider-acp/src/server/adapter.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6617,7 +6617,7 @@ export const makeAcpAdapterV2 = Effect.fn("makeAcpAdapterV2")(function* (
66176617
const isUserTurn = !isContinuationTurn && !isAppOwnedWakeTurn;
66186618
const invalidatesTextContinuation = isUserTurn && textMessageId !== null;
66196619
const preserveBufferedContinuation =
6620-
(isAppOwnedWakeTurn && !isTextContinuationTurn && textMessageId !== null) ||
6620+
(!isUserTurn && !isTextContinuationTurn && textMessageId !== null) ||
66216621
acpTurnStartShouldPreserveContinuation({
66226622
continuationRequested: wasRequested,
66236623
isContinuationTurn: isContinuationTurn || isTextContinuationTurn,

0 commit comments

Comments
 (0)