From 9e280426a005310392216176ea17a8969dac2175 Mon Sep 17 00:00:00 2001 From: basil-k-aji-dev <70605804+basil-k-aji-dev@users.noreply.github.com> Date: Sat, 3 Oct 2026 11:42:29 +0530 Subject: [PATCH] feat(exceptions): annotate IncompleteStreamError's required parameters message, llm_provider and model were unannotated, so all three reached super().__init__ as Any and counted three times against the unknown-argument budget. basedpyright on exceptions.py: 11, the same as on main. --- litellm/exceptions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litellm/exceptions.py b/litellm/exceptions.py index 5a64a18dd2f..84e51d55e6a 100644 --- a/litellm/exceptions.py +++ b/litellm/exceptions.py @@ -899,9 +899,9 @@ class IncompleteStreamError(APIError): def __init__( self, - message, - llm_provider, - model, + message: str, + llm_provider: str, + model: str, request: httpx.Request | None = None, litellm_debug_info: str | None = None, max_retries: int | None = None,