Browse Source

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

Yifei Zhang 1 year ago
parent
commit
d033168d80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/store/access.ts

+ 1 - 1
app/store/access.ts

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