Skip to content

Conversation

@dkundel-openai
Copy link
Collaborator

@dkundel-openai dkundel-openai commented Jun 12, 2025

Summary

  • handle empty choices array when streaming
  • add regression test for empty streaming chunk

Testing

  • pnpm build
  • CI=1 pnpm test
  • pnpm lint

Fixes #92


https://chatgpt.com/codex/tasks/task_i_684af937d6f0833188b3963a3470b24d

@changeset-bot
Copy link

changeset-bot bot commented Jun 12, 2025

🦋 Changeset detected

Latest commit: 9b413f6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@openai/agents-openai Patch
@openai/agents Patch
@openai/agents-extensions Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@seratch seratch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@dkundel-openai dkundel-openai merged commit fc99390 into main Jun 12, 2025
6 of 10 checks passed
@dkundel-openai dkundel-openai deleted the codex/fix-handling-of-empty-choices-in-completion-api branch June 12, 2025 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Azure OpenAI Completions API - Prompt annotations cause NULL reference exception

3 participants