From 2475a554d5f56c3a5abe6d40e07d0d979dcc9eb1 Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Wed, 1 Jul 2026 00:30:04 -0700 Subject: [PATCH] test: adapt salvaged SSRF test to current web_extract_tool signature Follow-up for salvaged PR #35840: current main removed the use_llm_processing kwarg (LLM summarization dropped) and moved the input SSRF gate to async_is_safe_url. Adjust the new firecrawl-final-url test to match. --- tests/tools/test_website_policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tools/test_website_policy.py b/tests/tools/test_website_policy.py index 571f0f280..9aa52e69b 100644 --- a/tests/tools/test_website_policy.py +++ b/tests/tools/test_website_policy.py @@ -488,7 +488,7 @@ class TestWebToolPolicy: monkeypatch.setattr("tools.interrupt.is_interrupted", lambda: False) monkeypatch.setenv("FIRECRAWL_API_KEY", "fake-key") - result = json.loads(await web_tools.web_extract_tool(["https://allowed.test"], use_llm_processing=False)) + result = json.loads(await web_tools.web_extract_tool(["https://allowed.test"])) assert checked_urls == ["https://allowed.test"] assert result["results"][0]["url"] == "http://169.254.169.254/latest/meta-data/"