Skip to content

Commit

Permalink
fix: #3241 should not ensure openai url non-empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Yidadaa authored Nov 13, 2023
1 parent fdca9e5 commit d033168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/store/access.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const useAccessStore = createPersistStore(
},

isValidOpenAI() {
return ensure(get(), ["openaiUrl", "openaiApiKey"]);
return ensure(get(), ["openaiApiKey"]);
},

isValidAzure() {
Expand Down

0 comments on commit d033168

Please sign in to comment.