diff --git a/web/containers/Layout/BottomPanel/SystemMonitor/TableActiveModel/index.tsx b/web/containers/Layout/BottomPanel/SystemMonitor/TableActiveModel/index.tsx index e68f843a9..5e8549c7f 100644 --- a/web/containers/Layout/BottomPanel/SystemMonitor/TableActiveModel/index.tsx +++ b/web/containers/Layout/BottomPanel/SystemMonitor/TableActiveModel/index.tsx @@ -6,7 +6,7 @@ import { useActiveModel } from '@/hooks/useActiveModel' import { toGibibytes } from '@/utils/converter' -import { localEngines } from '@/utils/modelEngine' +import { isLocalEngine } from '@/utils/modelEngine' import { serverEnabledAtom } from '@/helpers/atoms/LocalServer.atom' @@ -35,7 +35,7 @@ const TableActiveModel = () => { })} - {activeModel && localEngines.includes(activeModel.engine) ? ( + {activeModel && isLocalEngine(activeModel.engine) ? (