mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-30 01:18:42 +00:00
test: keep legacy tool-result error proof
This commit is contained in:
@@ -1105,7 +1105,7 @@ describe("sanitizeSessionHistory", () => {
|
||||
|
||||
const toolResult = validated[2] as Extract<AgentMessage, { role: "toolResult" }>;
|
||||
expect(toolResult.toolCallId).toBe("toolu_legacy");
|
||||
expect(toolResult.isError).toBe(false);
|
||||
expect(toolResult.isError).toBe(true);
|
||||
});
|
||||
|
||||
it("strips copied inbound metadata from assistant replay text", async () => {
|
||||
|
||||
Reference in New Issue
Block a user