Skip to content

Commit

Permalink
fix: python deserialization (#2178)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaluma authored Jul 8, 2024
1 parent 07e240c commit 16d9e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/python/text_generation/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 16d9e50

Please sign in to comment.