◉GEMINI LABJP
●2.5 ROUTE — From today, 12/1, calls to gemini-2.5-pro and 2.5-flash are rerouted to newer models automatically●CLI 0.71.1 — Gemini CLI stable is still v0.71.1, with a 0.73 nightly published on 11/30●INTRO END — Introductory pricing for 3.8, 3.7 and 3.6 Flash ends on 12/31. 30 days left●VERTEX — Developers are asking how to run Gemini CLI with Vertex AI credentials●NEON — Gemini 4 Neon became generally available on 11/18 (paid tier only)●IMAGE TEXT — A new test shows text inside an image can sway Gemini's answer●2.5 ROUTE — From today, 12/1, calls to gemini-2.5-pro and 2.5-flash are rerouted to newer models automatically●CLI 0.71.1 — Gemini CLI stable is still v0.71.1, with a 0.73 nightly published on 11/30●INTRO END — Introductory pricing for 3.8, 3.7 and 3.6 Flash ends on 12/31. 30 days left●VERTEX — Developers are asking how to run Gemini CLI with Vertex AI credentials●NEON — Gemini 4 Neon became generally available on 11/18 (paid tier only)●IMAGE TEXT — A new test shows text inside an image can sway Gemini's answer
TAG

python

165 articles
← Back to all tags
Related:
gemini-api98Gemini API41production40troubleshooting26gemini23automation18cost-optimization13multimodal11indie-dev9structured-output6error6function-calling6
◎ Updates/2026-10-25Intermediate

Counting the Audio Preview Names That Stop on November 17 in Your Own Folders

Five TTS and Live preview models are scheduled to stop on November 17. Here is a short Python script that lists which file and line in your project still names them, plus the order I would fix what it finds.

⬡ Gemini Advanced/2026-10-23Intermediate

A 23-Second Video Fails With a 500: What to Question Before You Wait. Three Forks to Decide Ahead for Gemini's Agentic Video Understanding

A forum report says Gemini API's agentic video understanding fails with a 'high demand' 500. Here is how I would decide between waiting, splitting and dropping to static mode before it happens, checked against the official guidance, with a small Python helper.

◈ Gemini API/2026-10-22Intermediate

Before You Swap in gemini-4-argon, Search Your Own Code for What to Remove

Four habits can break or silently change when you move to gemini-4-argon: explicit caches, sampling parameters, small max_output_tokens and short timeouts. A stdlib-only script finds them in your repository, with what to check after the swap and when to stay on Flash.

⟐ Gemini Dev/2026-10-20Intermediate

Typed @config and the Wrong File Went In? Checking Gemini CLI's @ Reference for Silent First-Match Picks

A bug report says Gemini CLI's @ reference silently picks the first hit when a name is ambiguous. Here is how I check for same-name files before typing @, with a small Python script and a test run.

◈ Gemini API/2026-10-19Intermediate

When 404 and 429 Show Up in the Same Gemini API Log, Check the Model Name Before the Quota

A triage order for Gemini API logs that mix 404 NOT_FOUND and 429 RESOURCE_EXHAUSTED, plus a small Python script that separates a bad model name from a real quota limit without generating anything.

⟐ Gemini Dev/2026-10-19Intermediate

I Set the MCP Timeout to 10 Minutes and It Still Cuts Off at 1 — Tracing Which Layer Decides the Value

You raised an MCP server's timeout in Gemini CLI and it still ends early. A small script lists the value from every config layer, catching unit slips and extension overrides, plus the order I check things in.

◎ Updates/2026-10-17Intermediate

The Morning Flash Started Answering Differently, Your Prompt Is Not the First Thing to Check

When output length or format shifts although you never touched the model ID, compare the model you requested with the model that actually answered. A small three-prompt script logs modelVersion on every run, followed by the order I use to narrow down the cause.

◈ Gemini API/2026-10-16Intermediate

The Day /models Returns 200 but generateContent Returns 403 — Decide Your Triage Order Before It Happens

A triage order for the case where listing models succeeds with 200 but generation fails with 403 permission_denied. Includes a small diagnostic script that checks key, project, and billing in turn, why you should not retry a 403, and how to assemble what support needs.

◈ Gemini API/2026-10-14Intermediate

When Your config Raises "Extra inputs are not permitted", Check the Spelling of Every Key

If a google-genai call fails with a pydantic ValidationError (extra_forbidden) the moment you pass a config, it is almost always a one-letter typo. Here is the output I reproduced, a small function that checks keys before the call, and how to tell why response.text came back as None.

◈ Gemini API/2026-10-08Intermediate

When a Deprecation Has No Shutdown Date: Re-Picking an Image Model on Three Conditions

gemini-nano-banana-2.1 went GA on October 6, and gemini-3.1-flash-image was deprecated with no shutdown date. Here is a table and a short script for choosing a replacement by resolution, reference images, and search grounding.

⬡ Gemini Advanced/2026-09-24Intermediate

I Stopped Asking Gemini 'Is This Right?' and Started Hiding My Answer Instead

Ask Gemini to confirm a label you already chose and it tends to agree. Here is why I compared three ways of asking, chose blind re-classification, how my answer still leaked in, and the routing code that sends only disagreements to a human.

◈ Gemini API/2026-09-22Advanced

When Function Calls Turn Into Plain Text, Suspect the Property Names in Your Tool Declarations

A record of chasing MALFORMED_FUNCTION_CALL after output limits and schema conflicts were ruled out, bisecting nine tool declarations down to one property name, and adding a linter that stops bad names before they ship.