mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 20:29:02 +08:00
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) => {
|
const targetTone = TONE_LIST.find((item: any) => {
|
||||||
let res = true
|
let res = true
|
||||||
validatedParams.forEach((param) => {
|
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
|
return res
|
||||||
})?.name ?? 'custom'
|
})?.name ?? 'custom'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user