From e8c559580a9fc74b950cb40f327082fdf9e5d8a1 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud Date: Mon, 3 Mar 2025 15:27:50 +0800 Subject: [PATCH 1/5] perf: Optimization codemirror title --- ui/src/components/codemirror-editor/index.vue | 8 ++------ ui/src/components/dynamics-form/items/JsonInput.vue | 2 +- .../views/function-lib/component/FunctionFormDrawer.vue | 6 +++++- ui/src/workflow/nodes/function-node/index.vue | 1 + ui/src/workflow/nodes/variable-assign-node/index.vue | 1 + 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/ui/src/components/codemirror-editor/index.vue b/ui/src/components/codemirror-editor/index.vue index 0d9d81cac..52fc72367 100644 --- a/ui/src/components/codemirror-editor/index.vue +++ b/ui/src/components/codemirror-editor/index.vue @@ -16,12 +16,7 @@ - + () const emit = defineEmits(['update:modelValue', 'submitDialog']) diff --git a/ui/src/components/dynamics-form/items/JsonInput.vue b/ui/src/components/dynamics-form/items/JsonInput.vue index 6e55fcf0e..19b68a901 100644 --- a/ui/src/components/dynamics-form/items/JsonInput.vue +++ b/ui/src/components/dynamics-form/items/JsonInput.vue @@ -22,7 +22,7 @@ diff --git a/ui/src/views/function-lib/component/FunctionFormDrawer.vue b/ui/src/views/function-lib/component/FunctionFormDrawer.vue index 2b8031e8c..1435aca93 100644 --- a/ui/src/views/function-lib/component/FunctionFormDrawer.vue +++ b/ui/src/views/function-lib/component/FunctionFormDrawer.vue @@ -134,7 +134,11 @@
- +

{{ $t('common.param.outputParam') }} diff --git a/ui/src/workflow/nodes/function-node/index.vue b/ui/src/workflow/nodes/function-node/index.vue index 0bbd5158a..26bf9c46b 100644 --- a/ui/src/workflow/nodes/function-node/index.vue +++ b/ui/src/workflow/nodes/function-node/index.vue @@ -79,6 +79,7 @@

Date: Mon, 3 Mar 2025 16:05:40 +0800 Subject: [PATCH 3/5] fix: Similarity value error --- ui/src/components/ai-chat/component/ParagraphCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/ai-chat/component/ParagraphCard.vue b/ui/src/components/ai-chat/component/ParagraphCard.vue index d6b7936d9..1e6f30893 100644 --- a/ui/src/components/ai-chat/component/ParagraphCard.vue +++ b/ui/src/components/ai-chat/component/ParagraphCard.vue @@ -68,7 +68,7 @@ const props = defineProps({ }, score: { type: Number, - default: 0 + default: null } }) const isMetaObject = computed(() => typeof props.data.meta === 'object') From 4fc429a8d19475828ae2034f4786eb82f234b3a6 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 3 Mar 2025 15:40:43 +0800 Subject: [PATCH 4/5] fix: record log content error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1052670 --user=王孝刚 应用-企业微信对接应用后,在企业微信中与应用对话,对话日志中思考过程输出了两次 https://www.tapd.cn/57709429/s/1661186 --- .../chat_pipeline/step/chat_step/impl/base_chat_step.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/application/chat_pipeline/step/chat_step/impl/base_chat_step.py b/apps/application/chat_pipeline/step/chat_step/impl/base_chat_step.py index 7395240b1..e782e7e3f 100644 --- a/apps/application/chat_pipeline/step/chat_step/impl/base_chat_step.py +++ b/apps/application/chat_pipeline/step/chat_step/impl/base_chat_step.py @@ -301,7 +301,7 @@ class BaseChatStep(IChatStep): reasoning_content = reasoning_result.get('reasoning_content') + reasoning_result_end.get( 'reasoning_content') post_response_handler.handler(chat_id, chat_record_id, paragraph_list, problem_text, - chat_result.content, manage, self, padding_problem_text, client_id, + content, manage, self, padding_problem_text, client_id, reasoning_content=reasoning_content if reasoning_content_enable else '') add_access_num(client_id, client_type, manage.context.get('application_id')) return manage.get_base_to_response().to_block_response(str(chat_id), str(chat_record_id), From e7f13871f824b86a2a04cc56083e92f8dc957307 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Mon, 3 Mar 2025 16:17:26 +0800 Subject: [PATCH 5/5] fix: member list does not support ignoring case MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1052688 --user=王孝刚 【团队成员】成员列表搜索不支持忽略大小写 https://www.tapd.cn/57709429/s/1661230 --- ui/src/views/team/index.vue | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/ui/src/views/team/index.vue b/ui/src/views/team/index.vue index c96754cd4..819515cfc 100644 --- a/ui/src/views/team/index.vue +++ b/ui/src/views/team/index.vue @@ -3,7 +3,7 @@
-

{{$t('views.team.member')}}

+

{{ $t('views.team.member') }}

@@ -29,7 +29,9 @@
{{ row.username }} - {{$t('views.team.manage')}} + {{ + $t('views.team.manage') + }}
@@ -38,9 +40,9 @@ @@ -53,7 +55,7 @@
-

{{$t('views.team.permissionSetting')}}

+

{{ $t('views.team.permissionSetting') }}

- {{ $t('common.save')}} + {{ $t('common.save') }}
@@ -118,7 +120,9 @@ const settingTags = reactive([ watch(filterText, (val) => { if (val) { - filterMember.value = memberList.value.filter((v) => v.username.includes(val)) + filterMember.value = memberList.value.filter((v) => + v.username.toLowerCase().includes(val.toLowerCase()) + ) } else { filterMember.value = memberList.value }