Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: correct completion endpoint when logprobs missing #550

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

Merged
merged 1 commit into from
Apr 8, 2025

Conversation

iBotPeaches
Copy link
Collaborator

What:

  • Bug Fix
  • New Feature

Description:

In testing OpenAI's legacy completion endpoint. The logprobs property is not coming back anymore. Its neither null or filled - its simply missing. However, oddly a few API calls later it was back. This appears to be a bug on OpenAI's side with the legacy endpoint.

We can easily handle this though since a natural state of logprobs is null. We just expected it to be there.

Related:

fixes: #522

@iBotPeaches iBotPeaches mentioned this pull request Apr 8, 2025
@iBotPeaches iBotPeaches added the bug Something isn't working label Apr 8, 2025
@iBotPeaches iBotPeaches merged commit 6be1fb8 into main Apr 8, 2025
20 checks passed
@iBotPeaches iBotPeaches deleted the issue-522 branch April 15, 2025 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Logprobs error
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.