Skip to content

Please add audio in streaming response for gpt-4o-audio-preview #2507

@WqyJh

Description

@WqyJh

Confirm this is a feature request for the Python library and not the underlying OpenAI API.

  • This is a feature request for the Python library

Describe the feature or improvement you're requesting

According to the model description, gpt-4o-audio-preview and gpt-4o-mini-audio-preview support streaming functionality.

Image showing model support for streaming

However, the current version (v1.98.0) of this Python library does not include an audio field in the stream chunks, and this field is also missing from the API reference documentation.

Image showing absence of audio field in documentation

Through testing, I can confirm that the audio field is indeed returned in practice.

Image verifying presence of audio field in testing

Therefore, please consider adding the audio field to the library and documentation.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions