mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
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:
parent
80e504ce30
commit
9e280426a0
1 changed files with 3 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue