Skip to content

[QUESTION] StreamingResponseOutputItemAddedUpdate DataΒ #749

@didrh

Description

@didrh

How can we help?

Reading this response i noticed the response.output_item.added event has way more data than the corresponding type in the library:
StreamingResponseOutputItemAddedUpdate: {"OutputIndex":19,"Item":{"Id":"ws_0e3df96bcf0970fa0068e4c2e89a048197b789efb1401f7daf"},"SequenceNumber":1087}

Two questions:
a) is it possible or planed to bring at least the type of the Item to the front? At the moment we do things differently depending on the ID start ("ws_" or "rs_") for some cases.
b) is it possible or planed to bring the whole Item to the front? There seems to be extensive de-serializing code in the generated models?

Metadata

Metadata

Assignees

Labels

area: responsesThis item is related to Responsesfeature-requestCategory: A new feature or enhancement to an existing feature is being requested.issue-addressedWorkflow: The OpenAI maintainers believe the issue to be addressed and ready to close.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions