async-openai icon indicating copy to clipboard operation
async-openai copied to clipboard

AudioTranscription has non-existing enabled field

Open ysimonson opened this issue 10 months ago • 2 comments

For the realtime types, AudioTranscription currently has an enabled field, but the API does not have this. This triggers an error when trying to set an audio transcription on session update:

called `Result::unwrap()` on an `Err` value: invalid_request_error [code=Some("unknown_parameter"), param=Some("session.input_audio_transcription.enabled")]: Unknown parameter: 'session.input_audio_transcription.enabled'.

ysimonson avatar Dec 29 '24 18:12 ysimonson

This is addressed in https://github.com/64bit/async-openai/pull/391

codesoda avatar Jun 23 '25 07:06 codesoda

Yeah I also opened a PR to fix but it never got attention. Not sure if this is a priority.

ysimonson avatar Jun 23 '25 11:06 ysimonson