Skip to content

Failing to deserialize API response when translating audio with SRT output #212

@fversaci

Description

@fversaci

Hi,
I'm attempting to translate audio directly into English (API).

When I set the response_format to Json, everything works correctly. However, when setting the response_format to Srt I encounter the following error:

Error: failed to deserialize api response: invalid type: integer `1`, expected struct CreateTranslationResponse at line 1 column 1

Am I doing something wrong?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec syncRequires new changes published in upstream spec - openai-openapi

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions