This commit is contained in:
GH Action - Upstream Sync 2023-11-07 17:17:53 +00:00
commit 60e331266a
2 changed files with 4 additions and 2 deletions

View File

@ -133,7 +133,9 @@ export const useAppConfig = createPersistStore(
.customModels.split(",") .customModels.split(",")
.filter((v) => !!v && v.length > 0) .filter((v) => !!v && v.length > 0)
.map((m) => ({ name: m, available: true })); .map((m) => ({ name: m, available: true }));
return get().models.concat(customModels); const allModels = get().models.concat(customModels);
allModels.sort((a, b) => (a.name < b.name ? -1 : 1));
return allModels;
}, },
}), }),
{ {

View File

@ -9,7 +9,7 @@
}, },
"package": { "package": {
"productName": "ChatGPT Next Web", "productName": "ChatGPT Next Web",
"version": "2.9.9" "version": "2.9.10"
}, },
"tauri": { "tauri": {
"allowlist": { "allowlist": {