fix: 修复接口传入类型参数没有输入时,历史会话重新生成没有拦截的问题

This commit is contained in:
CaptainB 2024-09-20 12:05:03 +08:00 committed by 刘瑞斌
parent b7a62ea147
commit a665a7f718

View File

@ -768,6 +768,9 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean) {
}
function regenerationChart(item: chatType) {
if (!checkInputParam()) {
return
}
inputValue.value = item.problem_text
if (!loading.value) {
chatMessage(null, '', true)