Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Make logprob field optional for response Pydantic validation #692

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

jeffreyftang
Copy link
Contributor

In some cases we observed logprob=None values being returned by the server. While this is unexpected and is being separately investigated, making the field optional here should keep this from blocking users.

@jeffreyftang jeffreyftang merged commit c0e5798 into main Nov 22, 2024
1 check passed
@jeffreyftang jeffreyftang deleted the logprob-none-fix branch November 22, 2024 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants