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 gemini-3-pro-preview across constants and tests, and refactors Gemini tool support detection to version-based logic.

  • Gemini support
    • Add gemini/gemini-3-pro-preview to CLI MODELS, GeminiModels/GEMINI_MODELS, and context window maps (LLM_CONTEXT_WINDOW_SIZES, Gemini provider get_context_window_size).
    • Include VCR cassette tests/cassettes/test_gemini_models[gemini-gemini-3-pro-preview].yaml and add the model to parametrized tests.
  • Provider logic
    • Replace Gemini tool support flags with version-based detection (supports_tools when gemini-<version> >= 1.5), removing is_gemini_2/is_gemini_1.5 usage in tests.
  • Tests
    • Update Google/Gemini tests to assert supports_tools without legacy flags and validate new model works via LiteLLM and native paths.

Written by Cursor Bugbot for commit 406b38d. 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
@greysonlalonde greysonlalonde merged commit a978267 into crewAIInc:main Nov 24, 2025
73 of 74 checks passed
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