mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 22:43:42 +08:00
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:
@@ -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,
|
||||
);
|
||||
}, [
|
||||
|
||||
Reference in New Issue
Block a user