From eb78b58ff774a03d8340b52b4ec476e6cd0b7006 Mon Sep 17 00:00:00 2001 From: Nathan Schram <5553883+nathanschram@users.noreply.github.com> Date: Thu, 29 Jan 2026 15:11:28 +1100 Subject: [PATCH] test: update error message assertion for Jina fallback The error message now includes Jina in the fallback chain. Co-Authored-By: Claude Opus 4.5 --- src/agents/tools/web-tools.fetch.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agents/tools/web-tools.fetch.test.ts b/src/agents/tools/web-tools.fetch.test.ts index 04923b607..cf6699f9a 100644 --- a/src/agents/tools/web-tools.fetch.test.ts +++ b/src/agents/tools/web-tools.fetch.test.ts @@ -161,7 +161,7 @@ describe("web_fetch extraction fallbacks", () => { await expect( tool?.execute?.("call", { url: "https://example.com/readability-empty" }), - ).rejects.toThrow("Readability and Firecrawl returned no content"); + ).rejects.toThrow("Readability, Jina, and Firecrawl returned no content"); }); it("uses firecrawl when direct fetch fails", async () => {