fix(websearch): downgrade max_tokens adjustment log level

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
giulio-leone 2026-03-05 14:19:15 +01:00 committed by Sameer Kankute
parent 9abc25bf37
commit 919d4657fc

View file

@ -455,7 +455,7 @@ class WebSearchInterceptionLogger(CustomLogger):
):
if max_tokens <= budget_tokens:
adjusted = math.ceil(budget_tokens) + 1024
verbose_logger.warning(
verbose_logger.info(
"WebSearchInterception: max_tokens=%s <= thinking.budget_tokens=%s, "
"adjusting to %s to satisfy Anthropic API constraint",
max_tokens, budget_tokens, adjusted,