Преглед на файлове

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

Yifei Zhang преди 1 година
родител
ревизия
d033168d80
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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() {