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.
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.