diff --git a/packages/types/src/provider-settings.ts b/packages/types/src/provider-settings.ts index 0c5965f7ff6..555513500b8 100644 --- a/packages/types/src/provider-settings.ts +++ b/packages/types/src/provider-settings.ts @@ -227,8 +227,6 @@ const vertexSchema = apiModelIdProviderModelSchema.extend({ vertexJsonCredentials: z.string().optional(), vertexProjectId: z.string().optional(), vertexRegion: z.string().optional(), - enableUrlContext: z.boolean().optional(), - enableGrounding: z.boolean().optional(), vertex1MContext: z.boolean().optional(), // Enable 'context-1m-2025-08-07' beta for 1M context window. }) @@ -273,8 +271,6 @@ const lmStudioSchema = baseProviderSettingsSchema.extend({ const geminiSchema = apiModelIdProviderModelSchema.extend({ geminiApiKey: z.string().optional(), googleGeminiBaseUrl: z.string().optional(), - enableUrlContext: z.boolean().optional(), - enableGrounding: z.boolean().optional(), }) const geminiCliSchema = apiModelIdProviderModelSchema.extend({ diff --git a/src/api/providers/__tests__/gemini-handler.spec.ts b/src/api/providers/__tests__/gemini-handler.spec.ts index 2753c1ad516..8fe167ce1c9 100644 --- a/src/api/providers/__tests__/gemini-handler.spec.ts +++ b/src/api/providers/__tests__/gemini-handler.spec.ts @@ -27,8 +27,6 @@ describe("GeminiHandler backend support", () => { it("createMessage uses AI SDK tools format", async () => { const options = { apiProvider: "gemini", - enableUrlContext: true, - enableGrounding: true, } as ApiHandlerOptions const handler = new GeminiHandler(options) @@ -50,36 +48,9 @@ describe("GeminiHandler backend support", () => { ) }) - it("completePrompt passes tools when URL context and grounding enabled", async () => { + it("completePrompt generates text without tools", async () => { const options = { apiProvider: "gemini", - enableUrlContext: true, - enableGrounding: true, - } as ApiHandlerOptions - const handler = new GeminiHandler(options) - - mockGenerateText.mockResolvedValue({ - text: "ok", - providerMetadata: {}, - }) - - const res = await handler.completePrompt("hi") - expect(res).toBe("ok") - - // Verify generateText was called with tools - expect(mockGenerateText).toHaveBeenCalledWith( - expect.objectContaining({ - prompt: "hi", - tools: expect.any(Object), - }), - ) - }) - - it("completePrompt passes config overrides without tools when URL context and grounding disabled", async () => { - const options = { - apiProvider: "gemini", - enableUrlContext: false, - enableGrounding: false, } as ApiHandlerOptions const handler = new GeminiHandler(options) @@ -100,7 +71,6 @@ describe("GeminiHandler backend support", () => { it("should handle grounding metadata extraction failure gracefully", async () => { const options = { apiProvider: "gemini", - enableGrounding: true, } as ApiHandlerOptions const handler = new GeminiHandler(options) @@ -134,7 +104,6 @@ describe("GeminiHandler backend support", () => { it("should handle malformed grounding metadata", async () => { const options = { apiProvider: "gemini", - enableGrounding: true, } as ApiHandlerOptions const handler = new GeminiHandler(options) @@ -181,11 +150,9 @@ describe("GeminiHandler backend support", () => { } }) - it("should handle API errors when tools are enabled", async () => { + it("should handle API errors", async () => { const options = { apiProvider: "gemini", - enableUrlContext: true, - enableGrounding: true, } as ApiHandlerOptions const handler = new GeminiHandler(options) diff --git a/src/api/providers/__tests__/vertex.spec.ts b/src/api/providers/__tests__/vertex.spec.ts index 1a23ba16c3a..cc90c144b2f 100644 --- a/src/api/providers/__tests__/vertex.spec.ts +++ b/src/api/providers/__tests__/vertex.spec.ts @@ -5,17 +5,12 @@ vitest.mock("vscode", () => ({})) // Mock the createVertex function from @ai-sdk/google-vertex const mockCreateVertex = vitest.fn() -const mockGoogleSearchTool = vitest.fn() -const mockUrlContextTool = vitest.fn() vitest.mock("@ai-sdk/google-vertex", () => ({ createVertex: (...args: unknown[]) => { mockCreateVertex(...args) const provider = Object.assign((modelId: string) => ({ modelId }), { - tools: { - googleSearch: mockGoogleSearchTool, - urlContext: mockUrlContextTool, - }, + tools: {}, }) return provider }, @@ -48,8 +43,6 @@ describe("VertexHandler", () => { mockStreamText.mockClear() mockGenerateText.mockClear() mockCreateVertex.mockClear() - mockGoogleSearchTool.mockClear() - mockUrlContextTool.mockClear() handler = new VertexHandler({ apiModelId: "gemini-1.5-pro-001", @@ -241,58 +234,6 @@ describe("VertexHandler", () => { const result = await handler.completePrompt("Test prompt") expect(result).toBe("") }) - - it("should add Google Search tool when grounding is enabled", async () => { - const handlerWithGrounding = new VertexHandler({ - apiModelId: "gemini-1.5-pro-001", - vertexProjectId: "test-project", - vertexRegion: "us-central1", - enableGrounding: true, - }) - - mockGenerateText.mockResolvedValue({ - text: "Search result", - providerMetadata: {}, - }) - mockGoogleSearchTool.mockReturnValue({ type: "googleSearch" }) - - await handlerWithGrounding.completePrompt("Search query") - - expect(mockGoogleSearchTool).toHaveBeenCalledWith({}) - expect(mockGenerateText).toHaveBeenCalledWith( - expect.objectContaining({ - tools: expect.objectContaining({ - google_search: { type: "googleSearch" }, - }), - }), - ) - }) - - it("should add URL Context tool when enabled", async () => { - const handlerWithUrlContext = new VertexHandler({ - apiModelId: "gemini-1.5-pro-001", - vertexProjectId: "test-project", - vertexRegion: "us-central1", - enableUrlContext: true, - }) - - mockGenerateText.mockResolvedValue({ - text: "URL context result", - providerMetadata: {}, - }) - mockUrlContextTool.mockReturnValue({ type: "urlContext" }) - - await handlerWithUrlContext.completePrompt("Fetch URL") - - expect(mockUrlContextTool).toHaveBeenCalledWith({}) - expect(mockGenerateText).toHaveBeenCalledWith( - expect.objectContaining({ - tools: expect.objectContaining({ - url_context: { type: "urlContext" }, - }), - }), - ) - }) }) describe("getModel", () => { diff --git a/src/api/providers/gemini.ts b/src/api/providers/gemini.ts index 8018406e469..96d7efa92c9 100644 --- a/src/api/providers/gemini.ts +++ b/src/api/providers/gemini.ts @@ -286,20 +286,6 @@ export class GeminiHandler extends BaseProvider implements SingleCompletionHandl const { id: modelId, info } = this.getModel() try { - // Build tools for grounding - cast to any to bypass strict typing - // Google provider tools have a different shape than standard ToolSet - const tools: Record = {} - - // Add URL context tool if enabled - if (this.options.enableUrlContext) { - tools.url_context = this.provider.tools.urlContext({}) - } - - // Add Google Search grounding tool if enabled - if (this.options.enableGrounding) { - tools.google_search = this.provider.tools.googleSearch({}) - } - const supportsTemperature = info.supportsTemperature !== false const temperatureConfig: number | undefined = supportsTemperature ? (this.options.modelTemperature ?? info.defaultTemperature ?? 1) @@ -309,7 +295,6 @@ export class GeminiHandler extends BaseProvider implements SingleCompletionHandl model: this.provider(modelId), prompt, temperature: temperatureConfig, - ...(Object.keys(tools).length > 0 && { tools: tools as ToolSet }), }) let text = result.text ?? "" diff --git a/src/api/providers/vertex.ts b/src/api/providers/vertex.ts index def3803922c..17f7a4a99e1 100644 --- a/src/api/providers/vertex.ts +++ b/src/api/providers/vertex.ts @@ -303,20 +303,6 @@ export class VertexHandler extends BaseProvider implements SingleCompletionHandl const { id: modelId, info } = this.getModel() try { - // Build tools for grounding - cast to any to bypass strict typing - // Google provider tools have a different shape than standard ToolSet - const tools: Record = {} - - // Add URL context tool if enabled - if (this.options.enableUrlContext) { - tools.url_context = this.provider.tools.urlContext({}) - } - - // Add Google Search grounding tool if enabled - if (this.options.enableGrounding) { - tools.google_search = this.provider.tools.googleSearch({}) - } - const supportsTemperature = info.supportsTemperature !== false const temperatureConfig: number | undefined = supportsTemperature ? (this.options.modelTemperature ?? info.defaultTemperature ?? 1) @@ -326,7 +312,6 @@ export class VertexHandler extends BaseProvider implements SingleCompletionHandl model: this.provider(modelId), prompt, temperature: temperatureConfig, - ...(Object.keys(tools).length > 0 && { tools: tools as ToolSet }), }) let text = result.text ?? "" diff --git a/src/core/task/__tests__/grounding-sources.test.ts b/src/core/task/__tests__/grounding-sources.test.ts index 764e1ea37fb..f6874a581e4 100644 --- a/src/core/task/__tests__/grounding-sources.test.ts +++ b/src/core/task/__tests__/grounding-sources.test.ts @@ -183,7 +183,6 @@ describe("Task grounding sources handling", () => { mockApiConfiguration = { apiProvider: "gemini", geminiApiKey: "test-key", - enableGrounding: true, } as ProviderSettings }) diff --git a/webview-ui/src/components/settings/ApiOptions.tsx b/webview-ui/src/components/settings/ApiOptions.tsx index 939d2734d4b..5f8e0998350 100644 --- a/webview-ui/src/components/settings/ApiOptions.tsx +++ b/webview-ui/src/components/settings/ApiOptions.tsx @@ -601,19 +601,11 @@ const ApiOptions = ({ )} {selectedProvider === "vertex" && ( - + )} {selectedProvider === "gemini" && ( - + )} {selectedProvider === "openai" && ( diff --git a/webview-ui/src/components/settings/providers/Gemini.tsx b/webview-ui/src/components/settings/providers/Gemini.tsx index ad413df136e..aed016204f3 100644 --- a/webview-ui/src/components/settings/providers/Gemini.tsx +++ b/webview-ui/src/components/settings/providers/Gemini.tsx @@ -12,10 +12,9 @@ import { inputEventTransform } from "../transforms" type GeminiProps = { apiConfiguration: ProviderSettings setApiConfigurationField: (field: keyof ProviderSettings, value: ProviderSettings[keyof ProviderSettings]) => void - simplifySettings?: boolean } -export const Gemini = ({ apiConfiguration, setApiConfigurationField, simplifySettings }: GeminiProps) => { +export const Gemini = ({ apiConfiguration, setApiConfigurationField }: GeminiProps) => { const { t } = useAppTranslation() const [googleGeminiBaseUrlSelected, setGoogleGeminiBaseUrlSelected] = useState( @@ -73,31 +72,6 @@ export const Gemini = ({ apiConfiguration, setApiConfigurationField, simplifySet className="w-full mt-1" /> )} - - {!simplifySettings && ( - <> - setApiConfigurationField("enableUrlContext", checked)}> - {t("settings:providers.geminiParameters.urlContext.title")} - -
- {t("settings:providers.geminiParameters.urlContext.description")} -
- - setApiConfigurationField("enableGrounding", checked)}> - {t("settings:providers.geminiParameters.groundingSearch.title")} - -
- {t("settings:providers.geminiParameters.groundingSearch.description")} -
- - )} ) diff --git a/webview-ui/src/components/settings/providers/Vertex.tsx b/webview-ui/src/components/settings/providers/Vertex.tsx index 2122bde81f3..a871264f833 100644 --- a/webview-ui/src/components/settings/providers/Vertex.tsx +++ b/webview-ui/src/components/settings/providers/Vertex.tsx @@ -12,10 +12,9 @@ import { inputEventTransform } from "../transforms" type VertexProps = { apiConfiguration: ProviderSettings setApiConfigurationField: (field: keyof ProviderSettings, value: ProviderSettings[keyof ProviderSettings]) => void - simplifySettings?: boolean } -export const Vertex = ({ apiConfiguration, setApiConfigurationField, simplifySettings }: VertexProps) => { +export const Vertex = ({ apiConfiguration, setApiConfigurationField }: VertexProps) => { const { t } = useAppTranslation() // Check if the selected model supports 1M context (supported Claude 4 models) @@ -116,30 +115,6 @@ export const Vertex = ({ apiConfiguration, setApiConfigurationField, simplifySet )} - - {!simplifySettings && apiConfiguration.apiModelId?.startsWith("gemini") && ( -
- setApiConfigurationField("enableUrlContext", checked)}> - {t("settings:providers.geminiParameters.urlContext.title")} - -
- {t("settings:providers.geminiParameters.urlContext.description")} -
- - setApiConfigurationField("enableGrounding", checked)}> - {t("settings:providers.geminiParameters.groundingSearch.title")} - -
- {t("settings:providers.geminiParameters.groundingSearch.description")} -
-
- )} ) } diff --git a/webview-ui/src/components/settings/providers/__tests__/Gemini.spec.tsx b/webview-ui/src/components/settings/providers/__tests__/Gemini.spec.tsx index 43931b3428b..70c762dd35c 100644 --- a/webview-ui/src/components/settings/providers/__tests__/Gemini.spec.tsx +++ b/webview-ui/src/components/settings/providers/__tests__/Gemini.spec.tsx @@ -1,5 +1,4 @@ import { render, screen } from "@testing-library/react" -import userEvent from "@testing-library/user-event" import { Gemini } from "../Gemini" import type { ProviderSettings } from "@roo-code/types" @@ -32,8 +31,6 @@ vi.mock("@src/components/common/VSCodeButtonLink", () => ({ describe("Gemini", () => { const defaultApiConfiguration: ProviderSettings = { geminiApiKey: "", - enableUrlContext: false, - enableGrounding: false, } const mockSetApiConfigurationField = vi.fn() @@ -42,136 +39,26 @@ describe("Gemini", () => { vi.clearAllMocks() }) - describe("URL Context Checkbox", () => { - it("should render URL context checkbox unchecked by default", () => { - render( - , - ) + it("should render custom base URL checkbox", () => { + render( + , + ) - const urlContextCheckbox = screen.getByTestId("checkbox-url-context") - const checkbox = urlContextCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - expect(checkbox.checked).toBe(false) - }) - - it("should render URL context checkbox checked when enableUrlContext is true", () => { - const apiConfiguration = { ...defaultApiConfiguration, enableUrlContext: true } - render( - , - ) - - const urlContextCheckbox = screen.getByTestId("checkbox-url-context") - const checkbox = urlContextCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - expect(checkbox.checked).toBe(true) - }) - - it("should call setApiConfigurationField with correct parameters when URL context checkbox is toggled", async () => { - const user = userEvent.setup() - render( - , - ) - - const urlContextCheckbox = screen.getByTestId("checkbox-url-context") - const checkbox = urlContextCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - - await user.click(checkbox) - - expect(mockSetApiConfigurationField).toHaveBeenCalledWith("enableUrlContext", true) - }) + expect(screen.getByTestId("checkbox-custom-base-url")).toBeInTheDocument() }) - describe("Grounding with Google Search Checkbox", () => { - it("should render grounding search checkbox unchecked by default", () => { - render( - , - ) - - const groundingCheckbox = screen.getByTestId("checkbox-grounding-search") - const checkbox = groundingCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - expect(checkbox.checked).toBe(false) - }) - - it("should render grounding search checkbox checked when enableGrounding is true", () => { - const apiConfiguration = { ...defaultApiConfiguration, enableGrounding: true } - render( - , - ) - - const groundingCheckbox = screen.getByTestId("checkbox-grounding-search") - const checkbox = groundingCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - expect(checkbox.checked).toBe(true) - }) - - it("should call setApiConfigurationField with correct parameters when grounding search checkbox is toggled", async () => { - const user = userEvent.setup() - render( - , - ) - - const groundingCheckbox = screen.getByTestId("checkbox-grounding-search") - const checkbox = groundingCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - - await user.click(checkbox) - - expect(mockSetApiConfigurationField).toHaveBeenCalledWith("enableGrounding", true) - }) - }) - - describe("simplifySettings prop", () => { - it("should hide URL context and grounding checkboxes when simplifySettings is true, but keep custom base URL", () => { - render( - , - ) - - // Should still render custom base URL checkbox - expect(screen.getByTestId("checkbox-custom-base-url")).toBeInTheDocument() - // Should not render URL context and grounding checkboxes - expect(screen.queryByTestId("checkbox-url-context")).not.toBeInTheDocument() - expect(screen.queryByTestId("checkbox-grounding-search")).not.toBeInTheDocument() - }) - - it("should show all checkboxes when simplifySettings is false", () => { - render( - , - ) - - // Should render all checkboxes - expect(screen.getByTestId("checkbox-custom-base-url")).toBeInTheDocument() - expect(screen.getByTestId("checkbox-url-context")).toBeInTheDocument() - expect(screen.getByTestId("checkbox-grounding-search")).toBeInTheDocument() - }) - - it("should show all checkboxes when simplifySettings is undefined (default behavior)", () => { - render( - , - ) + it("should not render URL context or grounding search checkboxes", () => { + render( + , + ) - // Should render all checkboxes (default behavior) - expect(screen.getByTestId("checkbox-custom-base-url")).toBeInTheDocument() - expect(screen.getByTestId("checkbox-url-context")).toBeInTheDocument() - expect(screen.getByTestId("checkbox-grounding-search")).toBeInTheDocument() - }) + expect(screen.queryByTestId("checkbox-url-context")).not.toBeInTheDocument() + expect(screen.queryByTestId("checkbox-grounding-search")).not.toBeInTheDocument() }) }) diff --git a/webview-ui/src/components/settings/providers/__tests__/Vertex.spec.tsx b/webview-ui/src/components/settings/providers/__tests__/Vertex.spec.tsx index 4a07c5715f8..b39f94d4182 100644 --- a/webview-ui/src/components/settings/providers/__tests__/Vertex.spec.tsx +++ b/webview-ui/src/components/settings/providers/__tests__/Vertex.spec.tsx @@ -1,5 +1,4 @@ import { render, screen } from "@testing-library/react" -import userEvent from "@testing-library/user-event" import { Vertex } from "../Vertex" import type { ProviderSettings } from "@roo-code/types" import { VERTEX_REGIONS } from "@roo-code/types" @@ -45,8 +44,6 @@ describe("Vertex", () => { vertexJsonCredentials: "", vertexProjectId: "", vertexRegion: "", - enableUrlContext: false, - enableGrounding: false, apiModelId: "gemini-2.0-flash-001", } @@ -114,172 +111,15 @@ describe("Vertex", () => { }) }) - describe("URL Context Checkbox", () => { - it("should render URL context checkbox unchecked by default for Gemini models", () => { - render( - , - ) - - const urlContextCheckbox = screen.getByTestId("checkbox-url-context") - const checkbox = urlContextCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - expect(checkbox.checked).toBe(false) - }) - - it("should NOT render URL context checkbox for non-Gemini models", () => { - const apiConfiguration = { ...defaultApiConfiguration, apiModelId: "claude-3-opus@20240229" } - render( - , - ) - - const urlContextCheckbox = screen.queryByTestId("checkbox-url-context") - expect(urlContextCheckbox).toBeNull() - }) - - it("should NOT render URL context checkbox when simplifySettings is true", () => { - render( - , - ) - - const urlContextCheckbox = screen.queryByTestId("checkbox-url-context") - expect(urlContextCheckbox).toBeNull() - }) - - it("should render URL context checkbox checked when enableUrlContext is true for Gemini models", () => { - const apiConfiguration = { - ...defaultApiConfiguration, - enableUrlContext: true, - apiModelId: "gemini-2.0-flash-001", - } - render( - , - ) - - const urlContextCheckbox = screen.getByTestId("checkbox-url-context") - const checkbox = urlContextCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - expect(checkbox.checked).toBe(true) - }) - - it("should call setApiConfigurationField with correct parameters when URL context checkbox is toggled", async () => { - const user = userEvent.setup() - render( - , - ) - - const urlContextCheckbox = screen.getByTestId("checkbox-url-context") - const checkbox = urlContextCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - - await user.click(checkbox) - - expect(mockSetApiConfigurationField).toHaveBeenCalledWith("enableUrlContext", true) - }) - }) - - describe("Grounding with Google Search Checkbox", () => { - it("should render grounding search checkbox unchecked by default for Gemini models", () => { - render( - , - ) - - const groundingCheckbox = screen.getByTestId("checkbox-grounding-search") - const checkbox = groundingCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - expect(checkbox.checked).toBe(false) - }) + it("should not render URL context or grounding search checkboxes", () => { + render( + , + ) - it("should NOT render grounding search checkbox for non-Gemini models", () => { - const apiConfiguration = { ...defaultApiConfiguration, apiModelId: "claude-3-opus@20240229" } - render( - , - ) - - const groundingCheckbox = screen.queryByTestId("checkbox-grounding-search") - expect(groundingCheckbox).toBeNull() - }) - - it("should NOT render grounding search checkbox when simplifySettings is true", () => { - render( - , - ) - - const groundingCheckbox = screen.queryByTestId("checkbox-grounding-search") - expect(groundingCheckbox).toBeNull() - }) - - it("should render grounding search checkbox checked when enableGrounding is true for Gemini models", () => { - const apiConfiguration = { - ...defaultApiConfiguration, - enableGrounding: true, - apiModelId: "gemini-2.0-flash-001", - } - render( - , - ) - - const groundingCheckbox = screen.getByTestId("checkbox-grounding-search") - const checkbox = groundingCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - expect(checkbox.checked).toBe(true) - }) - - it("should call setApiConfigurationField with correct parameters when grounding search checkbox is toggled", async () => { - const user = userEvent.setup() - render( - , - ) - - const groundingCheckbox = screen.getByTestId("checkbox-grounding-search") - const checkbox = groundingCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - - await user.click(checkbox) - - expect(mockSetApiConfigurationField).toHaveBeenCalledWith("enableGrounding", true) - }) - }) - - describe("Both checkboxes interaction", () => { - it("should be able to toggle both checkboxes independently", async () => { - const user = userEvent.setup() - render( - , - ) - - const urlContextCheckbox = screen.getByTestId("checkbox-url-context") - const urlCheckbox = urlContextCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - - const groundingCheckbox = screen.getByTestId("checkbox-grounding-search") - const groundCheckbox = groundingCheckbox.querySelector("input[type='checkbox']") as HTMLInputElement - - // Toggle URL context - await user.click(urlCheckbox) - expect(mockSetApiConfigurationField).toHaveBeenCalledWith("enableUrlContext", true) - - // Toggle grounding - await user.click(groundCheckbox) - expect(mockSetApiConfigurationField).toHaveBeenCalledWith("enableGrounding", true) - - // Both should have been called - expect(mockSetApiConfigurationField).toHaveBeenCalledTimes(2) - }) + expect(screen.queryByTestId("checkbox-url-context")).not.toBeInTheDocument() + expect(screen.queryByTestId("checkbox-grounding-search")).not.toBeInTheDocument() }) }) diff --git a/webview-ui/src/i18n/locales/ca/settings.json b/webview-ui/src/i18n/locales/ca/settings.json index cb71a84a327..cfcc0727c57 100644 --- a/webview-ui/src/i18n/locales/ca/settings.json +++ b/webview-ui/src/i18n/locales/ca/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "Nota: Si no veieu l'ús de la caché, proveu de seleccionar un model diferent i després tornar a seleccionar el model desitjat.", "vscodeLmModel": "Model de llenguatge", "vscodeLmWarning": "Nota: Els models accessibles a través de l’API VS Code Language Model poden estar encapsulats o ajustats pel proveïdor; per tant, el comportament pot diferir de l’ús directe del mateix model des d’un proveïdor o enrutador típic. Per utilitzar un model del desplegable «Language Model», primer canvia a aquest model i després fes clic a «Acceptar» a l’avís de Copilot Chat; en cas contrari pots veure un error com 400 «The requested model is not supported».", - "geminiParameters": { - "urlContext": { - "title": "Activa el context d'URL", - "description": "Permet a Gemini llegir pàgines enllaçades per extreure, comparar i sintetitzar el seu contingut en respostes informades." - }, - "groundingSearch": { - "title": "Activa la Fonamentació amb la Cerca de Google", - "description": "Connecta Gemini a dades web en temps real per a respostes precises i actualitzades amb citacions verificables." - } - }, "googleCloudSetup": { "title": "Per utilitzar Google Cloud Vertex AI, necessiteu:", "step1": "1. Crear un compte de Google Cloud, habilitar l'API de Vertex AI i habilitar els models Claude necessaris.", diff --git a/webview-ui/src/i18n/locales/de/settings.json b/webview-ui/src/i18n/locales/de/settings.json index b7c729e7a4a..f3e753e011d 100644 --- a/webview-ui/src/i18n/locales/de/settings.json +++ b/webview-ui/src/i18n/locales/de/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "Hinweis: Wenn Sie keine Cache-Nutzung sehen, versuchen Sie ein anderes Modell auszuwählen und dann Ihr gewünschtes Modell erneut auszuwählen.", "vscodeLmModel": "Sprachmodell", "vscodeLmWarning": "Hinweis: Über die VS Code Language Model API abgerufene Modelle können vom Anbieter ummantelt oder feinabgestimmt sein. Daher kann sich ihr Verhalten von der direkten Nutzung desselben Modells bei einem typischen Anbieter oder Router unterscheiden. Um ein Modell aus der Auswahlliste „Language Model“ zu verwenden, wechsle zunächst zu diesem Modell und klicke dann im Copilot‑Chat auf „Akzeptieren“; andernfalls kann ein Fehler wie 400 „The requested model is not supported“ auftreten.", - "geminiParameters": { - "urlContext": { - "title": "URL-Kontext aktivieren", - "description": "Ermöglicht Gemini, verlinkte Seiten zu lesen, um deren Inhalt zu extrahieren, zu vergleichen und in fundierte Antworten zu synthetisieren." - }, - "groundingSearch": { - "title": "Grounding mit Google Suche aktivieren", - "description": "Verbindet Gemini mit Echtzeit-Webdaten für genaue, aktuelle Antworten mit überprüfbaren Zitaten." - } - }, "googleCloudSetup": { "title": "Um Google Cloud Vertex AI zu verwenden, müssen Sie:", "step1": "1. Ein Google Cloud-Konto erstellen, die Vertex AI API aktivieren & die gewünschten Claude-Modelle aktivieren.", diff --git a/webview-ui/src/i18n/locales/en/settings.json b/webview-ui/src/i18n/locales/en/settings.json index c134268042b..61dfaf42af5 100644 --- a/webview-ui/src/i18n/locales/en/settings.json +++ b/webview-ui/src/i18n/locales/en/settings.json @@ -524,16 +524,6 @@ "cacheUsageNote": "Note: If you don't see cache usage, try selecting a different model and then selecting your desired model again.", "vscodeLmModel": "Language Model", "vscodeLmWarning": "Note: Models accessed via the VS Code Language Model API may be wrapped or fine-tuned by the provider, so behavior can differ from using the same model directly from a typical provider or router. To use a model from the Language Model dropdown, first switch to that model and then click Accept in the Copilot Chat prompt; otherwise you may see an error such as 400 \"The requested model is not supported\".", - "geminiParameters": { - "urlContext": { - "title": "Enable URL context", - "description": "Lets Gemini read linked pages to extract, compare, and synthesize their content into informed responses." - }, - "groundingSearch": { - "title": "Enable Grounding with Google search", - "description": "Connects Gemini to real‑time web data for accurate, up‑to‑date answers with verifiable citations." - } - }, "googleCloudSetup": { "title": "To use Google Cloud Vertex AI, you need to:", "step1": "1. Create a Google Cloud account, enable the Vertex AI API & enable the desired Claude models.", diff --git a/webview-ui/src/i18n/locales/es/settings.json b/webview-ui/src/i18n/locales/es/settings.json index db55a2e3b02..aafa9568e05 100644 --- a/webview-ui/src/i18n/locales/es/settings.json +++ b/webview-ui/src/i18n/locales/es/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "Nota: Si no ve el uso del caché, intente seleccionar un modelo diferente y luego seleccionar nuevamente su modelo deseado.", "vscodeLmModel": "Modelo de lenguaje", "vscodeLmWarning": "Nota: Los modelos a los que se accede a través de la API de modelos de lenguaje de VS Code pueden estar envueltos o ajustados por el proveedor, por lo que su comportamiento puede diferir del uso directo del mismo modelo desde un proveedor o enrutador típico. Para usar un modelo del menú desplegable «Language Model», primero cambia a ese modelo y luego haz clic en «Aceptar» en el aviso de Copilot Chat; de lo contrario, puedes ver un error como 400 «The requested model is not supported».", - "geminiParameters": { - "urlContext": { - "title": "Habilitar contexto de URL", - "description": "Permite que Gemini acceda y procese URLs para contexto adicional al generar respuestas. Útil para tareas que requieren análisis de contenido web." - }, - "groundingSearch": { - "title": "Habilitar grounding con búsqueda en Google", - "description": "Permite que Gemini busque en Google información actual y fundamente las respuestas en datos en tiempo real. Útil para consultas que requieren información actualizada." - } - }, "googleCloudSetup": { "title": "Para usar Google Cloud Vertex AI, necesita:", "step1": "1. Crear una cuenta de Google Cloud, habilitar la API de Vertex AI y habilitar los modelos Claude deseados.", diff --git a/webview-ui/src/i18n/locales/fr/settings.json b/webview-ui/src/i18n/locales/fr/settings.json index e9a09a420ff..ba51bf7ca83 100644 --- a/webview-ui/src/i18n/locales/fr/settings.json +++ b/webview-ui/src/i18n/locales/fr/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "Remarque : Si vous ne voyez pas l'utilisation du cache, essayez de sélectionner un modèle différent puis de sélectionner à nouveau votre modèle souhaité.", "vscodeLmModel": "Modèle de langage", "vscodeLmWarning": "Remarque : Les modèles accessibles via l’API VS Code Language Model peuvent être encapsulés ou ajustés par le fournisseur ; leur comportement peut donc différer de l’utilisation directe du même modèle auprès d’un fournisseur ou routeur classique. Pour utiliser un modèle depuis la liste « Language Model », bascule d’abord sur ce modèle puis clique sur « Accepter » dans l’invite de Copilot Chat ; sinon, une erreur telle que 400 « The requested model is not supported » peut apparaître.", - "geminiParameters": { - "urlContext": { - "title": "Activer le contexte d'URL", - "description": "Permet à Gemini d'accéder et de traiter les URL pour un contexte supplémentaire lors de la génération des réponses. Utile pour les tâches nécessitant l'analyse de contenu web." - }, - "groundingSearch": { - "title": "Activer la mise en contexte via la recherche Google", - "description": "Permet à Gemini d'effectuer des recherches sur Google pour obtenir des informations actuelles et fonder les réponses sur des données en temps réel. Utile pour les requêtes nécessitant des informations à jour." - } - }, "googleCloudSetup": { "title": "Pour utiliser Google Cloud Vertex AI, vous devez :", "step1": "1. Créer un compte Google Cloud, activer l'API Vertex AI et activer les modèles Claude souhaités.", diff --git a/webview-ui/src/i18n/locales/hi/settings.json b/webview-ui/src/i18n/locales/hi/settings.json index bf719ec9601..e9a3c3cbd26 100644 --- a/webview-ui/src/i18n/locales/hi/settings.json +++ b/webview-ui/src/i18n/locales/hi/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "नोट: यदि आप कैश उपयोग नहीं देखते हैं, तो एक अलग मॉडल चुनने का प्रयास करें और फिर अपने वांछित मॉडल को पुनः चुनें।", "vscodeLmModel": "भाषा मॉडल", "vscodeLmWarning": "नोट: VS Code Language Model API के माध्यम से उपलब्ध मॉडल प्रदाता द्वारा रैप या फाइन‑ट्यून किए जा सकते हैं, इसलिए इनका व्यवहार किसी सामान्य प्रदाता या राउटर से सीधे उसी मॉडल का उपयोग करने की तुलना में अलग हो सकता है। «Language Model» ड्रॉपडाउन से मॉडल उपयोग करने के लिए पहले उसी मॉडल पर स्विच करें और फिर Copilot Chat प्रॉम्प्ट में «Accept» पर क्लिक करें; अन्यथा 400 \"The requested model is not supported\" जैसी त्रुटि दिखाई दे सकती है।", - "geminiParameters": { - "urlContext": { - "title": "URL संदर्भ सक्षम करें", - "description": "जब प्रतिक्रिया उत्पन्न होती है, अतिरिक्त संदर्भ के लिए Gemini को URL तक पहुंचने और संसाधित करने की अनुमति देता है। वेब सामग्री विश्लेषण वाली कार्यों के लिए उपयोगी।" - }, - "groundingSearch": { - "title": "Google खोज के साथ ग्राउंडिंग सक्षम करें", - "description": "Gemini को वास्तविक समय के डेटा पर आधारित उत्तर प्रदान करने के लिए Google पर जानकारी खोजने और उत्तरों को ग्राउंड करने की अनुमति देता है। अद्यतित जानकारी की आवश्यकता वाली क्वेरीज़ के लिए उपयोगी।" - } - }, "googleCloudSetup": { "title": "Google Cloud Vertex AI का उपयोग करने के लिए, आपको आवश्यकता है:", "step1": "1. Google Cloud खाता बनाएं, Vertex AI API सक्षम करें और वांछित Claude मॉडल सक्षम करें।", diff --git a/webview-ui/src/i18n/locales/id/settings.json b/webview-ui/src/i18n/locales/id/settings.json index 03574328948..cca52db56c3 100644 --- a/webview-ui/src/i18n/locales/id/settings.json +++ b/webview-ui/src/i18n/locales/id/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "Catatan: Jika kamu tidak melihat penggunaan cache, coba pilih model yang berbeda lalu pilih model yang kamu inginkan lagi.", "vscodeLmModel": "Model Bahasa", "vscodeLmWarning": "Catatan: Model yang diakses melalui VS Code Language Model API dapat dibungkus atau disetel‑halus oleh penyedia, sehingga perilakunya dapat berbeda dibandingkan menggunakan model yang sama secara langsung dari penyedia atau router tipikal. Untuk menggunakan model dari menu tarik‑turun «Language Model», pertama beralihlah ke model tersebut lalu klik «Terima» pada prompt Copilot Chat; jika tidak, Anda mungkin melihat kesalahan seperti 400 «The requested model is not supported».", - "geminiParameters": { - "urlContext": { - "title": "Aktifkan konteks URL", - "description": "Memungkinkan Gemini mengakses dan memproses URL untuk konteks tambahan saat menghasilkan respons. Berguna untuk tugas yang memerlukan analisis konten web." - }, - "groundingSearch": { - "title": "Aktifkan Grounding dengan Pencarian Google", - "description": "Memungkinkan Gemini mencari informasi terkini di Google dan mendasarkan respons pada data waktu nyata. Berguna untuk kueri yang memerlukan informasi terkini." - } - }, "googleCloudSetup": { "title": "Untuk menggunakan Google Cloud Vertex AI, kamu perlu:", "step1": "1. Buat akun Google Cloud, aktifkan Vertex AI API & aktifkan model Claude yang diinginkan.", diff --git a/webview-ui/src/i18n/locales/it/settings.json b/webview-ui/src/i18n/locales/it/settings.json index 2bdbb840805..5478568ebe9 100644 --- a/webview-ui/src/i18n/locales/it/settings.json +++ b/webview-ui/src/i18n/locales/it/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "Nota: Se non vedi l'utilizzo della cache, prova a selezionare un modello diverso e poi seleziona nuovamente il modello desiderato.", "vscodeLmModel": "Modello linguistico", "vscodeLmWarning": "Nota: I modelli accessibili tramite la VS Code Language Model API possono essere incapsulati o perfezionati dal provider, quindi il comportamento può differire dall’uso diretto dello stesso modello presso un provider o router tipico. Per usare un modello dal menu a discesa «Language Model», passa prima a quel modello e poi fai clic su «Accetta» nell’avviso di Copilot Chat; in caso contrario potresti visualizzare un errore come 400 «The requested model is not supported».", - "geminiParameters": { - "urlContext": { - "title": "Abilita contesto URL", - "description": "Consente a Gemini di accedere e processare URL per contesto aggiuntivo durante la generazione delle risposte. Utile per attività che richiedono analisi di contenuti web." - }, - "groundingSearch": { - "title": "Abilita grounding con ricerca Google", - "description": "Consente a Gemini di cercare informazioni aggiornate su Google e basare le risposte su dati in tempo reale. Utile per query che richiedono informazioni aggiornate." - } - }, "googleCloudSetup": { "title": "Per utilizzare Google Cloud Vertex AI, è necessario:", "step1": "1. Creare un account Google Cloud, abilitare l'API Vertex AI e abilitare i modelli Claude desiderati.", diff --git a/webview-ui/src/i18n/locales/ja/settings.json b/webview-ui/src/i18n/locales/ja/settings.json index 8143b62b6e1..c33fdd85e24 100644 --- a/webview-ui/src/i18n/locales/ja/settings.json +++ b/webview-ui/src/i18n/locales/ja/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "注意:キャッシュの使用が表示されない場合は、別のモデルを選択してから希望のモデルを再度選択してみてください。", "vscodeLmModel": "言語モデル", "vscodeLmWarning": "注意: VS Code Language Model API を通じて利用されるモデルは、プロバイダーによってラップまたは微調整されている場合があります。したがって、一般的なプロバイダーやルーターから同じモデルを直接使用する場合と挙動が異なることがあります。『Language Model』ドロップダウンのモデルを使用するには、まずそのモデルに切り替え、Copilot Chat のプロンプトで『承認』をクリックしてください。そうしないと、400『The requested model is not supported』などのエラーが表示されることがあります。", - "geminiParameters": { - "urlContext": { - "title": "URLコンテキストを有効にする", - "description": "応答を生成する際に、追加のコンテキストとしてGeminiがURLにアクセスして処理できるようにします。Webコンテンツの分析を必要とするタスクに役立ちます。" - }, - "groundingSearch": { - "title": "Google検索でのグラウンディングを有効にする", - "description": "GeminiがGoogleを検索して最新情報を取得し、リアルタイムデータに基づいて応答をグラウンディングできるようにします。最新情報が必要なクエリに便利です。" - } - }, "googleCloudSetup": { "title": "Google Cloud Vertex AIを使用するには:", "step1": "1. Google Cloudアカウントを作成し、Vertex AI APIを有効にして、希望するClaudeモデルを有効にします。", diff --git a/webview-ui/src/i18n/locales/ko/settings.json b/webview-ui/src/i18n/locales/ko/settings.json index 9738aea7c54..146c6044ba9 100644 --- a/webview-ui/src/i18n/locales/ko/settings.json +++ b/webview-ui/src/i18n/locales/ko/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "참고: 캐시 사용이 표시되지 않는 경우, 다른 모델을 선택한 다음 원하는 모델을 다시 선택해 보세요.", "vscodeLmModel": "언어 모델", "vscodeLmWarning": "참고: VS Code Language Model API를 통해 액세스되는 모델은 공급자가 래핑하거나 미세 조정했을 수 있어, 일반적인 공급자나 라우터에서 동일한 모델을 직접 사용할 때와 동작이 다를 수 있습니다. ‘Language Model’ 드롭다운의 모델을 사용하려면 먼저 해당 모델로 전환한 다음 Copilot Chat 프롬프트에서 ‘허용(수락)’을 클릭하세요. 그렇지 않으면 400 ‘The requested model is not supported’와 같은 오류가 발생할 수 있습니다.", - "geminiParameters": { - "urlContext": { - "title": "URL 컨텍스트 활성화", - "description": "응답을 생성할 때 추가 컨텍스트를 위해 Gemini가 URL에 액세스하고 처리할 수 있도록 합니다. 웹 콘텐츠 분석이 필요한 작업에 유용합니다." - }, - "groundingSearch": { - "title": "Google 검색과 함께 근거 지정 활성화", - "description": "Gemini가 최신 정보를 얻기 위해 Google을 검색하고 응답을 실시간 데이터에 근거하도록 합니다. 최신 정보가 필요한 쿼리에 유용합니다." - } - }, "googleCloudSetup": { "title": "Google Cloud Vertex AI를 사용하려면:", "step1": "1. Google Cloud 계정을 만들고, Vertex AI API를 활성화하고, 원하는 Claude 모델을 활성화하세요.", diff --git a/webview-ui/src/i18n/locales/nl/settings.json b/webview-ui/src/i18n/locales/nl/settings.json index 3b1f9326c75..942b2d6bd8d 100644 --- a/webview-ui/src/i18n/locales/nl/settings.json +++ b/webview-ui/src/i18n/locales/nl/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "Let op: als je geen cachegebruik ziet, probeer dan een ander model te selecteren en vervolgens weer je gewenste model.", "vscodeLmModel": "Taalmodel", "vscodeLmWarning": "Let op: Modellen die via de VS Code Language Model API worden benaderd kunnen door de provider worden verpakt of fijn‑afgesteld, waardoor het gedrag kan afwijken van het rechtstreeks gebruiken van hetzelfde model bij een typische provider of router. Om een model uit de keuzelijst ‘Language Model’ te gebruiken, schakel eerst naar dat model en klik vervolgens op ‘Accepteren’ in de Copilot Chat‑prompt; anders kun je een fout zien zoals 400 ‘The requested model is not supported’.", - "geminiParameters": { - "urlContext": { - "title": "URL-context inschakelen", - "description": "Staat Gemini toe om URL's te openen en te verwerken voor extra context bij het genereren van antwoorden. Handig voor taken die webinhoudsanalyse vereisen." - }, - "groundingSearch": { - "title": "Grounding met Google-zoekopdracht inschakelen", - "description": "Staat Gemini toe om Google te doorzoeken voor actuele informatie en antwoorden op realtime gegevens te baseren. Handig voor vragen die actuele informatie vereisen." - } - }, "googleCloudSetup": { "title": "Om Google Cloud Vertex AI te gebruiken, moet je:", "step1": "1. Maak een Google Cloud-account aan, schakel de Vertex AI API in en activeer de gewenste Claude-modellen.", diff --git a/webview-ui/src/i18n/locales/pl/settings.json b/webview-ui/src/i18n/locales/pl/settings.json index 8067679335e..7a3632ab489 100644 --- a/webview-ui/src/i18n/locales/pl/settings.json +++ b/webview-ui/src/i18n/locales/pl/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "Uwaga: Jeśli nie widzisz użycia bufora, spróbuj wybrać inny model, a następnie ponownie wybrać żądany model.", "vscodeLmModel": "Model językowy", "vscodeLmWarning": "Uwaga: Modele dostępne przez interfejs VS Code Language Model API mogą być opakowane lub dostrojone przez dostawcę, dlatego ich działanie może różnić się od bezpośredniego użycia tego samego modelu u typowego dostawcy lub routera. Aby użyć modelu z listy «Language Model», najpierw przełącz się na ten model, a następnie kliknij «Akceptuj» w monicie Copilot Chat; w przeciwnym razie możesz zobaczyć błąd, np. 400 „The requested model is not supported”.", - "geminiParameters": { - "urlContext": { - "title": "Włącz kontekst URL", - "description": "Pozwala Gemini uzyskiwać dostęp i przetwarzać adresy URL w celu uzyskania dodatkowego kontekstu podczas generowania odpowiedzi. Przydatne w zadaniach wymagających analizy zawartości sieci Web." - }, - "groundingSearch": { - "title": "Włącz grounding przy użyciu wyszukiwarki Google", - "description": "Pozwala Gemini przeszukiwać Google w celu uzyskania aktualnych informacji i opierać odpowiedzi na danych w czasie rzeczywistym. Przydatne w zapytaniach wymagających najnowszych informacji." - } - }, "googleCloudSetup": { "title": "Aby korzystać z Google Cloud Vertex AI, potrzebujesz:", "step1": "1. Utworzyć konto Google Cloud, włączyć API Vertex AI i włączyć żądane modele Claude.", diff --git a/webview-ui/src/i18n/locales/pt-BR/settings.json b/webview-ui/src/i18n/locales/pt-BR/settings.json index a9c23334f09..b82cfa8ee8f 100644 --- a/webview-ui/src/i18n/locales/pt-BR/settings.json +++ b/webview-ui/src/i18n/locales/pt-BR/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "Nota: Se você não vir o uso do cache, tente selecionar um modelo diferente e depois selecionar novamente o modelo desejado.", "vscodeLmModel": "Modelo de Linguagem", "vscodeLmWarning": "Observação: Modelos acessados pela VS Code Language Model API podem ser encapsulados ou ajustados pelo provedor, portanto o comportamento pode diferir do uso direto do mesmo modelo em um provedor ou roteador típico. Para usar um modelo no menu suspenso «Language Model», primeiro altere para esse modelo e depois clique em «Aceitar» no prompt do Copilot Chat; caso contrário, você pode ver um erro como 400 «The requested model is not supported».", - "geminiParameters": { - "urlContext": { - "title": "Ativar contexto de URL", - "description": "Permite que o Gemini acesse e processe URLs para contexto adicional ao gerar respostas. Útil para tarefas que exijam análise de conteúdo da web." - }, - "groundingSearch": { - "title": "Ativar grounding com pesquisa no Google", - "description": "Permite que o Gemini pesquise informações atuais no Google e fundamente as respostas em dados em tempo real. Útil para consultas que requerem informações atualizadas." - } - }, "googleCloudSetup": { "title": "Para usar o Google Cloud Vertex AI, você precisa:", "step1": "1. Criar uma conta Google Cloud, ativar a API Vertex AI e ativar os modelos Claude desejados.", diff --git a/webview-ui/src/i18n/locales/ru/settings.json b/webview-ui/src/i18n/locales/ru/settings.json index 8048bf38074..93cbaa83705 100644 --- a/webview-ui/src/i18n/locales/ru/settings.json +++ b/webview-ui/src/i18n/locales/ru/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "Примечание: если вы не видите использование кэша, попробуйте выбрать другую модель, а затем вернуться к нужной.", "vscodeLmModel": "Языковая модель", "vscodeLmWarning": "Внимание: Модели, доступные через API VS Code Language Model, могут быть обёрнуты или дополнительно дообучены поставщиком, поэтому их поведение может отличаться от прямого использования той же модели у типичного провайдера или роутера. Чтобы использовать модель из выпадающего списка «Language Model», сначала переключитесь на эту модель, затем нажмите «Принять» в запросе Copilot Chat; в противном случае возможна ошибка, например 400 «The requested model is not supported».", - "geminiParameters": { - "urlContext": { - "title": "Включить контекст URL", - "description": "Позволяет Gemini получать доступ к URL-адресам и обрабатывать их для дополнительного контекста при генерации ответов. Полезно для задач, требующих анализа веб-контента." - }, - "groundingSearch": { - "title": "Включить grounding через поиск Google", - "description": "Позволяет Gemini искать актуальную информацию в Google и основывать ответы на данных в реальном времени. Полезно для запросов, требующих актуальной информации." - } - }, "googleCloudSetup": { "title": "Для использования Google Cloud Vertex AI необходимо:", "step1": "1. Создайте аккаунт Google Cloud, включите Vertex AI API и нужные модели Claude.", diff --git a/webview-ui/src/i18n/locales/tr/settings.json b/webview-ui/src/i18n/locales/tr/settings.json index 34aff98beb1..714d3f98b8e 100644 --- a/webview-ui/src/i18n/locales/tr/settings.json +++ b/webview-ui/src/i18n/locales/tr/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "Not: Önbellek kullanımını görmüyorsanız, farklı bir model seçip ardından istediğiniz modeli tekrar seçmeyi deneyin.", "vscodeLmModel": "Dil Modeli", "vscodeLmWarning": "Not: VS Code Language Model API üzerinden erişilen modeller sağlayıcı tarafından sarılmış veya ince ayarlanmış olabilir; bu nedenle davranış, aynı modelin tipik bir sağlayıcı ya da yönlendirici üzerinden doğrudan kullanılmasından farklı olabilir. «Language Model» açılır menüsünden bir model kullanmak için önce o modele geçin ve ardından Copilot Chat isteminde «Kabul Et»e tıklayın; aksi takdirde 400 «The requested model is not supported» gibi bir hata görebilirsiniz.", - "geminiParameters": { - "urlContext": { - "title": "URL bağlamını etkinleştir", - "description": "Yanıtlar oluşturulurken ek bağlam için Gemini'nin URL'lere erişmesine ve işlemesine izin verir. Web içeriği analizi gerektiren görevler için faydalıdır." - }, - "groundingSearch": { - "title": "Google Aramasıyla Grounding Etkinleştir", - "description": "Gemini'nin güncel bilgileri almak için Google'da arama yapmasına ve yanıtları gerçek zamanlı verilere dayandırmasına izin verir. Güncel bilgi gerektiren sorgular için kullanışlıdır." - } - }, "googleCloudSetup": { "title": "Google Cloud Vertex AI'yi kullanmak için şunları yapmanız gerekir:", "step1": "1. Google Cloud hesabı oluşturun, Vertex AI API'sini etkinleştirin ve istediğiniz Claude modellerini etkinleştirin.", diff --git a/webview-ui/src/i18n/locales/vi/settings.json b/webview-ui/src/i18n/locales/vi/settings.json index 65a238e7444..15465c60f33 100644 --- a/webview-ui/src/i18n/locales/vi/settings.json +++ b/webview-ui/src/i18n/locales/vi/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "Lưu ý: Nếu bạn không thấy việc sử dụng bộ nhớ đệm, hãy thử chọn một mô hình khác và sau đó chọn lại mô hình mong muốn của bạn.", "vscodeLmModel": "Mô hình ngôn ngữ", "vscodeLmWarning": "Lưu ý: Các mô hình truy cập qua VS Code Language Model API có thể được nhà cung cấp bao bọc hoặc tinh chỉnh, vì vậy hành vi có thể khác so với khi dùng trực tiếp cùng mô hình từ nhà cung cấp hoặc router thông thường. Để dùng một mô hình trong menu «Language Model», trước tiên hãy chuyển sang mô hình đó rồi nhấp «Chấp nhận» trong lời nhắc Copilot Chat; nếu không bạn có thể gặp lỗi như 400 «The requested model is not supported».", - "geminiParameters": { - "urlContext": { - "title": "Bật ngữ cảnh URL", - "description": "Cho phép Gemini truy cập và xử lý URL để có thêm ngữ cảnh khi tạo phản hồi. Hữu ích cho các tác vụ yêu cầu phân tích nội dung web." - }, - "groundingSearch": { - "title": "Bật grounding với tìm kiếm Google", - "description": "Cho phép Gemini tìm kiếm trên Google để lấy thông tin mới nhất và căn cứ phản hồi dựa trên dữ liệu thời gian thực. Hữu ích cho các truy vấn yêu cầu thông tin cập nhật." - } - }, "googleCloudSetup": { "title": "Để sử dụng Google Cloud Vertex AI, bạn cần:", "step1": "1. Tạo tài khoản Google Cloud, kích hoạt Vertex AI API và kích hoạt các mô hình Claude mong muốn.", diff --git a/webview-ui/src/i18n/locales/zh-CN/settings.json b/webview-ui/src/i18n/locales/zh-CN/settings.json index d5b7acf0162..771bf7ca7e3 100644 --- a/webview-ui/src/i18n/locales/zh-CN/settings.json +++ b/webview-ui/src/i18n/locales/zh-CN/settings.json @@ -461,16 +461,6 @@ "cacheUsageNote": "提示:若未显示缓存使用情况,请切换模型后重新选择", "vscodeLmModel": "VSCode LM 模型", "vscodeLmWarning": "注意:通过 VS Code Language Model API 访问的模型可能由提供商进行封装或微调,因此其行为可能与直接从常见提供商或路由器使用同一模型时不同。要使用「Language Model」下拉列表中的模型,请先切换到该模型,然后在 Copilot Chat 提示中点击「接受」;否则可能会出现 400「The requested model is not supported」等错误。", - "geminiParameters": { - "urlContext": { - "title": "启用 URL 上下文", - "description": "让 Gemini 读取链接的页面以提取、比较和综合其内容,从而提供明智的答复。" - }, - "groundingSearch": { - "title": "启用 Google 搜索基础", - "description": "将 Gemini 连接到实时网络数据,以获得包含可验证引用的准确、最新的答案。" - } - }, "googleCloudSetup": { "title": "要使用 Google Cloud Vertex AI,您需要:", "step1": "1. 注册Google Cloud账号并启用Vertex AI API", diff --git a/webview-ui/src/i18n/locales/zh-TW/settings.json b/webview-ui/src/i18n/locales/zh-TW/settings.json index 34c5f4d64db..8c19327e1fc 100644 --- a/webview-ui/src/i18n/locales/zh-TW/settings.json +++ b/webview-ui/src/i18n/locales/zh-TW/settings.json @@ -471,16 +471,6 @@ "cacheUsageNote": "注意:如果您沒有看到快取使用情況,請嘗試選擇其他模型,然後重新選擇您想要的模型。", "vscodeLmModel": "語言模型", "vscodeLmWarning": "注意:透過 VS Code Language Model API 存取的模型可能由供應商封裝或微調,因此其行為可能與直接從一般供應商或路由器使用相同模型時不同。要使用「Language Model」下拉式選單中的模型,請先切換到該模型,然後在 Copilot Chat 提示中點選「接受」;否則可能會出現 400「The requested model is not supported」等錯誤。", - "geminiParameters": { - "urlContext": { - "title": "啟用 URL 上下文", - "description": "讓 Gemini 讀取連結的頁面,以擷取、比較並統整其內容,提供更有根據的回覆。" - }, - "groundingSearch": { - "title": "啟用 Google 搜尋 Grounding", - "description": "將 Gemini 連線到即時網路資料,以取得準確、最新且附可驗證引用的答案。" - } - }, "googleCloudSetup": { "title": "要使用 Google Cloud Vertex AI,您需要:", "step1": "1. 建立 Google Cloud 帳戶,啟用 Vertex AI API 並啟用所需的 Claude 模型。",