From 1c58942133c68d1a37a8ef233fbb517756ddca22 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Wed, 18 Sep 2024 14:31:45 +0200 Subject: [PATCH] Optional usage. --- clients/python/text_generation/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/python/text_generation/types.py b/clients/python/text_generation/types.py index 40852d9d..f7f823fc 100644 --- a/clients/python/text_generation/types.py +++ b/clients/python/text_generation/types.py @@ -191,7 +191,7 @@ class ChatCompletionChunk(BaseModel): model: str system_fingerprint: str choices: List[Choice] - usage: Optional[Any] + usage: Optional[Any] = None class Parameters(BaseModel):