mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
调整顺序
This commit is contained in:
parent
a11cf11c01
commit
8e81d3e2e5
@ -145,9 +145,9 @@ export const DEFAULT_MODELS = [
|
||||
// available: false,
|
||||
// },
|
||||
{
|
||||
name: "gpt-4-1106-preview",
|
||||
describe: "GPT-4",
|
||||
available: false,
|
||||
name: "gpt-4-0125-preview",
|
||||
describe: "GPT-4,最新版,推荐",
|
||||
available: true,
|
||||
provider: {
|
||||
id: "openai",
|
||||
providerName: "OpenAI",
|
||||
@ -155,8 +155,8 @@ export const DEFAULT_MODELS = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "gpt-4-0125-preview",
|
||||
describe: "GPT-4,最新版,推荐",
|
||||
name: "gpt-4-1106-preview",
|
||||
describe: "GPT-4,备用",
|
||||
available: true,
|
||||
provider: {
|
||||
id: "openai",
|
||||
|
@ -137,7 +137,7 @@ export const useAppConfig = createPersistStore(
|
||||
}),
|
||||
{
|
||||
name: StoreKey.Config,
|
||||
version: 3.896,
|
||||
version: 3.897,
|
||||
migrate(persistedState, version) {
|
||||
const state = persistedState as ChatConfig;
|
||||
|
||||
@ -168,7 +168,7 @@ export const useAppConfig = createPersistStore(
|
||||
if (version < 3.8) {
|
||||
state.lastUpdate = Date.now();
|
||||
}
|
||||
if (version < 3.896) {
|
||||
if (version < 3.897) {
|
||||
state.lastUpdate = Date.now();
|
||||
return { ...DEFAULT_CONFIG };
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user