fkirc / attranslate

A command line tool for translating JSON, YAML, CSV, ARB, XML (via a CLI)
https://www.npmjs.com/package/attranslate
Other
336 stars 27 forks source link

Fix problem with too short OpenAI-responses #249

Closed fkirc closed 1 year ago

fkirc commented 1 year ago

Setting max_tokens according to https://platform.openai.com/docs/api-reference/completions/create#completions/create-max_tokens