mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
修改openai模型
This commit is contained in:
parent
ba39edfe88
commit
ef4927a2ab
@ -276,7 +276,7 @@ export const DEFAULT_MODELS = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "gpt-4o-2024-05-13",
|
||||
name: "gpt-4o-all",
|
||||
describe: "GPT-4,最新版,省着点用",
|
||||
available: true,
|
||||
provider: {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user