mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-07 06:27:42 +00:00
synthesize after bounded search suppression
This commit is contained in:
parent
295578514e
commit
f2fb42c7d1
1 changed files with 2 additions and 2 deletions
|
|
@ -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 '
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue