Skip to content

Conversation

@markmcd
Copy link
Contributor

@markmcd markmcd commented Nov 19, 2025

Also refactors the tool support check for better forward compatibility.

Fixes #3949


Note

Adds support for gemini-3-pro-preview, updates context windows, and refactors Gemini tool-support detection; tests and VCR cassette added.

  • Gemini provider:
    • Model support: Add gemini/gemini-3-pro-preview to CLI MODELS, GeminiModels/GEMINI_MODELS, and context window maps (LLM_CONTEXT_WINDOW_SIZES, GeminiCompletion get_context_window_size).
    • Tool support detection: Replace version flags with regex-based version parsing; supports_tools now true for gemini->=1.5.
  • Tests:
    • Add VCR cassette tests/cassettes/test_gemini_models[gemini-gemini-3-pro-preview].yaml.
    • Update tests to remove deprecated is_gemini_* assertions and include gemini/gemini-3-pro-preview in parametrized cases.

Written by Cursor Bugbot for commit 8630a62. This will update automatically on new commits. Configure here.

Also refactors the tool support check for better forward compatibility.
@markmcd markmcd changed the title Add gemini-3-pro-preview feat: Add gemini-3-pro-preview Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Gemini 3.0 Pro Preview doesn't work

2 participants