File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
components/ai-chat/component/question-content Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -99,15 +99,14 @@ import { type chatType } from '@/api/type/application'
9999import { getImgUrl , downloadByURL } from ' @/utils/common'
100100import { getAttrsArray } from ' @/utils/array'
101101import { onMounted , computed } from ' vue'
102- import useStore from ' @/stores'
103102const props = defineProps <{
104103 application: any
105104 chatRecord: chatType
106105 type: ' log' | ' ai-chat' | ' debug-ai-chat'
107106}>()
108107
109108const showAvatar = computed (() => {
110- return props .application .show_avatar == undefined ? true : props .application .show_avatar
109+ return props .application .show_user_avatar == undefined ? true : props .application .show_user_avatar
111110})
112111
113112const document_list = computed (() => {
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ const form = {
223223 system: ' ' ,
224224 prompt: defaultPrompt ,
225225 dialogue_number: 1 ,
226- is_result: false ,
226+ is_result: true ,
227227 temperature: null ,
228228 max_tokens: null ,
229229 dialogue_type: ' WORKFLOW' ,
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ const form = {
9797 reply_type: ' content' ,
9898 content: ' ' ,
9999 fields: [],
100- is_result: false
100+ is_result: true ,
101101}
102102
103103const form_data = computed ({
You can’t perform that action at this time.
0 commit comments