Skip to content

Do not serialize any AudioTranscription property if its null.#188

Merged
dongri merged 1 commit intodongri:mainfrom
serbanbjd:audio-transcription-null
Oct 29, 2025
Merged

Do not serialize any AudioTranscription property if its null.#188
dongri merged 1 commit intodongri:mainfrom
serbanbjd:audio-transcription-null

Conversation

@serbanbjd
Copy link

Open api does not accept null for realtime Session.input_audio_transcription properties. So if the type for one of those properties is None it should not be serialized and added to the json.

@dongri
Copy link
Owner

dongri commented Oct 29, 2025

LGTM

@dongri dongri merged commit 24becba into dongri:main Oct 29, 2025
1 check passed
@serbanbjd serbanbjd deleted the audio-transcription-null branch October 29, 2025 07:29
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