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'