From 66373eb25f13a344e5226fa0cda55dbedf7bb0af Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Wed, 5 Aug 2026 02:49:35 -0700 Subject: [PATCH] fix(types): log AdapterCompletionStreamWrapper errors lazily --- litellm/types/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/types/utils.py b/litellm/types/utils.py index eccdc7427dc..3c77b06365c 100644 --- a/litellm/types/utils.py +++ b/litellm/types/utils.py @@ -2594,7 +2594,7 @@ class AdapterCompletionStreamWrapper: except StopIteration: raise StopIteration except Exception as e: - verbose_logger.debug(f"AdapterCompletionStreamWrapper - {e}") + verbose_logger.debug("AdapterCompletionStreamWrapper - %s", e) async def __anext__(self): try: