Skip to content

fix(examples): use a supported Gemini Flash model - #1488

Open
JunaidAhamed-7777 wants to merge 1 commit into
AgentOps-AI:mainfrom
JunaidAhamed-7777:fix/google-genai-example-model
Open

JunaidAhamed-7777 wants to merge 1 commit into
AgentOps-AI:mainfrom
JunaidAhamed-7777:fix/google-genai-example-model

Conversation

@JunaidAhamed-7777

Copy link
Copy Markdown

Description

The Google GenAI example sends all four requests to gemini-1.5-flash, which Google shut down on September 29, 2025. Use the supported Gemini 3.5 Flash-Lite model in the Python script, notebook, and corresponding docs. The example still demonstrates the same two synchronous calls, streaming, and token counting.

Testing

Ran the three versions of the example with Google Gen AI SDK 2.11.0 and an offline HTTP transport; all 12 requests used the new model, streamed output was consumed, and the mock token count was printed. AgentOps exports were disabled. Python compilation and git diff --check passed. No live API calls were made.

getarbor.dev was used to create this

@mintlify

mintlify Bot commented Nov 19, 2026

Copy link
Copy Markdown

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 8e33c68.

Approve preview

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