diff --git a/ui/src/components/ai-chat/component/user-form/index.vue b/ui/src/components/ai-chat/component/user-form/index.vue index 617b56cf36e..e8fc142476d 100644 --- a/ui/src/components/ai-chat/component/user-form/index.vue +++ b/ui/src/components/ai-chat/component/user-form/index.vue @@ -323,7 +323,10 @@ const checkInputParam = () => { } } if (!api_form_data_context.value['asker']) { - api_form_data_context.value['asker'] = getRouteQueryValue('asker') + const asker = getRouteQueryValue('asker') + if (asker) { + api_form_data_context.value['asker'] = getRouteQueryValue('asker') + } } if (msg.length > 0) { diff --git a/ui/src/views/application/component/ReasoningParamSettingDialog.vue b/ui/src/views/application/component/ReasoningParamSettingDialog.vue index 8e36294f27a..3d318cf267c 100644 --- a/ui/src/views/application/component/ReasoningParamSettingDialog.vue +++ b/ui/src/views/application/component/ReasoningParamSettingDialog.vue @@ -19,6 +19,7 @@ :label="$t('views.application.applicationForm.form.reasoningContent.start')" >