chore: fix status
This commit is contained in:
parent
11a7bf7331
commit
5257a24181
@ -24,7 +24,7 @@ export const ModelSupportStatus = ({
|
|||||||
className,
|
className,
|
||||||
}: ModelSupportStatusProps) => {
|
}: ModelSupportStatusProps) => {
|
||||||
const [modelSupportStatus, setModelSupportStatus] = useState<
|
const [modelSupportStatus, setModelSupportStatus] = useState<
|
||||||
'RED' | 'YELLOW' | 'GREEN' | 'LOADING' | null
|
'RED' | 'YELLOW' | 'GREEN' | 'LOADING' | null | 'GREY'
|
||||||
>(null)
|
>(null)
|
||||||
|
|
||||||
// Helper function to check model support with proper path resolution
|
// Helper function to check model support with proper path resolution
|
||||||
@ -32,7 +32,7 @@ export const ModelSupportStatus = ({
|
|||||||
async (
|
async (
|
||||||
id: string,
|
id: string,
|
||||||
ctxSize: number
|
ctxSize: number
|
||||||
): Promise<'RED' | 'YELLOW' | 'GREEN' | null> => {
|
): Promise<'RED' | 'YELLOW' | 'GREEN' | 'GREY' | null> => {
|
||||||
try {
|
try {
|
||||||
const janDataFolder = await getJanDataFolderPath()
|
const janDataFolder = await getJanDataFolderPath()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user