Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

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

Merged
merged 2 commits into from
Nov 13, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: ChatGPTNextWeb#3241 should not ensure openai url non-empty
  • Loading branch information
Yidadaa authored and H0llyW00dzZ committed Nov 13, 2023
commit eaa981b71cd57bfe09c2ddfaadc0e2be3769f329
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