mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
fix(websearch): downgrade max_tokens adjustment log level
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
9abc25bf37
commit
919d4657fc
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue