fix: migrate version (#7757)

This commit is contained in:
one 2025-07-02 17:30:36 +08:00 committed by GitHub
parent d0ebdf460f
commit 38497597b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ const persistedReducer = persistReducer(
{
key: 'cherry-studio',
storage,
version: 118,
version: 117,
blacklist: ['runtime', 'messages', 'messageBlocks'],
migrate
},

View File

@ -1661,7 +1661,7 @@ const migrateConfig = {
return state
}
},
'118': (state: RootState) => {
'117': (state: RootState) => {
try {
const ppioProvider = state.llm.providers.find((provider) => provider.id === 'ppio')
const modelsToRemove = [