Skip to content

Commit b5b09dc

Browse files
fix: Fixed interface parameter transmission not displaying during debugging (#2969)
1 parent b1f6092 commit b5b09dc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ui/src/components/ai-chat/index.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,10 @@ const initialApiFormData = ref({})
162162
const isUserInput = computed(
163163
() =>
164164
props.applicationDetails.work_flow?.nodes?.filter((v: any) => v.id === 'base-node')[0]
165-
.properties.user_input_field_list.length > 0
165+
.properties.user_input_field_list.length > 0 ||
166+
(props.type === 'debug-ai-chat' &&
167+
props.applicationDetails.work_flow?.nodes?.filter((v: any) => v.id === 'base-node')[0]
168+
.properties.api_input_field_list.length > 0)
166169
)
167170
const showUserInputContent = computed(() => {
168171
return ((isUserInput.value && firsUserInput.value) || showUserInput.value) && props.type !== 'log'

0 commit comments

Comments
 (0)