test: keep legacy tool-result error proof · openclaw/openclaw@72bc429
openclaw
·
2026-05-27
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1105,7 +1105,7 @@ describe("sanitizeSessionHistory", () => {
|
1105 | 1105 | |
1106 | 1106 | const toolResult = validated[2] as Extract<AgentMessage, { role: "toolResult" }>; |
1107 | 1107 | expect(toolResult.toolCallId).toBe("toolu_legacy"); |
1108 | | -expect(toolResult.isError).toBe(false); |
| 1108 | +expect(toolResult.isError).toBe(true); |
1109 | 1109 | }); |
1110 | 1110 | |
1111 | 1111 | it("strips copied inbound metadata from assistant replay text", async () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。