fix: add more type hints to init methods

This commit is contained in:
Nejc Habjan 2024-06-18 12:09:39 +02:00
parent c91ebb6a64
commit 2ecd614a73
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -528,7 +528,7 @@ class ModelResponse(OpenAIObject):
response_ms=None,
hidden_params=None,
**params,
):
) -> None:
if stream is not None and stream is True:
object = "chat.completion.chunk"
if choices is not None and isinstance(choices, list):