fix: align ask_user payload validation

This commit is contained in:
Erik Kotsiuba
2026-08-12 14:18:22 +02:00
parent 0145055445
commit 852e625d86
10 changed files with 242 additions and 75 deletions
+2 -2
View File
@@ -568,7 +568,7 @@ test("elaborate continuation preserves unrelated committed answers", () => {
});
});
test("invalid input result renders as invalid input", () => {
test("invalid tool payload result is attributed to the tool call", () => {
const result = {
title: "Interview",
cancelled: true,
@@ -581,7 +581,7 @@ test("invalid input result renders as invalid input", () => {
},
};
assert.equal(renderResultText(result), "Invalid input");
assert.equal(renderResultText(result), "Invalid tool payload");
});
test("cancelled result renders as cancelled", () => {