Skip to content

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

fix(ai-panel): split custom routing card into two separate cards

Steven Enamakel9940c6f49eb2
diff --git a/app/src/components/settings/panels/AIPanel.tsx b/app/src/components/settings/panels/AIPanel.tsx
index 4e70a2fc13..950de0e3d4 100644
--- a/app/src/components/settings/panels/AIPanel.tsx
+++ b/app/src/components/settings/panels/AIPanel.tsx
@@ -276,10 +276,8 @@ const AIPanel = ({
) : null}
{effectiveRoutingMode === 'custom' ? (
- <Card
- title={t('settings.ai.routing.advanced')}
- description={t('settings.ai.routing.customDesc')}
- className="w-full">
+ <>
+ <Card className="w-full">
<WorkloadTable
title={t('settings.ai.routing.chatAndConversations')}
description={t('settings.ai.routing.chatDesc')}>
@@ -293,7 +291,9 @@ const AIPanel = ({
/>
))}
</WorkloadTable>
+ </Card>
+ <Card className="w-full">
<WorkloadTable
title={t('settings.ai.routing.backgroundTasks')}
description={t('settings.ai.routing.bgTasksDesc')}>
@@ -307,7 +307,8 @@ const AIPanel = ({
/>
))}
</WorkloadTable>
- </Card>
+ </Card>
+ </>
) : null}
</>
{isDirty && (