- Set Azure API version
+ {t("useAzureApiVersion")}
{azureApiVersionSelected && (
)}
-
- (Note: Cline uses complex prompts and works best with Claude
- models. Less capable models may not work as expected.)
-
+ ,
+ ErrSpan: ,
+ }}
+ />
)}
@@ -668,8 +671,8 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage, modelIdErrorMessage, is
style={{ width: "100%" }}
type="url"
onInput={handleInputChange("lmStudioBaseUrl")}
- placeholder={"Default: http://localhost:1234"}>
- Base URL (optional)
+ placeholder={t("getDefault", { defaultValue: "http://localhost/1234" })}>
+ {t("optionalBaseUrl")}
- LM Studio allows you to run models locally on your computer. For instructions on how to get started, see
- their
-
- quickstart guide.
-
- You will also need to start LM Studio's{" "}
-
- local server
- {" "}
- feature to use it with this extension.{" "}
-
- (Note: Cline uses complex prompts and works best with Claude
- models. Less capable models may not work as expected.)
-
+ ,
+ ErrSpan: ,
+ }}
+ />
)}
@@ -734,8 +728,8 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage, modelIdErrorMessage, is
style={{ width: "100%" }}
type="url"
onInput={handleInputChange("ollamaBaseUrl")}
- placeholder={"Default: http://localhost:11434"}>
- Base URL (optional)
+ placeholder={t("getDefault", { defaultValue: "http://localhost:11434" })}>
+ {t("optionalBaseUrl")}
- Ollama allows you to run models locally on your computer. For instructions on how to get started, see
- their
-
- quickstart guide.
-
-
- (Note: Cline uses complex prompts and works best with Claude
- models. Less capable models may not work as expected.)
-
+ {
+ ,
+ ErrorSpan: ,
+ }}
+ />
+ }
)}
diff --git a/webview-ui/src/locales/en/translation.json b/webview-ui/src/locales/en/translation.json
index 1b6769afb4..4f7ddd16f9 100644
--- a/webview-ui/src/locales/en/translation.json
+++ b/webview-ui/src/locales/en/translation.json
@@ -24,13 +24,19 @@
"apiKey": "API Key",
"enterBaseUrl": "Enter Base URL...",
"baseUrl": "Base URL",
+ "optionalBaseUrl": "Base URL (optional)",
"enterModelId": "Enter Model ID...",
"modelId": "Model ID",
"useCustomBaseUrl": "Use custom base URL",
"apiKeyInfo": "This key is stored locally and only used to make API requests from this extension.",
+ "getDefault": "Default: {{defaultValue}}",
"getApiKeyMessage": "You can get an {{vendor}} API key by signing up here.",
"getApiVendorKey": "{{vendor}} API Key",
"getCompatibleVendor": "{{vendor}} Compatible",
+ "lmStudioInfo": "LM Studio allows you to run models locally on your computer. For instructions on how to get started, see their quickstart guide. You will also need to start LM Studio's local server feature to use it with this extension. (Note: Cline uses complex prompts and works best with Claude models. Less capable models may not work as expected.)",
+ "ollamaInfo": "Ollama allows you to run models locally on your computer. For instructions on how to get started, see their quickstart guide. (Note: Cline uses complex prompts and works best with Claude models. Less capable models may not work as expected.)",
+ "azureInfo": "(Note: Cline uses complex prompts and works best with Claude models. Less capable models may not work as expected.)",
+ "setAzureApiVersion": "Set Azure API version",
"enterGcpProjectId": "Enter Project ID...",
"gcpProjectId": "Google Cloud Project ID",
"gcpLinks": "To use Google Cloud Vertex AI, you need to 1) create a Google Cloud account › enable the Vertex AI API › enable the desired Claude models, 2) install the Google Cloud CLI › configure Application Default Credentials. ",