mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-28 06:06:38 +08:00
feat:disable reset
This commit is contained in:
parent
68fea75030
commit
0c5a6a146b
@ -105,7 +105,7 @@ export const useAppConfig = createPersistStore(
|
|||||||
{ ...DEFAULT_CONFIG },
|
{ ...DEFAULT_CONFIG },
|
||||||
(set, get) => ({
|
(set, get) => ({
|
||||||
reset() {
|
reset() {
|
||||||
set(() => ({ ...DEFAULT_CONFIG }));
|
//set(() => ({ ...DEFAULT_CONFIG }));
|
||||||
},
|
},
|
||||||
|
|
||||||
mergeModels(newModels: LLMModel[]) {
|
mergeModels(newModels: LLMModel[]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user