From b5b09dc8b40decd15a843c09b54151a04c64f241 Mon Sep 17 00:00:00 2001 From: wangdan-fit2cloud <79562285+wangdan-fit2cloud@users.noreply.github.com> Date: Thu, 24 Apr 2025 11:24:44 +0800 Subject: [PATCH] fix: Fixed interface parameter transmission not displaying during debugging (#2969) --- ui/src/components/ai-chat/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/src/components/ai-chat/index.vue b/ui/src/components/ai-chat/index.vue index 7dba50c56..57d09462a 100644 --- a/ui/src/components/ai-chat/index.vue +++ b/ui/src/components/ai-chat/index.vue @@ -162,7 +162,10 @@ const initialApiFormData = ref({}) const isUserInput = computed( () => props.applicationDetails.work_flow?.nodes?.filter((v: any) => v.id === 'base-node')[0] - .properties.user_input_field_list.length > 0 + .properties.user_input_field_list.length > 0 || + (props.type === 'debug-ai-chat' && + props.applicationDetails.work_flow?.nodes?.filter((v: any) => v.id === 'base-node')[0] + .properties.api_input_field_list.length > 0) ) const showUserInputContent = computed(() => { return ((isUserInput.value && firsUserInput.value) || showUserInput.value) && props.type !== 'log'