fix(llma): drop deprecated gemini-3-pro-preview from supported models#60506
Merged
Conversation
Google retired models/gemini-3-pro-preview; any eval or playground call that picks it now fails with "This model models/gemini-3-pro-preview is no longer available." The successor, gemini-3.1-pro-preview, is already in the list. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Contributor
|
Reviews (1): Last reviewed commit: "fix(llma): drop deprecated gemini-3-pro-..." | Re-trigger Greptile |
Radu-Raicea
approved these changes
May 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Google retired
models/gemini-3-pro-preview. Any eval or playground call in AI Observability that picks it now fails with:gemini-3.1-pro-previewis the successor and is already inGeminiConfig.SUPPORTED_MODELS.Changes
products/ai_observability/backend/llm/providers/gemini.py: remove"gemini-3-pro-preview"fromSUPPORTED_MODELS. It wasn't inTRIAL_MODELS, so the trial path is unaffected.The retired model is referenced in two other places that don't need changes:
services/llm-gateway/tests/test_openai.pyuses it only as a fixture for unsupported-model rejection tests, no live call.services/llm-gateway/src/llm_gateway/api/handler.py:53is a docstring example.How did you test this code?
Agent-authored PR; no manual playground or eval run.
products/ai_observability/backend/llm/providers/test/test_gemini_adapter.py::test_recommended_models_equals_supported_modelskeeps passing sincerecommended_models()is derived fromSUPPORTED_MODELS.products/ai_observability/backend/api/test/test_proxy.pyenforcesTRIAL_MODELS ⊆ SUPPORTED_MODELS; unaffected (the removed model wasn't inTRIAL_MODELS).Publish to changelog?
no
Docs update
n/a
🤖 Agent context
models/gemini-3-pro-preview is no longer available.. The agent located the surviving reference inGeminiConfig.SUPPORTED_MODELS, cross-checked Google's Gemini API model status page (it listsgemini-3-pro-previewas Shut down andgemini-3.1-pro-previewas the recommended successor), and confirmedgemini-3.1-pro-previewis already in the list.posthog/temporal/data_imports/signals/pipeline.py(currently pinned tomodels/gemini-3-flash-preview). Skipped at user direction since that model is still served as Preview by Google.