Skip to content

Commit

Permalink
added default value to logprobs (#1007)
Browse files Browse the repository at this point in the history
  • Loading branch information
davorrunje authored and stainless-bot committed Jan 9, 2024
1 parent f1c7d71 commit acbe5ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openai/types/chat/chat_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit acbe5ff

Please sign in to comment.