添加微软gpt-4o

This commit is contained in:
sijinhui
2024-05-23 13:29:32 +08:00
parent 941f40afb5
commit 4b1fcdac0d
3 changed files with 17 additions and 30 deletions

View File

@@ -138,7 +138,7 @@ export const useAppConfig = createPersistStore(
}),
{
name: StoreKey.Config,
version: 3.91,
version: 3.92,
migrate(persistedState, version) {
const state = persistedState as ChatConfig;
@@ -174,7 +174,7 @@ export const useAppConfig = createPersistStore(
// return { ...DEFAULT_CONFIG };
// }
if (version < 3.91) {
if (version < 3.92) {
state.modelConfig = DEFAULT_CONFIG.modelConfig;
// state.modelConfig.template =
// state.modelConfig.template !== DEFAULT_INPUT_TEMPLATE