Closed zdjjj closed 1 year ago
Are you having too long a conversation? The error message has been given in the screenshot that the model's maximum context length is 4097 tokens. Please try clearing the history message.
get 感谢大佬
Are you having too long a conversation? The error message has been given in the screenshot that the model's maximum context length is 4097 tokens. Please try clearing the history message.
If I cleared the history message, the model will lose all the history. Maybe use a Queue to shift the messages? So that I can see the whole chat history while only part of them will be sent to the model to get the next reply.
I agree with the brother upstairs. If the clean button is used, my browsing history will be lost. I hope to add a function to cache browsing history based on the systeam role ID.
I often encounter this problem. I think maybe I can consider setting a context upper limit, or just use Anse instead.
Describe the bug
聊一会就会出现token报错提示,旧版本不会
Reproduction
production
System Info
Used Package Manager
npm
Validations