Skip to content

Copilot/vscode-mlleynpp-v9vy#2871

Open
ambervic2020-ux wants to merge 555 commits intoopenai:mainfrom
ambervic2020-ux:copilot/vscode-mlleynpp-v9vy
Open

Copilot/vscode-mlleynpp-v9vy#2871
ambervic2020-ux wants to merge 555 commits intoopenai:mainfrom
ambervic2020-ux:copilot/vscode-mlleynpp-v9vy

Conversation

@ambervic2020-ux
Copy link

  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Additional context & links

stainless-app bot added 30 commits June 16, 2025 22:26
@ambervic2020-ux ambervic2020-ux requested a review from a team as a code owner February 13, 2026 22:18
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4304dbc8a1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -76,29 +76,9 @@ def __stream__(self) -> Iterator[_T]:
)

yield process_data(data=data, cast_to=cast_to, response=response)

Choose a reason for hiding this comment

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

P1 Badge Restore SSE event wrapping for discriminated streams

This now passes sse.json() straight into process_data, which drops sse.event for named SSE frames. That breaks endpoints still typed as discriminated assistant stream events (for example runs.create(..., stream=True) uses Stream[AssistantStreamEvent] in src/openai/resources/beta/threads/runs/runs.py, while AssistantStreamEvent requires top-level event and data in src/openai/types/beta/assistant_stream_event.py). In those streams, the discriminator comes from the SSE event name, so parsing will misclassify or fail once event is no longer reattached; the same issue also applies to the async path.

Useful? React with 👍 / 👎.

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.

1 participant

Comments