Closed yangguang760 closed 1 year ago
What is the current value set for Max Tokens in the plugin settings? Also, what model are you using?
The plugin works by deducting the current message length and setting the reminder as max length that the model is allowed to return. [This means that the model does not use max length even if it is allowed to do so. OpenAI however disallows specifying max length value over their model's limit.]
Setting the ChatGPT Max tokens to 4000 should fix the issue.
@debanjandhar12 Thanks a lot!
why there are so many tokens in completion?