diff --git a/ui/src/components/ai-chat/component/prologue-content/index.vue b/ui/src/components/ai-chat/component/prologue-content/index.vue index a206fb61423..8176c63af26 100644 --- a/ui/src/components/ai-chat/component/prologue-content/index.vue +++ b/ui/src/components/ai-chat/component/prologue-content/index.vue @@ -15,7 +15,7 @@ void selection?: boolean }>() +const chatMessage = (question: string, type: 'old' | 'new', other_params_data?: any) => { + props.sendMessage(question, other_params_data) +} const showAvatar = computed(() => { return props.application.show_avatar == undefined ? true : props.application.show_avatar