Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error happened while creating a response: [ERROR - POST /generate] #66

Open
RafaelXYZ-BR opened this issue Jun 25, 2023 · 0 comments

Comments

@RafaelXYZ-BR
Copy link

Hello!

After some interactions with the AI, it's begins to deliver the same response for every interaction:

"An error happened while creating a response: [ERROR - POST /generate] This model's maximum context length is 4097 tokens. However, you requested 4242 tokens (3986 in the messages, 256 in the completion). Please reduce the length of the messages or completion."

How can I solve this issue?
Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant