From 0c5a6a146b82e62731f62c87a9a49f01dc1075da Mon Sep 17 00:00:00 2001 From: cbm Date: Sat, 13 Jul 2024 16:19:56 +0800 Subject: [PATCH] feat:disable reset --- app/store/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/config.ts b/app/store/config.ts index 1eaafe12b..8fda39d6c 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -105,7 +105,7 @@ export const useAppConfig = createPersistStore( { ...DEFAULT_CONFIG }, (set, get) => ({ reset() { - set(() => ({ ...DEFAULT_CONFIG })); + //set(() => ({ ...DEFAULT_CONFIG })); }, mergeModels(newModels: LLMModel[]) {