fix(channels): remove unusable post-final progress override · openclaw/openclaw@a594d2c
vincentkoc
·
2026-06-22
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -148,28 +148,6 @@ describe("createChannelProgressDraftCompositor", () => {
|
148 | 148 | expect(update).not.toHaveBeenCalled(); |
149 | 149 | }); |
150 | 150 | |
151 | | -it("allows explicit post-final progress notices", async () => { |
152 | | -const update = vi.fn(); |
153 | | -const progress = createChannelProgressDraftCompositor({ |
154 | | -entry: { streaming: { mode: "progress", progress: { label: "Shelling" } } }, |
155 | | -mode: "progress", |
156 | | -active: true, |
157 | | -seed: "test", |
158 | | - update, |
159 | | -}); |
160 | | - |
161 | | -progress.markFinalReplyDelivered(); |
162 | | - |
163 | | -expect(await progress.pushToolProgress("🛠️ Hidden", { startImmediately: true })).toBe(false); |
164 | | -expect( |
165 | | -await progress.pushToolProgress("💨Fast: auto-on", { |
166 | | -startImmediately: true, |
167 | | -allowAfterFinal: true, |
168 | | -}), |
169 | | -).toBe(true); |
170 | | -expect(update).toHaveBeenCalledWith("Shelling\n\n💨Fast: auto-on", { flush: true }); |
171 | | -}); |
172 | | - |
173 | 151 | it("composes reasoning deltas with tool progress", async () => { |
174 | 152 | const update = vi.fn(); |
175 | 153 | const progress = createChannelProgressDraftCompositor({ |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。