From 4fb1fe463aaf71549c824787ec5ff793755bc3b9 Mon Sep 17 00:00:00 2001 From: jialin Date: Thu, 12 Sep 2024 10:25:39 +0800 Subject: [PATCH] fix: gpu selector edit same key --- src/pages/llmodels/components/update-modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/llmodels/components/update-modal.tsx b/src/pages/llmodels/components/update-modal.tsx index b168e23a..53d5bcc5 100644 --- a/src/pages/llmodels/components/update-modal.tsx +++ b/src/pages/llmodels/components/update-modal.tsx @@ -56,7 +56,7 @@ const UpdateModal: React.FC = (props) => { return { ...item, label: item.name, - value: item.name + value: `${item.worker_name}-${item.name}-${item.index}` }; }); setGpuOptions(list);