You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After 15 minutes of using ChatGPT it responds with "Error: HTTP error! status: 400"
There is a workaround where you disable the context feature (the green button in the upper right). Still, it would be nice if I could keep this feature.
The text was updated successfully, but these errors were encountered:
I think this is caused because I haven't set a limit for the context of the chat. So, every time you ask something, all the previous messages will be sent to the API. ChatGPT has a limited context of 4096 tokens, so exceeding that limit will result in an error. This issue will be fixed, but until 7 July, I am occupied with exams.
{
"error": {
"message": "This model's maximum context length is 4097 tokens. However, you requested 4610 tokens (1610 in the messages, 3000 in the completion). Please reduce the length of the messages or completion.",
"type": "invalid_request_error",
"param": "messages",
"code": "context_length_exceeded"
}
}
After 15 minutes of using ChatGPT it responds with "Error: HTTP error! status: 400"
![image](https://private-user-images.githubusercontent.com/62175802/248479340-99172692-ecc7-4cfa-a986-85b36f6b7f6f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxMjc1NzAsIm5iZiI6MTcxOTEyNzI3MCwicGF0aCI6Ii82MjE3NTgwMi8yNDg0NzkzNDAtOTkxNzI2OTItZWNjNy00Y2ZhLWE5ODYtODViMzZmNmI3ZjZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDA3MjExMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZjZDIxNzI0ZjJkMWQ3MmU3NWY3NjI3YzdkMWQzM2NhMmFiYWZlZTJlZTM1NDYzMTIwMmVlMGU0YzFmZDk1OGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Bq2cbudsIIvEs5M0YQEnEpj-Lmyln-9vTDoXNcy0H_c)
![image](https://private-user-images.githubusercontent.com/62175802/248479601-4f20090b-8a01-4929-8271-4392c146c242.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkxMjc1NzAsIm5iZiI6MTcxOTEyNzI3MCwicGF0aCI6Ii82MjE3NTgwMi8yNDg0Nzk2MDEtNGYyMDA5MGItOGEwMS00OTI5LTgyNzEtNDM5MmMxNDZjMjQyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIzVDA3MjExMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTliYTBmMzY0NjBhNDM2ZGRmMWRjOTk5OTJlZWVhZWNjNTQ0MjYyOWNlZGFkMTc1M2I0MWU5NjA1MzU4Y2FmNDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ChaoPYxSv3VomQfU1DJCcIWMwgxWt-AQa3lenaIDJCA)
There is a workaround where you disable the context feature (the green button in the upper right). Still, it would be nice if I could keep this feature.
The text was updated successfully, but these errors were encountered: