Skip to content

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

fix(settings): handle empty custom routing list in AI dialog\n\nWhen the custom routing list is empty, the dialog now shows a helpful message instead of an empty or broken state, improving the user experience for users who have not yet configured any custom routes.\n\nAuto-committed-on: macbook\n

Steven Enamakel0e4738ea06b1
diff --git a/app/src/components/settings/panels/ai/CustomRoutingDialog.tsx b/app/src/components/settings/panels/ai/CustomRoutingDialog.tsx
index 5fdd83c1d5..87d86373ba 100644
--- a/app/src/components/settings/panels/ai/CustomRoutingDialog.tsx
+++ b/app/src/components/settings/panels/ai/CustomRoutingDialog.tsx
@@ -282,8 +282,7 @@ export const CustomRoutingDialog = ({
{t('settings.ai.noCustomProviders')}
</Alert>
)}
- {(
- <Button
+ <Button
type="button"
variant="secondary"
size="md"