mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 20:34:54 +00:00
fix: python deserialization
This commit is contained in:
parent
5ad41aa2a6
commit
fdf3a58f5a
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user