chore: check configuration on initial and change values

This commit is contained in:
jialin
2025-04-02 14:19:06 +08:00
parent b1d7bb9fd7
commit f8a8314476
13 changed files with 84 additions and 75 deletions
+2 -1
View File
@@ -29,7 +29,7 @@ const icons = {
export const modalConfig: Record<
string,
{ show: boolean; width: string | number; source: any }
{ show: boolean; width: string | number; source: any; isGGUF?: boolean }
> = {
huggingface: {
show: true,
@@ -39,6 +39,7 @@ export const modalConfig: Record<
ollama_library: {
show: true,
width: 600,
isGGUF: true,
source: modelSourceMap.ollama_library_value
},
modelscope: {