mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修复接口传入类型参数没有输入时,历史会话重新生成没有拦截的问题
This commit is contained in:
parent
b7a62ea147
commit
a665a7f718
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue