mirror of https://github.com/langgenius/dify.git
Fix: model params in logs (#11298)
This commit is contained in:
parent
c58d2fce89
commit
ff2a4a6fcd
|
|
@ -318,7 +318,7 @@ function DetailPanel({ detail, onFeedback }: IDetailPanel) {
|
|||
const targetTone = TONE_LIST.find((item: any) => {
|
||||
let res = true
|
||||
validatedParams.forEach((param) => {
|
||||
res = item.config?.[param] === detail.model_config?.configs?.completion_params?.[param]
|
||||
res = item.config?.[param] === detail?.model_config.model?.completion_params?.[param]
|
||||
})
|
||||
return res
|
||||
})?.name ?? 'custom'
|
||||
|
|
|
|||
Loading…
Reference in New Issue