What changed
Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.
Affects type on VoiceResource reachable from 1 operation.
New value: prompt.
can now return "prompt"
Who is affected
Code that reads OpenAI's VoiceResource objects, used by 1 OpenAI operation.
Before and after
| Where | Before | After |
|---|---|---|
| VoiceResource.type | "audio_sample" | "audio_sample", "prompt" |
Code that breaks
switch (response.type) {
// existing branches …
// no branch for "prompt"
default:
throw new Error("unexpected type");
}Based on OpenAI’s published API specification. How severity is decided.