From f2fb42c7d1e2e72f745620dfb5fa3a6084cf8692 Mon Sep 17 00:00:00 2001 From: pewdiepie-archdaemon Date: Thu, 17 Sep 2026 19:27:16 +0000 Subject: [PATCH] synthesize after bounded search suppression --- src/clean_agent_preview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clean_agent_preview.py b/src/clean_agent_preview.py index b40aa61a0..8d21d30aa 100644 --- a/src/clean_agent_preview.py +++ b/src/clean_agent_preview.py @@ -4447,10 +4447,10 @@ async def stream_preview(*, endpoint_url, model, messages, headers, turn_contrac ) if tool_type == 'web_search': web_search_attempts += 1 - if not native_workspace_enabled and web_search_attempts > 4: + if not native_workspace_enabled and web_search_attempts > 3: suppressed_tool_until_round['web_search'] = round_limit + 1 force_no_tools_next_round = True - terminal_budget_violation = True + terminal_suppression_violation = True calls += 1 raise ValueError( 'The bounded search-attempt budget is exhausted. Do not search '