mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
Optional usage.
This commit is contained in:
parent
42fc45be62
commit
1c58942133
@ -191,7 +191,7 @@ class ChatCompletionChunk(BaseModel):
|
|||||||
model: str
|
model: str
|
||||||
system_fingerprint: str
|
system_fingerprint: str
|
||||||
choices: List[Choice]
|
choices: List[Choice]
|
||||||
usage: Optional[Any]
|
usage: Optional[Any] = None
|
||||||
|
|
||||||
|
|
||||||
class Parameters(BaseModel):
|
class Parameters(BaseModel):
|
||||||
|
Loading…
Reference in New Issue
Block a user