The error message means you've exceeded the context length limit for the model you're using. In this case, the maximum context length is 16,384 tokens, but your request used 16,877 tokens (16,365 in your messages plus 512 in the completion). This is more than the model can handle at once.
How to Fix:
- Reduce the length of your chat history/messages: Delete or trim earlier messages in the conversation.
- Shorten your input: Use shorter prompts or reduce the system/context instructions.
- You might need to start a new chat/session if the website doesn't let you delete messages individually.
Tip:
If you hit this error, the quickest fix is to clear your chat history or start a new conversation. For roleplay/story sites, look for a βrefreshβ or βnew chatβ button.
If you need detailed help on reducing tokens or setting up your API/config for a site, let me know which website you're using.
Info:
- The free/public model
cosmosrphas a 16k token context limit. - Check each modelβs specific token limit in the models channel.
If you have further trouble, you can create a support ticket in the ticket channel.
Please note: This is an automated response from @worn heron. While it strive to provide accurate assistance, It may occasionally make mistakes. If you find any inaccuracies or need further clarification, feel free to wait for our community helpers to give you further guidance. Thank you.