diff --git a/ui/src/components/ai-chat/component/question-content/index.vue b/ui/src/components/ai-chat/component/question-content/index.vue index e001b119e..4678a5e56 100644 --- a/ui/src/components/ai-chat/component/question-content/index.vue +++ b/ui/src/components/ai-chat/component/question-content/index.vue @@ -99,7 +99,6 @@ import { type chatType } from '@/api/type/application' import { getImgUrl, downloadByURL } from '@/utils/common' import { getAttrsArray } from '@/utils/array' import { onMounted, computed } from 'vue' -import useStore from '@/stores' const props = defineProps<{ application: any chatRecord: chatType @@ -107,7 +106,7 @@ const props = defineProps<{ }>() const showAvatar = computed(() => { - return props.application.show_avatar == undefined ? true : props.application.show_avatar + return props.application.show_user_avatar == undefined ? true : props.application.show_user_avatar }) const document_list = computed(() => { diff --git a/ui/src/workflow/nodes/ai-chat-node/index.vue b/ui/src/workflow/nodes/ai-chat-node/index.vue index 729dd559d..36fd016ea 100644 --- a/ui/src/workflow/nodes/ai-chat-node/index.vue +++ b/ui/src/workflow/nodes/ai-chat-node/index.vue @@ -223,7 +223,7 @@ const form = { system: '', prompt: defaultPrompt, dialogue_number: 1, - is_result: false, + is_result: true, temperature: null, max_tokens: null, dialogue_type: 'WORKFLOW', diff --git a/ui/src/workflow/nodes/reply-node/index.vue b/ui/src/workflow/nodes/reply-node/index.vue index 77e066f25..fbf41eb79 100644 --- a/ui/src/workflow/nodes/reply-node/index.vue +++ b/ui/src/workflow/nodes/reply-node/index.vue @@ -97,7 +97,7 @@ const form = { reply_type: 'content', content: '', fields: [], - is_result: false + is_result: true, } const form_data = computed({