mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-25 11:12:36 -07:00
7718709f01
The system prompt always included the VISUAL IDENTIFICATION section telling the model about analyze_screenshot, even when visualModel was not configured. This caused the model to attempt calling the tool despite it not being registered. - Convert BROWSER_SYSTEM_PROMPT to buildBrowserSystemPrompt(visionEnabled) - Pass vision state from factory to definition builder - Remove analyze_screenshot reference from click_at tool description - Add tests for conditional prompt inclusion/exclusion - Fix misleading test comment about tool count