gpt-commit icon indicating copy to clipboard operation
gpt-commit copied to clipboard

Model's maximum context length exceeded

Open il-santo opened this issue 2 years ago • 0 comments

Unless the commit is a very very very small one (a few lines in a single file), I always get this error:

Error: (error http 400) ((error (message . This model's maximum context length is 16385 tokens. However, your messages resulted in 27482 tokens. Please reduce the length of the messages.) (type . invalid_request_error) (param . messages) (code . context_length_exceeded)))

il-santo avatar Jul 19 '23 09:07 il-santo