MaxKB icon indicating copy to clipboard operation
MaxKB copied to clipboard

[Bug] Maxkb dialogue model context is stuck, and the token input length is accumulated, resulting in the initiation request failure

Open RuanLia opened this issue 7 months ago • 2 comments

Contact Information

No response

MaxKB Version

v1.10.7

Problem Description

多次上传大文本给AI助手,上下文内容莫名累加文本长度导致无法请求,新建对话也累加。ai模型不可用(已发布应用不影响,新建应用受影响)。

Image

Image

Image

Image

  • 重启maxkb服务和数据库服务均不可恢复
  • 同模型重新添加恢复正常,原模型仍不可用

Steps to Reproduce

无法重现,但测试环境和日志保留,卡住的模型还未删除。

The expected correct result

No response

Related log output


Additional Information

No response

RuanLia avatar May 13 '25 02:05 RuanLia

您好,这种情况请将历史聊天记录设为 0,恢复对话请尝试清除浏览器缓存和重启模型的方法。

Shenguobin0102 avatar May 13 '25 06:05 Shenguobin0102

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.

shaohuzhang1 avatar May 13 '25 06:05 shaohuzhang1

未收到您的回复,暂时关闭该问题。

Shenguobin0102 avatar May 26 '25 02:05 Shenguobin0102

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Your reply was not received, so the issue is temporarily closed.

shaohuzhang1 avatar May 26 '25 02:05 shaohuzhang1