diff --git a/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue b/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue index c9ec63656..c9c8bc5b6 100644 --- a/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue +++ b/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue @@ -154,10 +154,7 @@ function markdownToPlainText(md: string) { function removeFormRander(text: string) { return text - .replace('你好,请先填写下面表单内容:', '') - .replace('请先填写以下表单并点击提交按钮', '') .replace(/[\s\S]*?<\/form_rander>/g, '') - .replace('填写后请点击【提交】按钮进行提交。', '') .trim() } diff --git a/ui/src/components/ai-chat/component/operation-button/LogOperationButton.vue b/ui/src/components/ai-chat/component/operation-button/LogOperationButton.vue index 5fe74b9f5..77d8470f0 100644 --- a/ui/src/components/ai-chat/component/operation-button/LogOperationButton.vue +++ b/ui/src/components/ai-chat/component/operation-button/LogOperationButton.vue @@ -133,10 +133,7 @@ function markdownToPlainText(md: string) { function removeFormRander(text: string) { return text - .replace('你好,请先填写下面表单内容:', '') - .replace('请先填写以下表单并点击提交按钮', '') .replace(/[\s\S]*?<\/form_rander>/g, '') - .replace('填写后请点击【提交】按钮进行提交。', '') .trim() }