Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(ai): move provider card outside loading container

Steven Enamakel4caa00344181
diff --git a/app/src/components/settings/panels/ai/ProviderAuthSection.tsx b/app/src/components/settings/panels/ai/ProviderAuthSection.tsx
index 999844112c..a2e34a64a5 100644
--- a/app/src/components/settings/panels/ai/ProviderAuthSection.tsx
+++ b/app/src/components/settings/panels/ai/ProviderAuthSection.tsx
@@ -237,22 +237,22 @@ export const ProviderAuthSection = ({
{loading && <div className="text-xs text-content-muted">{t('common.loading')}</div>}
{error && <StatusLine saving={false} error={error} savedNote={null} savingLabel="" />}
-
- <Card title={t('settings.ai.llmProviders')} description={t('settings.ai.llmProvidersDesc')}>
- <div className="flex justify-end px-4 py-3">
- <Button
- type="button"
- variant="primary"
- size="xs"
- leadingIcon={<LuPlus className="h-3.5 w-3.5" />}
- onClick={() => setAddOpen(true)}
- data-testid="add-provider-open">
- {t('settings.ai.providers.addProvider')}
- </Button>
- </div>
- </Card>
</div>
+ <Card title={t('settings.ai.llmProviders')} description={t('settings.ai.llmProvidersDesc')}>
+ <div className="flex justify-end px-4 py-3">
+ <Button
+ type="button"
+ variant="primary"
+ size="xs"
+ leadingIcon={<LuPlus className="h-3.5 w-3.5" />}
+ onClick={() => setAddOpen(true)}
+ data-testid="add-provider-open">
+ {t('settings.ai.providers.addProvider')}
+ </Button>
+ </div>
+ </Card>
+
{/* ─── Connected ────────────────────────────────────────────────────
Managed leads and is always present. #3760: it renders a badge, not a
disabled toggle — a locked switch reads as switchable-but-broken and