Merge branch 'ChatGPTNextWeb:main' into main

This commit is contained in:
glay
2025-01-01 15:53:15 +08:00
committed by GitHub
11 changed files with 107 additions and 10 deletions

View File

@@ -130,6 +130,7 @@ const DEFAULT_ACCESS_STATE = {
disableFastLink: false,
customModels: "",
defaultModel: "",
visionModels: "",
// tts config
edgeTTSVoiceName: "zh-CN-YunxiNeural",
@@ -142,7 +143,10 @@ export const useAccessStore = createPersistStore(
this.fetch();
return get().needCode;
},
getVisionModels() {
this.fetch();
return get().visionModels;
},
edgeVoiceName() {
this.fetch();
return get().edgeTTSVoiceName;