From 09b56c9399064fd6c5678d6beb4c504a1d0395c4 Mon Sep 17 00:00:00 2001 From: "E.da" <46555117+yooyui@users.noreply.github.com> Date: Fri, 16 Aug 2024 10:50:09 +0800 Subject: [PATCH] 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 --- app/utils/hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/utils/hooks.ts b/app/utils/hooks.ts index b3b726927..214d0892f 100644 --- a/app/utils/hooks.ts +++ b/app/utils/hooks.ts @@ -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, ); }, [