diff --git a/webview-ui/src/components/modes/ModesView.tsx b/webview-ui/src/components/modes/ModesView.tsx index 09cd237f19..dba2c27dc4 100644 --- a/webview-ui/src/components/modes/ModesView.tsx +++ b/webview-ui/src/components/modes/ModesView.tsx @@ -70,11 +70,11 @@ const ModesView = () => { const { customModePrompts, listApiConfigMeta, - currentApiConfigName, mode, customInstructions, setCustomInstructions, customModes, + modeApiConfigs, } = useExtensionState() // Use a local state to track the visually active mode @@ -910,33 +910,43 @@ const ModesView = () => { )} - {/* API Configuration - Moved Here */} + {/* API Configuration - Per Mode */}
{t("prompts:apiConfiguration.title")}
-
- {t("prompts:apiConfiguration.select")} -
+
+ {t("prompts:apiConfiguration.description")} +
diff --git a/webview-ui/src/i18n/locales/en/prompts.json b/webview-ui/src/i18n/locales/en/prompts.json index 19837c6b2c..df00b399fd 100644 --- a/webview-ui/src/i18n/locales/en/prompts.json +++ b/webview-ui/src/i18n/locales/en/prompts.json @@ -14,7 +14,9 @@ }, "apiConfiguration": { "title": "API Configuration", - "select": "Select which API configuration to use for this mode" + "select": "Select which API configuration to use for this mode", + "useCurrentConfig": "Use currently selected API configuration", + "description": "You can select an API configuration to always use for this mode, or just use whatever is currently selected" }, "tools": { "title": "Available Tools",