Driftwatch

OpenAI / OpenAI API /

Breaking

Response field audio removed

What changed

Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

Affects ChatCompletionMessageList reachable from 1 operation.

Who is affected

Code that reads OpenAI's ChatCompletionMessageList objects, used by 1 OpenAI operation.

Before and after

WhereBeforeAfter
ChatCompletionMessageList.data[].audiopresentabsent
ChatCompletionMessageList.data[].annotationspresentabsent
ChatCompletionMessageList.data[].function_callpresentabsent
ChatCompletionMessageList.data[].refusalpresentabsent
ChatCompletionMessageList.data[].tool_callspresentabsent

Code that breaks

// response.data[0].audio is now undefined
const audio = response.data[0].audio;

Based on OpenAI’s published API specification. How severity is decided.