fix: python deserialization (#2178)

This commit is contained in:
Javier Martinez 2024-07-08 15:59:16 +02:00 committed by yuanwu
parent 8dd9b2b135
commit 4a54e41920

View File

@ -61,7 +61,7 @@ class ChoiceDeltaToolCall(BaseModel):
class ChoiceDelta(BaseModel):
role: str
content: Optional[str] = None
tool_calls: Optional[ChoiceDeltaToolCall]
tool_calls: Optional[ChoiceDeltaToolCall] = None
class Choice(BaseModel):