fix: #3241 should not ensure openai url non-empty

This commit is contained in:
Yifei Zhang
2023-11-13 10:53:30 +08:00
committed by GitHub
parent fdca9e59de
commit d033168d80

View File

@@ -49,7 +49,7 @@ export const useAccessStore = createPersistStore(
},
isValidOpenAI() {
return ensure(get(), ["openaiUrl", "openaiApiKey"]);
return ensure(get(), ["openaiApiKey"]);
},
isValidAzure() {