mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
增加全球部署模型看看效果
This commit is contained in:
parent
f201c17f08
commit
37767cdbcf
@ -306,6 +306,16 @@ export const DEFAULT_MODELS = [
|
|||||||
providerType: "azure",
|
providerType: "azure",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "gpt-4o-gl",
|
||||||
|
describe: "同GPT-4o,备用",
|
||||||
|
available: true,
|
||||||
|
provider: {
|
||||||
|
id: "azure",
|
||||||
|
providerName: "Azure",
|
||||||
|
providerType: "azure",
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "gpt-4-turbo-2024-04-09",
|
name: "gpt-4-turbo-2024-04-09",
|
||||||
describe: "GPT-4,标准版",
|
describe: "GPT-4,标准版",
|
||||||
|
@ -140,7 +140,7 @@ export const useAppConfig = createPersistStore(
|
|||||||
}),
|
}),
|
||||||
{
|
{
|
||||||
name: StoreKey.Config,
|
name: StoreKey.Config,
|
||||||
version: 3.991,
|
version: 3.992,
|
||||||
migrate(persistedState, version) {
|
migrate(persistedState, version) {
|
||||||
const state = persistedState as ChatConfig;
|
const state = persistedState as ChatConfig;
|
||||||
|
|
||||||
@ -176,7 +176,7 @@ export const useAppConfig = createPersistStore(
|
|||||||
// return { ...DEFAULT_CONFIG };
|
// return { ...DEFAULT_CONFIG };
|
||||||
// }
|
// }
|
||||||
|
|
||||||
if (version < 3.991) {
|
if (version < 3.992) {
|
||||||
// state.modelConfig = DEFAULT_CONFIG.modelConfig;
|
// state.modelConfig = DEFAULT_CONFIG.modelConfig;
|
||||||
return { ...DEFAULT_CONFIG };
|
return { ...DEFAULT_CONFIG };
|
||||||
// state.modelConfig.template =
|
// state.modelConfig.template =
|
||||||
|
Loading…
Reference in New Issue
Block a user