mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-13 20:53:45 +08:00
feat: #327
This commit is contained in:
@@ -130,8 +130,8 @@ const DEFAULT_ACCESS_STATE = {
|
||||
edgeTTSVoiceName: "zh-CN-YunxiNeural",
|
||||
|
||||
isUseOpenAIEndpointForAllModels: false,
|
||||
|
||||
disableModelProviderDisplay: false,
|
||||
isUseRemoteModels: false,
|
||||
};
|
||||
|
||||
export const useAccessStore = createPersistStore(
|
||||
@@ -156,6 +156,12 @@ export const useAccessStore = createPersistStore(
|
||||
return get().isUseOpenAIEndpointForAllModels;
|
||||
},
|
||||
|
||||
useRemoteModels() {
|
||||
this.fetch();
|
||||
|
||||
return get().isUseRemoteModels;
|
||||
},
|
||||
|
||||
edgeVoiceName() {
|
||||
this.fetch();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user