GEMINI LABJP
FLASH35 — Gemini 3.5 Flash is now GA, built for sustained frontier performance on agentic and coding tasks (Jun)AGENTS — Managed Agents launch in public preview, running in Google-hosted isolated Linux sandboxes (Jun)SCHEMA — The Interactions API legacy schema is removed on June 8; migrate from outputs to steps now (Jun)SEARCH — Gemini 3.5 Flash rolls out globally across Search AI Mode and the Gemini app for everyone (Jun)FILESEARCH — File Search goes multimodal, embedding and searching images natively via gemini-embedding-2 (Jun)DEPRECATE — gemini-3.1-flash-image-preview and gemini-3-pro-image-preview shut down on June 25 (Jun)FLASH35 — Gemini 3.5 Flash is now GA, built for sustained frontier performance on agentic and coding tasks (Jun)AGENTS — Managed Agents launch in public preview, running in Google-hosted isolated Linux sandboxes (Jun)SCHEMA — The Interactions API legacy schema is removed on June 8; migrate from outputs to steps now (Jun)SEARCH — Gemini 3.5 Flash rolls out globally across Search AI Mode and the Gemini app for everyone (Jun)FILESEARCH — File Search goes multimodal, embedding and searching images natively via gemini-embedding-2 (Jun)DEPRECATE — gemini-3.1-flash-image-preview and gemini-3-pro-image-preview shut down on June 25 (Jun)
ARTICLES

All Articles

All (860) Gemini Basics (87) Dev Tools (131) API & SDK (433) Advanced (133) Workspace (39) Updates (37)
API & SDK/2026-04-30Advanced

Production-Grade PII Redaction for the Gemini API — Detection, Masking, and Audit Logging That Actually Pass a Privacy Review

Are you piping raw user text straight into the Gemini API? This guide walks through detection, masking, and audit-log design so you can keep PII out of model traffic and pass GDPR, SOC 2, and customer privacy reviews — with code you can ship today.

API & SDK/2026-04-30Intermediate

Migrating to @google/genai: Seven Errors That Will Eat Your Afternoon

A field-tested guide to the seven errors you are most likely to hit when migrating from @google/generative-ai to @google/genai, with copy-paste fixes for Node.js and TypeScript codebases.

API & SDK/2026-04-30Advanced

Building an LLM-as-Judge Evaluation Pipeline with Gemini — Production-Grade Design and Implementation

A practical guide to building an LLM-as-Judge evaluation pipeline using Gemini 2.5 Pro / 3 Pro as the judge. Covers Pointwise / Pairwise judging, bias mitigation, human-correlation measurement, and cost optimization, with working Python code for production use.

API & SDK/2026-04-30Intermediate

Why Gemini Says It Cannot See Your Image — A Practical Diagnosis Guide

If Gemini API replies 'I don't see an image' despite an attached file, the cause is almost always client-side. This guide walks through the four checks — mime_type, payload size, SDK version, and model selection — with copy-pasteable fixes.

API & SDK/2026-04-30Intermediate

Precise Output Control in Gemini API: A Practical Guide to maxOutputTokens and stopSequences

Combine maxOutputTokens and stopSequences in the Gemini API to shape response length exactly the way you need. Stop responses from being cut off, going over budget, or breaking JSON parsing — with production-tested patterns.

API & SDK/2026-04-29Advanced

Production Streaming UI with Gemini API + TanStack Query — Cancellation, Retries, and Cache Coherence

TanStack Query is optimized for one-shot REST/JSON requests, so streaming responses don't fit naturally. This guide walks through the gotchas of using Gemini API SSE with TanStack Query and the production-grade design patterns that hold up in real apps.

Advanced/2026-04-29Advanced

Stop Gemini From Phoning In the Last Few Paragraphs — Prompt Patterns That Hold Density to the End

When Gemini writes long pieces, the final paragraphs often go thin. A solo creator's three-layer routine — pre-declared footer, staged generation, verifier agent — to keep density consistent from start to finish.

Dev Tools/2026-04-29Intermediate

Testing Gemini API with Vitest — Mock Patterns and Function Calling Verification for TypeScript Projects

Practical patterns for testing TypeScript code that calls the Gemini API, using Vitest. Covers SDK mocking, Function Calling verification, and streaming response tests, drawn from a setup I run in personal projects.

API & SDK/2026-04-29Advanced

Gemini API × Inngest: Building Fault-Tolerant AI Workflows for Production

A practical guide to building durable, fault-tolerant Gemini API workflows with Inngest — covering retries, fan-out/fan-in, human approval, throttling, and dead-letter patterns.

API & SDK/2026-04-29Intermediate

When Gemini API URL Context Returns Nothing: A Diagnostic Walkthrough

If Gemini's URL Context tool stays silent or returns generic answers, the cause is almost always one of three things: tool configuration, URL formatting, or site-side restrictions. Here's how to isolate which.

API & SDK/2026-04-29Intermediate

Fixing 'Thoughts must be present in conversation history' in Gemini API: A Practical Guide to Thought Signatures in Multi-Turn Tool Calls

If you're hitting 'Thoughts must be present in conversation history when using thinking signature' in Gemini 2.5/3.x with multi-turn function calling, this guide walks through what's actually happening and how to fix it in five minutes — Python SDK, REST, and streaming all covered.

API & SDK/2026-04-29Intermediate

Building a Production-Grade Gemini API Backend with NestJS — DI, Filters, and Guards

A practical pattern for wrapping the Gemini API in a NestJS backend. Covers DI-based service design, SSE streaming, exception filters for 429/safety errors, and guards for API-key auth and rate limiting.