Merge pull request #111 from sijinhui/dev

Dev
This commit is contained in:
sijinhui 2024-06-07 17:13:24 +08:00 committed by GitHub
commit 9c2a23b1df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -276,7 +276,7 @@ export const DEFAULT_MODELS = [
},
},
{
name: "gpt-4o-2024-05-13",
name: "gpt-4o-all",
describe: "GPT-4,最新版,省着点用",
available: true,
provider: {
@ -347,6 +347,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",

View File

@ -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