Basic logic check for is provider setup (#84)

This commit is contained in:
Will Chen authored and GitHub committed 2025-05-05 15:09:37 -07:00
1 parent a720e0073d
commit c1570e4469
1 file changed
+1 -1
+1 -1
View File
@@ -86,7 +86,7 @@ export function useSettings() {
const isProviderSetup = (provider: string) => {
const providerSettings = settings?.providerSettings[provider];
if (providerSettings) {
if (providerSettings?.apiKey?.value) {
return true;
}
if (envVars[PROVIDER_TO_ENV_VAR[provider]]) {