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

Maximum context length exceeded #9

Open
marsk97 opened this issue Jul 15, 2023 · 0 comments
Open

Maximum context length exceeded #9

marsk97 opened this issue Jul 15, 2023 · 0 comments

Comments

@marsk97
Copy link

marsk97 commented Jul 15, 2023

I'm getting this error when I try to run the extension on some cells, but not others:

Failed to load response from ChatGPT:
{"error":{"message":"This model's maximum context length is 4097 tokens, however you requested 5749 tokens (3701 in your prompt; 2048 for the completion). Please reduce your prompt; or completion length.","type":"invalid_request_error","param":null,"code":null}}

If a using the paid API, because when I choose an option from the chatGPT webapp tab, I get this error:

Failed to load response from ChatGPT:
{"detail":"Our systems have detected unusual activity from your system. Please try again later."}
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