We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1f6092 commit b5b09dcCopy full SHA for b5b09dc
ui/src/components/ai-chat/index.vue
@@ -162,7 +162,10 @@ const initialApiFormData = ref({})
162
const isUserInput = computed(
163
() =>
164
props.applicationDetails.work_flow?.nodes?.filter((v: any) => v.id === 'base-node')[0]
165
- .properties.user_input_field_list.length > 0
+ .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)
169
)
170
const showUserInputContent = computed(() => {
171
return ((isUserInput.value && firsUserInput.value) || showUserInput.value) && props.type !== 'log'
0 commit comments