Skip to content

Commit

Permalink
Fix: model params in logs (#11298)
Browse files Browse the repository at this point in the history
  • Loading branch information
JzoNgKVO authored Dec 3, 2024
1 parent c58d2fc commit ff2a4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/components/app/log/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit ff2a4a6

Please sign in to comment.