diff --git a/webview-ui/src/components/settings/SettingsView.tsx b/webview-ui/src/components/settings/SettingsView.tsx index ec5f20bffa..f025af47ce 100644 --- a/webview-ui/src/components/settings/SettingsView.tsx +++ b/webview-ui/src/components/settings/SettingsView.tsx @@ -161,47 +161,45 @@ const SettingsView = ({ onDone }: SettingsViewProps) => { display: "flex", flexDirection: "column", }}> -
- { - const checked = e.target.checked === true - setPlanActSeparateModelsSetting(checked) - }}> - Use different models for Plan & Act - -
{/* Tabs container */} - {planActSeparateModelsSetting && ( + {planActSeparateModelsSetting ? (
- handleTabChange("plan")}> - Plan Mode - - handleTabChange("act")}> - Act Mode - -
- )} +
+ handleTabChange("plan")}> + Plan Mode + + handleTabChange("act")}> + Act Mode + +
- {/* Content container */} - {chatSettings.mode === "act" ? ( - + {/* Content container */} +
+ +
+ ) : ( {

+
+ { + const checked = e.target.checked === true + setPlanActSeparateModelsSetting(checked) + }}> + Use different models for Plan and Act modes + +

+ Switching between Plan and Act mode will persist the API and model used in the previous mode. This may be + helpful e.g. when using a strong reasoning model to architect a plan for a cheaper coding model to act on. +

+
+