[Bug] Maxkb dialogue model context is stuck, and the token input length is accumulated, resulting in the initiation request failure
Contact Information
No response
MaxKB Version
v1.10.7
Problem Description
多次上传大文本给AI助手,上下文内容莫名累加文本长度导致无法请求,新建对话也累加。ai模型不可用(已发布应用不影响,新建应用受影响)。
- 重启maxkb服务和数据库服务均不可恢复
- 同模型重新添加恢复正常,原模型仍不可用
Steps to Reproduce
无法重现,但测试环境和日志保留,卡住的模型还未删除。
The expected correct result
No response
Related log output
Additional Information
No response
您好,这种情况请将历史聊天记录设为 0,恢复对话请尝试清除浏览器缓存和重启模型的方法。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Hello, in this case, please set the historical chat history to 0. To restore the conversation, please try to clear the browser cache and restart the model.
未收到您的回复,暂时关闭该问题。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Your reply was not received, so the issue is temporarily closed.