Page URL
https://openrouter.ai/docs/guides/overview/multimodal/audio
What's wrong?
The audio guide shows how to receive delta.audio fragments, but does not include the terminal events of an audio response.
The streaming reference describes a terminal finish_reason repeated in the final usage chunk before [DONE]. Could the audio guide confirm how this applies to audio output?
Expected content
A complete streaming audio example showing the final audio chunk, terminal finish reason, usage chunk, and [DONE] marker would help.
Please clarify:
- Whether every successfully completed audio choice includes
finish_reason: "stop".
- Whether a successful audio response can end with only null finish reasons followed by
[DONE], and how clients should confirm completion in that case.
- Any model or provider differences clients should account for.
Page URL
https://openrouter.ai/docs/guides/overview/multimodal/audio
What's wrong?
The audio guide shows how to receive
delta.audiofragments, but does not include the terminal events of an audio response.The streaming reference describes a terminal
finish_reasonrepeated in the final usage chunk before[DONE]. Could the audio guide confirm how this applies to audio output?Expected content
A complete streaming audio example showing the final audio chunk, terminal finish reason, usage chunk, and
[DONE]marker would help.Please clarify:
finish_reason: "stop".[DONE], and how clients should confirm completion in that case.