Skip to content

error while translating "Applications" using gpt-5. Assigned "--" instead of exit from cli. #90

Description

@do-web

While running the CLI translation tool, GPT-5 failed to translate the string "Applications".
Instead of exiting or skipping, it assigned "--" as the translation result.

Console output:

O Translating. Please wait. 11 of 1444 translated. In cache: 0
Error: Failed to translate text with GPT: Error: 400 Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.

Expected behavior:
The CLI should exit gracefully or skip the failed translation, not insert "--" as a placeholder.
Also, the tool should be updated to use max_completion_tokens instead of max_tokens for GPT-5 compatibility.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions