chatchat-space / Langchain-Chatchat

Langchain-Chatchat(原Langchain-ChatGLM)基于 Langchain 与 ChatGLM, Qwen 与 Llama 等语言模型的 RAG 与 Agent 应用 | Langchain-Chatchat (formerly langchain-ChatGLM), local knowledge based LLM (like ChatGLM, Qwen and Llama) RAG and Agent app with langchain
Apache License 2.0
31.7k stars 5.53k forks source link

点击“从知识库中删除”或者“依据源文件重新构建向量库”陷入死循环 #1890

Closed Ewillingfly closed 11 months ago

Ewillingfly commented 12 months ago

如题目,点击这些按钮后页面陷入死循环,这时只可以点击其他按钮才能打断循环怀疑是前端库的问题,版本如下: streamlit 1.28.0 streamlit-aggrid 0.3.4.post3 streamlit-antd-components 0.2.3 streamlit-chatbox 1.1.10 streamlit-option-menu 0.3.6

Gary2018X commented 12 months ago

+1 清除历史也陷入死循环

szdengdi commented 12 months ago

解决办法: server/knowledge_base/kb_doc_api.py的372行 "finished": i 改为 "finished": (i+1)

Ewillingfly commented 11 months ago

解决办法: server/knowledge_base/kb_doc_api.py的372行 "finished": i 改为 "finished": (i+1)

似乎没有起作用

Awyshw commented 11 months ago

是否是streamlit版本问题,1.28.0 回退到1.26.0 是否可行?

cspung commented 11 months ago

是否是streamlit版本问题,1.28.0 回退到1.26.0 是否可行?

试了一下,回退到1.26.0正常了。感谢