fix: CUSTOM_MODELS optional configuration -all,+xxx causes the custom model to be unusable

`CUSTOM_MODELS ` optional configuration ` -all,+xxx ` causes the custom model to be unusable
This commit is contained in:
E.da 2024-08-16 10:50:09 +08:00 committed by GitHub
parent 4aae37b90c
commit 09b56c9399
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ export function useAllModels() {
const models = useMemo(() => {
return collectModelsWithDefaultModel(
configStore.models,
[configStore.customModels, accessStore.customModels].join(","),
[accessStore.customModels, configStore.customModels].join(","),
accessStore.defaultModel,
);
}, [