Optional usage.

This commit is contained in:
Nicolas Patry 2024-09-18 14:31:45 +02:00
parent 42fc45be62
commit 1c58942133
No known key found for this signature in database
GPG Key ID: 64AF4752B2967863

View File

@ -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):