chore: fix status

This commit is contained in:
Faisal Amir 2025-08-28 13:10:08 +07:00
parent 11a7bf7331
commit 5257a24181

View File

@ -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()