Skip to content

Expose unknown response stream updates for downstream streaming exten…#1078

Open
wmmihaa wants to merge 1 commit into
openai:mainfrom
wmmihaa:make-unknown-event-members-public
Open

Expose unknown response stream updates for downstream streaming exten…#1078
wmmihaa wants to merge 1 commit into
openai:mainfrom
wmmihaa:make-unknown-event-members-public

Conversation

@wmmihaa
Copy link
Copy Markdown

@wmmihaa wmmihaa commented Apr 4, 2026

…sions

Make UnknownResponseStreamEvent public and expose its Kind value so consumers can safely detect and handle non-modeled stream events without reflection.

…sions

Make UnknownResponseStreamEvent public and expose its Kind value so consumers can safely detect and handle non-modeled stream events without reflection.
@jsquire
Copy link
Copy Markdown
Collaborator

jsquire commented Apr 6, 2026

Hi @wmmihaa. Thanks very much for your cotnribution! As I mentioned on the assocaited issue, generally, we're in agreement that the ability to directly create/extend the unknown types is something that we'd like to provide. The exact design is not something that we've yet locked down. I've asked the owner of the feature to offer guide feedback here and offer thoughts on the issue.

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