mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 19:36:53 +08:00
Fix: model params in logs (#11298)
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user