Skip to content

docs: use gemini-3.8-flash in the Google GenAI and ADK examples - #993

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
braintrustdata:mainfrom
pcbeingused333:docs/gemini-2.0-flash-to-3.8
Oct 21, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 1 commit into
braintrustdata:mainfrom
pcbeingused333:docs/gemini-2.0-flash-to-3.8

Conversation

@pcbeingused333

Copy link
Copy Markdown
Contributor

The examples, READMEs and docstrings that name gemini-2.0-flash (and gemini-2.0-flash-001 / gemini-2.0-flash-exp) no longer work as written: Google's models page lists gemini-2.0-flash under previous models as shut down, and gemini-3.8-flash as the current stable Flash model.

They now use gemini-3.8-flash:

  • examples/adk/example.py and its README
  • examples/google_genai/example.py and its README
  • integrations/adk-py/README.md (two snippets) and the manual.py, mcp_tracing/agent.py and multi_tool_agent/agent.py examples
  • the two usage docstrings in py/src/braintrust/auto.py

Only examples and documentation change. The tests and their VCR cassettes keep the model ids they were recorded with, so nothing in the test suite is affected, and no library code changes. I did not run the examples (they need Google credentials).

This change was made with Claude Code.

🤖 Generated with Claude Code

gemini-2.0-flash is shut down on the Gemini API, so the examples and docstrings
that name it (and gemini-2.0-flash-001 / -exp) fail when run. Use gemini-3.8-flash,
the current stable Flash model. Tests and cassettes are not touched.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T17:38:50.145955Z b9f1816 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b9f1816634

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "Codex (@codex) review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".

Comment thread examples/google_genai/example.py Resolved
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit b269296 into braintrustdata:main Oct 21, 2026
98 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.

2 participants