From 534e21efd887b602b79dbb42566fb17b40da86b0 Mon Sep 17 00:00:00 2001 From: Davor Runje Date: Fri, 22 Dec 2023 08:50:01 +0000 Subject: [PATCH] added default value to logprobs --- src/openai/types/chat/chat_completion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openai/types/chat/chat_completion.py b/src/openai/types/chat/chat_completion.py index 055280c347..b2e98a3144 100644 --- a/src/openai/types/chat/chat_completion.py +++ b/src/openai/types/chat/chat_completion.py @@ -30,7 +30,7 @@ class Choice(BaseModel): index: int """The index of the choice in the list of choices.""" - logprobs: Optional[ChoiceLogprobs] + logprobs: Optional[ChoiceLogprobs] = None """Log probability information for the choice.""" message: ChatCompletionMessage