Skip to content

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

@do-web

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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