mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 07:36:39 +08:00
merge
This commit is contained in:
parent
6cb317e00d
commit
c9a438c2ab
@ -12,7 +12,6 @@ import {
|
|||||||
StoreKey,
|
StoreKey,
|
||||||
SUMMARIZE_MODEL,
|
SUMMARIZE_MODEL,
|
||||||
GEMINI_SUMMARIZE_MODEL,
|
GEMINI_SUMMARIZE_MODEL,
|
||||||
ServiceProvider,
|
|
||||||
} from "../constant";
|
} from "../constant";
|
||||||
import Locale, { getLang } from "../locales";
|
import Locale, { getLang } from "../locales";
|
||||||
import { isDalle3, safeLocalStorage } from "../utils";
|
import { isDalle3, safeLocalStorage } from "../utils";
|
||||||
@ -1171,8 +1170,9 @@ export const useChatStore = createPersistStore(
|
|||||||
if (version < 3.3) {
|
if (version < 3.3) {
|
||||||
newState.sessions.forEach((s) => {
|
newState.sessions.forEach((s) => {
|
||||||
const config = useAppConfig.getState();
|
const config = useAppConfig.getState();
|
||||||
s.mask.modelConfig.compressModel = "";
|
s.mask.modelConfig.compressModel = config.modelConfig.compressModel;
|
||||||
s.mask.modelConfig.compressProviderName = "";
|
s.mask.modelConfig.compressProviderName =
|
||||||
|
config.modelConfig.compressProviderName;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user