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.
This commit is contained in:
basil-k-aji-dev 2026-10-03 11:42:29 +05:30
parent 80e504ce30
commit 9e280426a0

View file

@ -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,