mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: chat avatar display problem
This commit is contained in:
parent
9750c6d605
commit
da03442be2
|
|
@ -359,6 +359,9 @@ function getDetail() {
|
|||
detail.value.tts_model_id = res.data.tts_model
|
||||
detail.value.tts_type = res.data.tts_type
|
||||
saveTime.value = res.data?.update_time
|
||||
application.asyncGetAccessToken(id, loading).then((res: any) => {
|
||||
detail.value = { ...detail.value, ...res.data }
|
||||
})
|
||||
workflowRef.value?.clearGraphData()
|
||||
nextTick(() => {
|
||||
workflowRef.value?.render(detail.value.work_flow)
|
||||
|
|
|
|||
|
|
@ -693,6 +693,9 @@ function getDetail() {
|
|||
applicationForm.value.tts_type = res.data.tts_type
|
||||
applicationForm.value.model_setting.no_references_prompt =
|
||||
res.data.model_setting.no_references_prompt || '{question}'
|
||||
application.asyncGetAccessToken(id, loading).then((res: any) => {
|
||||
applicationForm.value = { ...applicationForm.value, ...res.data }
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue