mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
fix: python deserialization (#2178)
This commit is contained in:
parent
2dd053aff1
commit
651824b475
@ -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