From b4d19923388cd78082ccb568487aa04335b5e60d Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Thu, 23 Apr 2026 15:11:22 +0100 Subject: [PATCH] test: accept current web search reasoning floor --- scripts/e2e/openai-web-search-minimal-docker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/e2e/openai-web-search-minimal-docker.sh b/scripts/e2e/openai-web-search-minimal-docker.sh index f975692c4e7..794fe569281 100755 --- a/scripts/e2e/openai-web-search-minimal-docker.sh +++ b/scripts/e2e/openai-web-search-minimal-docker.sh @@ -451,8 +451,8 @@ const hasWebSearch = tools.some((tool) => tool?.type === "web_search" || (tool?. if (!hasWebSearch) { throw new Error(`success request did not include web_search. Body: ${JSON.stringify(success.body)}`); } -if (success.body.reasoning?.effort !== "low") { - throw new Error(`expected reasoning.effort low with web_search, got ${JSON.stringify(success.body.reasoning)}`); +if (success.body.reasoning?.effort === "minimal") { + throw new Error(`expected web_search request to avoid minimal reasoning, got ${JSON.stringify(success.body.reasoning)}`); } NODE