From ecff0c0a7de44c890b2c59a0bf6815b2789ddbc5 Mon Sep 17 00:00:00 2001 From: Tin Chi Lo Date: Sat, 18 Jul 2026 16:53:44 -0700 Subject: [PATCH] fix(anthropic): state the async entry's first-pass judgment explicitly --- litellm/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litellm/main.py b/litellm/main.py index ab07da7528b..f96064c0591 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -522,6 +522,7 @@ async def acompletion( model=model, custom_llm_provider=cast(Optional[str], custom_llm_provider), # cast-ok: read from untyped kwargs tools=tools, + is_first_pass=True, ) if isinstance(litellm_logging_obj, LiteLLMLoggingObj) and (