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
@@ -123,7 +123,7 @@ const SearchModel: React.FC<SearchInputProps> = (props) => {
value: item.name,
label: item.name,
isGGUF: checkIsGGUF(item),
source: modelSourceMap.modelscope_value
source: modelSource
};
});
return list;
@@ -161,7 +161,7 @@ const SearchModel: React.FC<SearchInputProps> = (props) => {
tags: item.Tags,
libraries: item.Libraries,
isGGUF: checkIsGGUF({ tags: item.Tags, libraries: item.Libraries }),
source: modelSourceMap.modelscope_value
source: modelSource
};
});