Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

realtime server event: InputAudioBufferCommited previous_item_id may be None / null #131

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

pragmatrix
Copy link
Contributor

Just received this after waiting for the initial session.created event and sending some simple voice data to the realtime API:

raw WebSocket text message:

{"type":"input_audio_buffer.committed","event_id":"event_AYHl1xBb8vTEssMAzp2V4","previous_item_id":null,"item_id":"item_AYHl0tPbVU5QTPDrrpoOd"}

So I guess it's safe to say that the null case should be supported.

Copy link
Owner

@dongri dongri left a comment

Choose a reason for hiding this comment

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

LGTM

@dongri dongri merged commit 73e4881 into dongri:main Nov 27, 2024
1 check passed
@pragmatrix pragmatrix deleted the previous-item-id-none branch November 29, 2024 07:10
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.

2 participants