fix: USE_OPENAI_ENDPOINT_FOR_ALL_MODELS

This commit is contained in:
Hk-Gosuto
2024-06-07 18:04:05 +08:00
parent c289305b05
commit 740ece39da
6 changed files with 16 additions and 3 deletions

View File

@@ -153,5 +153,7 @@ export const getServerSideConfig = () => {
allowedWebDevEndpoints,
edgeTTSVoiceName: process.env.EDGE_TTS_VOICE_NAME ?? "zh-CN-YunxiNeural",
isUseOpenAIEndpointForAllModels:
!!process.env.USE_OPENAI_ENDPOINT_FOR_ALL_MODELS,
};
};