Skip to content

[Bug]: Documentation parameter mismatch in /v1/media/transcribe #216

@slikNET

Description

@slikNET

Describe the bug

In the API documentation for the /v1/media/transcribe endpoint, the parameter is listed as max_words_per_line.
However, in the actual code implementation, the parameter name is words_per_line.

This inconsistency causes confusion and potential errors when trying to call the endpoint according to the documentation.

Reproduction Steps

  1. Check the /v1/media/transcribe endpoint documentation.
  2. Note that it lists max_words_per_line as a valid parameter.
  3. Review the source file defining the function for this endpoint.
  4. Observe that the function actually expects words_per_line instead.

Expected behavior

No response

Screenshots and relevant files

No response

Platform

Local

Would you like to work on this issue?

None

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions