From f92499cbe56fa2c071a50546de0506549c6f66b6 Mon Sep 17 00:00:00 2001 From: jialin Date: Fri, 10 Jul 2026 15:18:58 +0800 Subject: [PATCH] refactor(llmodels): rename MyModelsStatusValueMap keys to Stopped/NotReady/Ready --- src/pages/llmodels/components/model-item.tsx | 2 +- src/pages/llmodels/config/index.ts | 18 +++++++++--------- src/pages/llmodels/hooks/use-filter-status.tsx | 6 +++--- src/pages/llmodels/user-models.tsx | 18 ++++++++++-------- 4 files changed, 23 insertions(+), 21 deletions(-) diff --git a/src/pages/llmodels/components/model-item.tsx b/src/pages/llmodels/components/model-item.tsx index c59395f6..bf2202e5 100644 --- a/src/pages/llmodels/components/model-item.tsx +++ b/src/pages/llmodels/components/model-item.tsx @@ -249,7 +249,7 @@ const ModelItem: React.FC<{ )} - {[MyModelsStatusValueMap.Active].includes(model.status) && ( + {[MyModelsStatusValueMap.Ready].includes(model.status) && (