jackMort / jackMort/ChatGPT.nvim

max_tokens limit wrong value

Open
#444 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
4k
Forks
317
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading lua/chatgpt/settings.lua at the referenced line and compare the max_tokens setting with the linked OpenAI GPT-4o documentation. Done means the configured limit matches the supported value and the setting remains valid for the plugin's API requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
api, tooling
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.