diff --git a/app/locales/cn.ts b/app/locales/cn.ts index 8f41eecd8..9e5408a0d 100644 --- a/app/locales/cn.ts +++ b/app/locales/cn.ts @@ -401,7 +401,7 @@ const cn = { Store: { DefaultTopic: "新的聊天", BotHello: - "有什么可以帮你的吗\n\n1.模型选择:点击下方机器人图标**查看说明后**选择合适的模型\n2.尽量不要用`gpt-4-all`,太贵了遭不住", + "有什么可以帮你的吗\n\n1.模型选择:点击下方机器人图标**查看说明后**选择合适的模型\n2.可以试试`gemini-pro`.", Error: "出错了,稍后重试吧", Prompt: { History: (content: string) => "这是历史聊天总结作为前情提要:" + content, diff --git a/app/locales/en.ts b/app/locales/en.ts index fbe6c3d5c..f856148bb 100644 --- a/app/locales/en.ts +++ b/app/locales/en.ts @@ -407,7 +407,7 @@ const en: LocaleType = { Store: { DefaultTopic: "New Conversation", BotHello: - "Hello! How can I assist you today?\n\n1.Model selection: Click on the robot icon below to **view the instructions** and select the appropriate model\n2.Try not to use `gpt-4-all` as it is too expensive to withstand", + "Hello! How can I assist you today?\n\n1.Model selection: Click on the robot icon below to **view the instructions** and select the appropriate model\n2.Try to use `gemini-pro`", Error: "Something went wrong, please try again later.", Prompt: { History: (content: string) => diff --git a/app/store/access.ts b/app/store/access.ts index 8f8af562c..919608b76 100644 --- a/app/store/access.ts +++ b/app/store/access.ts @@ -96,9 +96,9 @@ export const useAccessStore = createPersistStore( }), { name: StoreKey.Access, - version: 2, + version: 2.1, migrate(persistedState, version) { - if (version < 2) { + if (version < 2.1) { const state = persistedState as { token: string; openaiApiKey: string; diff --git a/app/store/config.ts b/app/store/config.ts index fbe4a360c..e9c757e04 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -137,7 +137,7 @@ export const useAppConfig = createPersistStore( }), { name: StoreKey.Config, - version: 3.892, + version: 3.893, 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.892) { + if (version < 3.893) { state.lastUpdate = Date.now(); return { ...DEFAULT_CONFIG }; }