Skip to content

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

fix(settings): correct custom routing dialog to use correct field name

Steven Enamakel9b0382de312a
diff --git a/app/src/components/settings/panels/ai/CustomRoutingDialog.tsx b/app/src/components/settings/panels/ai/CustomRoutingDialog.tsx
index b6af9746af..4077e1339e 100644
--- a/app/src/components/settings/panels/ai/CustomRoutingDialog.tsx
+++ b/app/src/components/settings/panels/ai/CustomRoutingDialog.tsx
@@ -300,12 +300,18 @@ export const CustomRoutingDialog = ({
onClick={() => setPickerOpen(true)}
className="h-auto w-full justify-between px-3 py-2.5 text-left">
<span className="flex min-w-0 flex-col gap-0.5">
- <span className="text-xs font-medium text-content-secondary">Provider and model</span>
+ <span className="text-xs font-medium text-content-secondary">
+ {t('settings.ai.routing.providerAndModelLabel', 'Provider and model')}
+ </span>
<span className="truncate text-sm font-medium text-content">
- {model ? `${selectedProviderLabel} · ${model}` : 'Select provider and model'}
+ {model
+ ? `${selectedProviderLabel} · ${model}`
+ : t('settings.ai.routing.selectProvider')}
</span>
</span>
- <span className="text-xs text-content-muted">Change</span>
+ <span className="text-xs text-content-muted">
+ {t('settings.ai.routing.changeAction', 'Change')}
+ </span>
</Button>
<TemperatureOverrideField temperature={temperature} onChange={setTemperature} />