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 == '',
|
(item) => item.length == 1 && item[0].content == '',
|
||||||
'index'
|
'index'
|
||||||
)
|
)
|
||||||
|
if (set_index <= -1) {
|
||||||
|
set_index = 0
|
||||||
|
}
|
||||||
this.chat.answer_text_list[set_index] = [
|
this.chat.answer_text_list[set_index] = [
|
||||||
{
|
{
|
||||||
content: answer_text_block,
|
content: answer_text_block,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user