修改openai模型

This commit is contained in:
sijinhui 2024-06-07 17:10:12 +08:00
parent ba39edfe88
commit ef4927a2ab
2 changed files with 3 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: {

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