mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: The dialogue prompt is incorrect (#2197)
This commit is contained in:
parent
be27e15885
commit
6ecc1c6aa8
|
|
@ -388,6 +388,9 @@ export class ChatRecordManage {
|
|||
(item) => item.length == 1 && item[0].content == '',
|
||||
'index'
|
||||
)
|
||||
if (set_index <= -1) {
|
||||
set_index = 0
|
||||
}
|
||||
this.chat.answer_text_list[set_index] = [
|
||||
{
|
||||
content: answer_text_block,
|
||||
|
|
|
|||
Loading…
Reference in New Issue