diff --git a/app/constant.ts b/app/constant.ts index 3de82eaa5..3171b1b07 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -146,7 +146,7 @@ export const DEFAULT_MODELS = [ // }, { name: "gpt-4-1106-preview", - describe: "GPT-4,又强又快,推荐", + describe: "GPT-4", available: true, provider: { id: "openai", @@ -156,7 +156,7 @@ export const DEFAULT_MODELS = [ }, { name: "gpt-4-0125-preview", - describe: "GPT-4,修复懒惰,目前挺贵", + describe: "GPT-4,最新版,推荐", available: true, provider: { id: "openai", @@ -206,7 +206,7 @@ export const DEFAULT_MODELS = [ }, ] as const; -export const AZURE_MODELS: string[] = ["gpt-4-1106-preview"]; +export const AZURE_MODELS: string[] = ["gpt-4-0125-preview"]; // export const AZURE_PATH = AZURE_MODELS.map((m) => { m: `openai/deployments/${m}/chat/completions`}); // export const AZURE_PATH = AZURE_MODELS.map((m) => ({ m: `openai/deployments/${m}/chat/completions`} )); export const AZURE_PATH = AZURE_MODELS.reduce( diff --git a/app/store/config.ts b/app/store/config.ts index 1146b8368..1503b5ae3 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -137,7 +137,7 @@ export const useAppConfig = createPersistStore( }), { name: StoreKey.Config, - version: 3.894, + version: 3.895, 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.894) { + if (version < 3.895) { state.lastUpdate = Date.now(); return { ...DEFAULT_CONFIG }; }