Skip to content

Commit 2caf2b9

Browse files
author
Eva (agent)
committed
test: opt acp streaming tests into live delivery mode
Upstream changed the default acp.stream.deliveryMode from `live` to `final_only`. The 4 ACP-streaming tests in dispatch-from-config.test.ts relied on the old default to exercise the block-streaming path, so they now never call sendBlockReply. Add explicit `deliveryMode: "live"` to each affected test config to keep them on the live path. Mirrors upstream commit ea51160.
1 parent a6b9699 commit 2caf2b9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/auto-reply/reply/dispatch-from-config.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2050,7 +2050,7 @@ describe("dispatchReplyFromConfig", () => {
20502050
acp: {
20512051
enabled: true,
20522052
dispatch: { enabled: true },
2053-
stream: { coalesceIdleMs: 0, maxChunkChars: 128 },
2053+
stream: { deliveryMode: "live", coalesceIdleMs: 0, maxChunkChars: 128 },
20542054
},
20552055
} as OpenClawConfig;
20562056
const dispatcher = createDispatcher();
@@ -2470,7 +2470,7 @@ describe("dispatchReplyFromConfig", () => {
24702470
acp: {
24712471
enabled: true,
24722472
dispatch: { enabled: true },
2473-
stream: { coalesceIdleMs: 0, maxChunkChars: 256 },
2473+
stream: { deliveryMode: "live", coalesceIdleMs: 0, maxChunkChars: 256 },
24742474
},
24752475
} as OpenClawConfig;
24762476
const dispatcher = createDispatcher();
@@ -2548,7 +2548,7 @@ describe("dispatchReplyFromConfig", () => {
25482548
acp: {
25492549
enabled: true,
25502550
dispatch: { enabled: true },
2551-
stream: { coalesceIdleMs: 0, maxChunkChars: 256 },
2551+
stream: { deliveryMode: "live", coalesceIdleMs: 0, maxChunkChars: 256 },
25522552
},
25532553
} as OpenClawConfig;
25542554
const dispatcher = createDispatcher();
@@ -2601,7 +2601,7 @@ describe("dispatchReplyFromConfig", () => {
26012601
acp: {
26022602
enabled: true,
26032603
dispatch: { enabled: true },
2604-
stream: { coalesceIdleMs: 0, maxChunkChars: 256 },
2604+
stream: { deliveryMode: "live", coalesceIdleMs: 0, maxChunkChars: 256 },
26052605
},
26062606
} as OpenClawConfig;
26072607
const dispatcher = createDispatcher();

0 commit comments

Comments
 (0)