mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-19 20:20:16 +09:00
fixup
This commit is contained in:
parent
48a6cdd50a
commit
a913d9728c
@ -137,6 +137,7 @@ export const useAppConfig = create<ChatConfigStore>()(
|
||||
allModels() {
|
||||
const customModels = get()
|
||||
.customModels.split(",")
|
||||
.filter((v) => !!v && v.length > 0)
|
||||
.map((m) => ({ name: m, available: true }));
|
||||
|
||||
const models = get().models.concat(customModels);
|
||||
|
Loading…
Reference in New Issue
Block a user