diff --git a/app/store/access.ts b/app/store/access.ts index 3b9008ba8..2abe1e3cc 100644 --- a/app/store/access.ts +++ b/app/store/access.ts @@ -49,7 +49,7 @@ export const useAccessStore = createPersistStore( }, isValidOpenAI() { - return ensure(get(), ["openaiApiKey"]); + return ensure(get(), ["openaiUrl", "openaiApiKey"]); }, isValidAzure() {