merge and change model

This commit is contained in:
sijinhui
2024-08-03 18:45:55 +08:00
parent c60fa3cda6
commit f80054e82b
4 changed files with 121 additions and 25 deletions

View File

@@ -140,7 +140,7 @@ export const useAppConfig = createPersistStore(
}),
{
name: StoreKey.Config,
version: 3.992,
version: 3.993,
migrate(persistedState, version) {
const state = persistedState as ChatConfig;
@@ -176,7 +176,7 @@ export const useAppConfig = createPersistStore(
// return { ...DEFAULT_CONFIG };
// }
if (version < 3.992) {
if (version < 3.993) {
// state.modelConfig = DEFAULT_CONFIG.modelConfig;
return { ...DEFAULT_CONFIG };
// state.modelConfig.template =