Conversation
…ch checkboxes Remove the "Enable URL context" and "Enable Grounding with Google search" checkboxes from Gemini and Vertex provider settings, along with: - enableUrlContext and enableGrounding fields from provider settings schemas - URL context and Google Search tool injection in completePrompt methods - Associated translation keys from all 18 locale files - Related test cases updated to reflect the removal - simplifySettings prop removed from Gemini and Vertex components (it was only used for the removed checkboxes in those components)
No issues found. The removal is clean and complete -- all references to Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
No issues found. The removal is clean and thorough -- all references to Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
Related GitHub Issue
N/A - cleanup task requested by maintainers.
Roo Code Task Context (Optional)
View task on Roo Code Cloud
Description
Removes the "Enable URL context" and "Enable Grounding with Google search" checkboxes from Gemini and Vertex provider settings, along with all associated logic and translations.
Changes:
enableUrlContextandenableGroundingfields from both the Vertex and Gemini provider schemas inpackages/types/src/provider-settings.tsGemini.tsxandVertex.tsxcomponentssimplifySettingsprop from Gemini and Vertex components (it was only used for the removed checkboxes)completePromptmethods in bothgemini.tsandvertex.tsprovidersurlContextandgroundingSearchtranslation keys from all 18 localesettings.jsonfilesNote: The grounding metadata extraction logic (extractGroundingSources, extractCitationsOnly) and the grounding stream events in createMessage are preserved, as they handle server-side grounding data that may still be returned by the API regardless of these client-side settings.
Test Procedure
Pre-Submission Checklist
Documentation Updates
Additional Notes
29 files changed, 33 insertions(+), 672 deletions(-). Net removal of ~639 lines of code.
Important
Removed "Enable URL context" and "Enable Grounding with Google search" checkboxes and related logic from UI, schemas, and tests.
Gemini.tsxandVertex.tsx.enableUrlContextandenableGroundingfields from provider schemas inprovider-settings.ts.completePromptmethods ingemini.tsandvertex.ts.urlContextandgroundingSearchkeys from all localesettings.jsonfiles.gemini-handler.spec.tsandvertex.spec.tsto reflect checkbox removal.This description was created by
for 9957ddb. You can customize this summary. It will automatically update as commits are pushed.