mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 14:03:43 +08:00
merge and change model
This commit is contained in:
@@ -150,6 +150,9 @@
|
||||
|
||||
.sidebar-logo {
|
||||
display: inline-flex;
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 20px;
|
||||
}
|
||||
|
||||
.sidebar-title-container {
|
||||
|
||||
@@ -341,9 +341,9 @@ export const DEFAULT_MODELS = [
|
||||
describe: "新出的,可以尝鲜",
|
||||
available: true,
|
||||
provider: {
|
||||
id: "openai",
|
||||
providerName: "OpenAI",
|
||||
providerType: "openai",
|
||||
id: "azure",
|
||||
providerName: "Azure",
|
||||
providerType: "azure",
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -357,17 +357,7 @@ export const DEFAULT_MODELS = [
|
||||
},
|
||||
},
|
||||
{
|
||||
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",
|
||||
describe: "GPT-4,标准版",
|
||||
available: true,
|
||||
provider: {
|
||||
|
||||
@@ -140,7 +140,7 @@ export const useAppConfig = createPersistStore(
|
||||
}),
|
||||
{
|
||||
name: StoreKey.Config,
|
||||
version: 3.992,
|
||||
version: 3.993,
|
||||
migrate(persistedState, version) {
|
||||
const state = persistedState as ChatConfig;
|
||||
|
||||
@@ -176,7 +176,7 @@ export const useAppConfig = createPersistStore(
|
||||
// return { ...DEFAULT_CONFIG };
|
||||
// }
|
||||
|
||||
if (version < 3.992) {
|
||||
if (version < 3.993) {
|
||||
// state.modelConfig = DEFAULT_CONFIG.modelConfig;
|
||||
return { ...DEFAULT_CONFIG };
|
||||
// state.modelConfig.template =
|
||||
|
||||
Reference in New Issue
Block a user