feat: #2144 improve input template

This commit is contained in:
Yidadaa
2023-06-26 13:18:59 +08:00
parent 5f7c262759
commit 5f0cda829f
3 changed files with 36 additions and 5 deletions

View File

@@ -177,9 +177,9 @@ export const useAppConfig = create<ChatConfigStore>()(
}),
{
name: StoreKey.Config,
version: 3.1,
version: 3.2,
migrate(persistedState, version) {
if (version === 3.1) return persistedState as any;
if (version === 3.2) return persistedState as any;
const state = persistedState as ChatConfig;
state.modelConfig.sendMemory = true;