Bug
AudioResponseFormat.DIARIZED_JSON is not treated as a JSON response format.
Reproduction
AudioResponseFormat defines DIARIZED_JSON, but isJson() does not include it:
internal fun isJson(): Boolean =
when (this) {
JSON -> true
TEXT -> false
SRT -> false
VERBOSE_JSON -> true
VTT -> false
else -> false
}
Bug
AudioResponseFormat.DIARIZED_JSONis not treated as a JSON response format.Reproduction
AudioResponseFormatdefinesDIARIZED_JSON, butisJson()does not include it: