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(openai): handle empty finish_reason #1236

Merged
merged 1 commit into from
Jun 5, 2024
Merged

fix(openai): handle empty finish_reason #1236

merged 1 commit into from
Jun 5, 2024

Conversation

nirga
Copy link
Member

@nirga nirga commented Jun 5, 2024

Fixes #1235

  • I have added tests that cover my changes.
  • If adding a new instrumentation or changing an existing one, I've added screenshots from some observability platform showing the change.
  • PR name follows conventional commits format: feat(instrumentation): ... or fix(instrumentation): ....
  • (If applicable) I have updated the documentation accordingly.

@nirga nirga requested a review from galkleinman June 5, 2024 08:42
@nirga nirga merged commit e79394e into main Jun 5, 2024
8 checks passed
@nirga nirga deleted the empty-finish-reason branch June 5, 2024 10:47
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.

🐛 Bug Report: Generation crashes because finish_reason is not always present in the async delta
2 participants