Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

chore: fix status

Faisal Amir5257a24181df
diff --git a/web-app/src/containers/ModelSupportStatus.tsx b/web-app/src/containers/ModelSupportStatus.tsx
index 43827f58e..770d126f8 100644
--- a/web-app/src/containers/ModelSupportStatus.tsx
+++ b/web-app/src/containers/ModelSupportStatus.tsx
@@ -24,7 +24,7 @@ export const ModelSupportStatus = ({
className,
}: ModelSupportStatusProps) => {
const [modelSupportStatus, setModelSupportStatus] = useState<
- 'RED' | 'YELLOW' | 'GREEN' | 'LOADING' | null
+ 'RED' | 'YELLOW' | 'GREEN' | 'LOADING' | null | 'GREY'
>(null)
// Helper function to check model support with proper path resolution
@@ -32,7 +32,7 @@ export const ModelSupportStatus = ({
async (
id: string,
ctxSize: number
- ): Promise<'RED' | 'YELLOW' | 'GREEN' | null> => {
+ ): Promise<'RED' | 'YELLOW' | 'GREEN' | 'GREY' | null> => {
try {
const janDataFolder = await getJanDataFolderPath()