mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-17 22:43:42 +08:00
merge
This commit is contained in:
@@ -140,7 +140,7 @@ export const useAppConfig = createPersistStore(
|
||||
}),
|
||||
{
|
||||
name: StoreKey.Config,
|
||||
version: 3.99,
|
||||
version: 3.991,
|
||||
migrate(persistedState, version) {
|
||||
const state = persistedState as ChatConfig;
|
||||
|
||||
@@ -176,7 +176,7 @@ export const useAppConfig = createPersistStore(
|
||||
// return { ...DEFAULT_CONFIG };
|
||||
// }
|
||||
|
||||
if (version < 3.99) {
|
||||
if (version < 3.991) {
|
||||
// state.modelConfig = DEFAULT_CONFIG.modelConfig;
|
||||
return { ...DEFAULT_CONFIG };
|
||||
// state.modelConfig.template =
|
||||
|
||||
@@ -159,7 +159,8 @@ export const usePromptStore = createPersistStore(
|
||||
|
||||
onRehydrateStorage(state) {
|
||||
// const PROMPT_URL = "https://cos.xiaosi.cc/next/public/prompts.json";
|
||||
const PROMPT_URL = "https://qn.xiaosi.cc/json/chat/prompts.json";
|
||||
// const PROMPT_URL = "https://qn.xiaosi.cc/json/chat/prompts.json";
|
||||
const PROMPT_URL = "./prompts.json"
|
||||
const GPT_PROMPT_URL =
|
||||
"https://qn.xiaosi.cc/json/chat/prompt_library.json";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user