Fix: model params in logs (#11298)
This commit is contained in:
parent
c58d2fce89
commit
ff2a4a6fcd
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue