mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 【问答页面】提问达到最大限制的时候 返回内容重复。 (#301)
This commit is contained in:
parent
e4bcebd579
commit
e543acd2d1
|
|
@ -56,7 +56,7 @@ export class ChatRecordManage {
|
|||
this.chat.answer_text =
|
||||
this.chat.answer_text + this.chat.buffer.splice(0, this.chat.buffer.length - 20).join('')
|
||||
} else if (this.is_close) {
|
||||
this.chat.answer_text = this.chat.answer_text + this.chat.buffer.join('')
|
||||
this.chat.answer_text = this.chat.answer_text + this.chat.buffer.splice(0).join('')
|
||||
this.chat.write_ed = true
|
||||
this.write_ed = true
|
||||
if (this.loading) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue