Unverified Commit 16d9e505 authored by Javier Martinez's avatar Javier Martinez Committed by GitHub
Browse files

fix: python deserialization (#2178)

parent 07e240ca
...@@ -61,7 +61,7 @@ class ChoiceDeltaToolCall(BaseModel): ...@@ -61,7 +61,7 @@ class ChoiceDeltaToolCall(BaseModel):
class ChoiceDelta(BaseModel): class ChoiceDelta(BaseModel):
role: str role: str
content: Optional[str] = None content: Optional[str] = None
tool_calls: Optional[ChoiceDeltaToolCall] tool_calls: Optional[ChoiceDeltaToolCall] = None
class Choice(BaseModel): class Choice(BaseModel):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment