diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index ebe2b3ddf3..7d2d1a1af0 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -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)