jackMort / ChatGPT.nvim

ChatGPT Neovim Plugin: Effortless Natural Language Generation with OpenAI's ChatGPT API
Apache License 2.0
3.56k stars 307 forks source link

max_tokens limit wrong value #444

Open Zik42 opened 3 weeks ago

Zik42 commented 3 weeks ago

Why does max_tokens had limit to 4096? https://github.com/jackMort/ChatGPT.nvim/blob/df53728e05129278d6ea26271ec086aa013bed90/lua/chatgpt/settings.lua#L30

According to the docs it can be up to 128 000 https://platform.openai.com/docs/models/gpt-4o