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 and ErikKaum committed Jul 26, 2024
1 parent 2dd053a commit 651824b
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 651824b

Please sign in to comment.