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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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