perf: workflow default value
This commit is contained in:
parent
c817df393f
commit
c249f7501f
@ -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(() => {
|
||||
|
||||
@ -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',
|
||||
|
||||
@ -97,7 +97,7 @@ const form = {
|
||||
reply_type: 'content',
|
||||
content: '',
|
||||
fields: [],
|
||||
is_result: false
|
||||
is_result: true,
|
||||
}
|
||||
|
||||
const form_data = computed({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user