diff --git a/app/store/config.ts b/app/store/config.ts index b5291acd977..2b8493ca7c3 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -176,14 +176,15 @@ export const useAppConfig = create()( }), { name: StoreKey.Config, - version: 2, + version: 3, migrate(persistedState, version) { - if (version === 2) return persistedState as any; + if (version === 3) return persistedState as any; const state = persistedState as ChatConfig; state.modelConfig.sendMemory = true; state.modelConfig.historyMessageCount = 4; state.modelConfig.compressMessageLengthThreshold = 1000; + state.modelConfig.frequency_penalty = 0; state.dontShowMaskSplashScreen = false; return state;