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
| Where | Before | After |
|---|---|---|
| ChatCompletionMessageList.data[].audio | present | absent |
| ChatCompletionMessageList.data[].annotations | present | absent |
| ChatCompletionMessageList.data[].function_call | present | absent |
| ChatCompletionMessageList.data[].refusal | present | absent |
| ChatCompletionMessageList.data[].tool_calls | present | absent |
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.