rikhuijzer / ata

Ask the Terminal Anything (ATA): ChatGPT in the terminal
MIT License
274 stars 17 forks source link

max_tokens parameter #25

Closed marioseixas closed 1 year ago

marioseixas commented 1 year ago

Hello

congratz on this awesome tool

Please remove the max_tokens parameter, so it could default to (4096 - prompt tokens)

You should not set the max_token, according to the official openAI API, the default value is Inf, and the model can process up to 4096 tokens of information.

222904560-73acded3-006f-4b98-bd91-cba58d91e45a