[Bug] historical chat record variable assignment bug
Contact Information
No response
MaxKB Version
v1.10.2-lts
Problem Description
历史聊天记录变量赋值bug
Steps to Reproduce
对历史聊天记录变量进行重新赋值之后,
AI对话模块还是会使用原始的历史聊天记录,这里本次对话中的内容是成功修改后的历史,但是显示的历史记录还是原始的历史,看起来历史像是两个变量存储的,通过变量赋值可以成功赋值其中一个变量,但是实际问答的历史又是另外的变量。
The expected correct result
No response
Related log output
Additional Information
No response
您好,目前是这样设计的,ai对话显示的历史聊天记录是不会被修改的
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Hello, it is currently designed like this. The historical chat history displayed by AI dialogue will not be modified.
您好,感谢回复! ai对话显示的历史聊天记录不会被修改,请问对话实际使用的是显示的历史对话,还是已经全局变量赋值修改后的历史对话?
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Hello, thanks for the reply! The historical chat history displayed by the ai dialogue will not be modified. Does the dialogue actually use the displayed historical conversation, or the historical conversation after the global variable assignment has been modified?