From 90e1a2b3b4e572ea441c926c1d7de1c0ed909692 Mon Sep 17 00:00:00 2001 From: Kristjan Kruus Date: Wed, 25 Mar 2026 17:03:59 +0200 Subject: [PATCH] Update web/frontend/src/components/config/config-sections.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../src/components/config/config-sections.tsx | 56 ++++++++++--------- 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/web/frontend/src/components/config/config-sections.tsx b/web/frontend/src/components/config/config-sections.tsx index f07779bfa..da5c574d2 100644 --- a/web/frontend/src/components/config/config-sections.tsx +++ b/web/frontend/src/components/config/config-sections.tsx @@ -210,32 +210,36 @@ export function AgentDefaultsSection({ hint={t("pages.config.steering_mode_hint")} layout="setting-row" > - + {(() => { + const selectedSteeringModeOption = STEERING_MODE_OPTIONS.find( + (o) => o.value === form.steeringMode, + ) + + return ( + + ) + })()}