fix
This commit is contained in:
@@ -54,7 +54,7 @@ const persistedReducer = persistReducer(
|
||||
{
|
||||
key: 'cherry-studio',
|
||||
storage,
|
||||
version: 113,
|
||||
version: 115,
|
||||
blacklist: ['runtime', 'messages', 'messageBlocks'],
|
||||
migrate
|
||||
},
|
||||
|
||||
@@ -1613,7 +1613,7 @@ const migrateConfig = {
|
||||
return state
|
||||
}
|
||||
},
|
||||
'113': (state: RootState) => {
|
||||
'115': (state: RootState) => {
|
||||
try {
|
||||
if (!state.settings.userId) {
|
||||
state.settings.userId = uuid()
|
||||
|
||||
@@ -173,6 +173,7 @@ export type ProviderType =
|
||||
| 'qwenlm'
|
||||
| 'azure-openai'
|
||||
| 'vertexai'
|
||||
| 'mistral'
|
||||
|
||||
export type ModelType = 'text' | 'vision' | 'embedding' | 'reasoning' | 'function_calling' | 'web_search'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user