关闭1106

This commit is contained in:
sijinhui 2024-02-19 18:07:35 +08:00
parent 84dd704e4d
commit a11cf11c01
2 changed files with 3 additions and 3 deletions

View File

@ -147,7 +147,7 @@ export const DEFAULT_MODELS = [
{ {
name: "gpt-4-1106-preview", name: "gpt-4-1106-preview",
describe: "GPT-4", describe: "GPT-4",
available: true, available: false,
provider: { provider: {
id: "openai", id: "openai",
providerName: "OpenAI", providerName: "OpenAI",

View File

@ -137,7 +137,7 @@ export const useAppConfig = createPersistStore(
}), }),
{ {
name: StoreKey.Config, name: StoreKey.Config,
version: 3.895, version: 3.896,
migrate(persistedState, version) { migrate(persistedState, version) {
const state = persistedState as ChatConfig; const state = persistedState as ChatConfig;
@ -168,7 +168,7 @@ export const useAppConfig = createPersistStore(
if (version < 3.8) { if (version < 3.8) {
state.lastUpdate = Date.now(); state.lastUpdate = Date.now();
} }
if (version < 3.895) { if (version < 3.896) {
state.lastUpdate = Date.now(); state.lastUpdate = Date.now();
return { ...DEFAULT_CONFIG }; return { ...DEFAULT_CONFIG };
} }