summaryrefslogtreecommitdiffhomepage
path: root/src/core/chunks/local-echo.test.ts
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-10-21 15:36:54 +0900
committerAdam Malczewski <[email protected]>2026-10-21 15:36:54 +0900
commitac43e92d174ed1f081c387944e9044643ee9efc2 (patch)
tree3110ac7c1fa722ad6c092200ea02aead5384b5d3 /src/core/chunks/local-echo.test.ts
parente9786bf1dbf258b68f793870d02378c390939d3d (diff)
downloaddispatch-web-ac43e92d174ed1f081c387944e9044643ee9efc2.tar.gz
dispatch-web-ac43e92d174ed1f081c387944e9044643ee9efc2.zip
fix(review-followup-fee): recover omitted chat payloads through history
Diffstat (limited to 'src/core/chunks/local-echo.test.ts')
-rw-r--r--src/core/chunks/local-echo.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/chunks/local-echo.test.ts b/src/core/chunks/local-echo.test.ts
index 4b5eed4..565017c 100644
--- a/src/core/chunks/local-echo.test.ts
+++ b/src/core/chunks/local-echo.test.ts
@@ -28,7 +28,7 @@ describe("request-local optimistic echo", () => {
});
state = removeLocalEcho(removeLocalEcho(state, "r1"), "r2");
expect(state.provisional).toEqual([
- { role: "user", turnId: "t1", chunk: { type: "text", text: "same" } },
+ { role: "user", turnId: "t1", opening: true, chunk: { type: "text", text: "same" } },
]);
});