mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-02 16:16:39 +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:
parent
4aae37b90c
commit
09b56c9399
@ -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,
|
||||
);
|
||||
}, [
|
||||
|
Loading…
Reference in New Issue
Block a user