diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index 1936cd53b79..7acbf51d936 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -719,6 +719,10 @@ function chatMessage(chat?: any, problem?: string, re_chat?: boolean, other_para ...api_form_data.value, }, } + + if (other_params_data && other_params_data.form_data) { + obj.form_data = { ...obj.form_data, ...other_params_data.form_data } + } // 对话 getChatMessageAPI()(chartOpenId.value, obj) .then((response) => { diff --git a/ui/src/components/markdown/HtmlRander.vue b/ui/src/components/markdown/HtmlRander.vue index 9a4aaf2aa76..64abd4d40e5 100644 --- a/ui/src/components/markdown/HtmlRander.vue +++ b/ui/src/components/markdown/HtmlRander.vue @@ -81,8 +81,8 @@ ${sourceHtml}