Skip to content

Move Google gemini-2.0-flash to gemini-3.6-flash (gemini-2.0-flash was switched off June 1) - #1467

Open
23821 wants to merge 1 commit into
AgentOps-AI:mainfrom
23821:yakbarber/google-2026-06-gemini-2-0-flash-gemini-api
Open

23821 wants to merge 1 commit into
AgentOps-AI:mainfrom
23821:yakbarber/google-2026-06-gemini-2-0-flash-gemini-api

Conversation

@23821

@23821 23821 commented Oct 6, 2026 •

Copy link
Copy Markdown

📥 Pull Request

📘 Description
Google switched off gemini-2.0-flash on June 1, 2026 (details: https://ai.google.dev/gemini-api/docs/deprecations). This left code and docs in this repo referencing the now-shutdown model, which would fail.

This PR updates gemini-2.0-flash → gemini-3.6-flash in:

  • examples/google_adk/sse_function_call_example.py:38 (MODEL_NAME passed to LlmAgent)
  • docs/v2/examples/google_adk.mdx (line 128)
  • docs/v2/integrations/google_adk.mdx (line 77)

And updates gemini-2.0-flash-001 → gemini-3.6-flash in two code examples in:

  • docs/v2/integrations/google_generative_ai.mdx (lines 72, 89)

🧪 Testing
Inconclusive: tests failed before this change too, with ModuleNotFoundError: No module named 'requests_mock', so they don't confirm or refute this change.

ImportError while loading conftest '/work/tests/unit/conftest.py'.
tests/unit/conftest.py:4: in <module>
    import requests_mock
E   ModuleNotFoundError: No module named 'requests_mock'
  • This pull request was generated or assisted by AI

Prepared with YakBarber, a tool I'm building that updates code when an API changes, and reviewed by me before sending. It was sent once, to this repository only; if it isn't useful, feel free to close it.


YakBarber found 5 other upcoming provider changes in this repository: https://yakbarber.com/check/AgentOps-AI/agentops

Check the whole repository yourself: npx yakbarber check lists every AI model and API it calls that is being retired, with the date and the company's own words. Free, read-only, runs locally (source).

This branch has not been deployed

No deployments
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.

1 participant