Skip to content

Diarized Json does not return as a json #800

Description

@wskr00

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
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions