Browse Source

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

Yifei Zhang 1 năm trước cách đây
mục cha
commit
d033168d80
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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() {