to:sync
This commit is contained in:
parent
76b14c0832
commit
0072ede4b1
@ -135,7 +135,7 @@
|
|||||||
// 结束时的回调。1.将消息添加到历史消息中 2.将等待状态设置为false
|
// 结束时的回调。1.将消息添加到历史消息中 2.将等待状态设置为false
|
||||||
() => {addMessage("assistant", htmlSpanElement.innerHTML); waiting = false},
|
() => {addMessage("assistant", htmlSpanElement.innerHTML); waiting = false},
|
||||||
// 发生错误时的回调
|
// 发生错误时的回调
|
||||||
(error) => {console.log(error)}
|
(error) => {console.log(error); waiting = false}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user