From 1d8fd480ca7c75319bf469494d40bb527f2cecf7 Mon Sep 17 00:00:00 2001 From: junxian li-ssslab win10 Date: Fri, 7 Jun 2024 03:28:00 +0800 Subject: [PATCH 1/2] Add new Teracloud domain - Added 'bora.teracloud.jp' to the list of supported domains. --- app/constant.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/constant.ts b/app/constant.ts index 9f1d87161..411e48150 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -149,7 +149,7 @@ const openaiModels = [ "gpt-4o", "gpt-4o-2024-05-13", "gpt-4-vision-preview", - "gpt-4-turbo-2024-04-09" + "gpt-4-turbo-2024-04-09", ]; const googleModels = [ @@ -207,6 +207,7 @@ export const internalAllowedWebDavEndpoints = [ "https://dav.dropdav.com/", "https://dav.box.com/dav", "https://nanao.teracloud.jp/dav/", + "https://bora.teracloud.jp/dav/", "https://webdav.4shared.com/", "https://dav.idrivesync.com", "https://webdav.yandex.com", From ef4927a2abbf1c76a8ddcd2170b28bc1caf515fc Mon Sep 17 00:00:00 2001 From: sijinhui Date: Fri, 7 Jun 2024 17:10:12 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9openai=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/constant.ts | 2 +- app/store/config.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/constant.ts b/app/constant.ts index 3cefb6f3b..59bbb5062 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -276,7 +276,7 @@ export const DEFAULT_MODELS = [ }, }, { - name: "gpt-4o-2024-05-13", + name: "gpt-4o-all", describe: "GPT-4,最新版,省着点用", available: true, provider: { diff --git a/app/store/config.ts b/app/store/config.ts index 142e5691a..aa8372c0c 100644 --- a/app/store/config.ts +++ b/app/store/config.ts @@ -138,7 +138,7 @@ export const useAppConfig = createPersistStore( }), { name: StoreKey.Config, - version: 3.93, + version: 3.94, migrate(persistedState, version) { const state = persistedState as ChatConfig; @@ -174,7 +174,7 @@ export const useAppConfig = createPersistStore( // return { ...DEFAULT_CONFIG }; // } - if (version < 3.93) { + if (version < 3.94) { state.modelConfig = DEFAULT_CONFIG.modelConfig; // state.modelConfig.template = // state.modelConfig.template !== DEFAULT_INPUT_TEMPLATE