mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
fix: fix type error
This commit is contained in:
parent
ac92ac9afe
commit
5ed094985a
1 changed files with 4 additions and 0 deletions
|
|
@ -1572,6 +1572,10 @@ class Usage(SafeAttributeModel, CompletionUsage):
|
|||
|
||||
|
||||
class StreamingChoices(OpenAIObject):
|
||||
finish_reason: Optional[OpenAIChatCompletionFinishReason] = None
|
||||
index: int = 0
|
||||
delta: Optional[Delta] = None
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
finish_reason=None,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue