diff --git a/src/gateway/live-tool-probe-utils.test.ts b/src/gateway/live-tool-probe-utils.test.ts index f1271bfed47..a4b2d4b1a01 100644 --- a/src/gateway/live-tool-probe-utils.test.ts +++ b/src/gateway/live-tool-probe-utils.test.ts @@ -279,6 +279,17 @@ describe("live tool probe utils", () => { }, expected: true, }, + { + name: "retries alternate exec readback retry wording", + params: { + text: "Let me try again with a slightly different approach:", + nonce: "nonce-c", + provider: "minimax-portal", + attempt: 0, + maxAttempts: 3, + }, + expected: true, + }, { name: "retries eventual-consistency exec readback output", params: { diff --git a/src/gateway/live-tool-probe-utils.ts b/src/gateway/live-tool-probe-utils.ts index b9b671b41f8..ed85b86719d 100644 --- a/src/gateway/live-tool-probe-utils.ts +++ b/src/gateway/live-tool-probe-utils.ts @@ -66,6 +66,7 @@ function hasMalformedToolOutput(text: string): boolean { } if ( lower.includes("try reading the file again") || + lower.includes("try again with a slightly different approach") || lower.includes("trying to read the file again") || lower.includes("try the read tool again") || lower.includes("file wasn't found immediately after") ||