fix: ui issue - all models are activated (#1120)

This commit is contained in:
Louis 2023-12-20 16:39:50 +07:00 committed by GitHub
parent 5a0cec931e
commit 2fb7bfc020
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ export default function RowModel(props: RowModelProps) {
const isRemoteModel =
props.data.engine === InferenceEngine.openai ||
InferenceEngine.triton_trtllm
props.data.engine === InferenceEngine.triton_trtllm
const onModelActionClick = (modelId: string) => {
if (activeModel && activeModel.id === modelId) {