GEMINI LABJP
API — Gemini 3.5 Flash is generally available and now powers gemini-flash-latest for sustained agentic and coding performanceAGENT — Managed Agents enter public preview, running stateful autonomous agents in Google-hosted isolated Linux sandboxesSEARCH — File Search adds multimodal search, embedding and searching images natively with gemini-embedding-2RESEARCH — A new Deep Research agent adds collaborative planning, visualization, MCP server integration, and File SearchSHEETS — Gemini in Sheets analyzes surrounding data to diagnose and fix formula errors in one clickROADMAP — Gemini 3.5 Pro slips to July for refinement; the Flash line leads for nowAPI — Gemini 3.5 Flash is generally available and now powers gemini-flash-latest for sustained agentic and coding performanceAGENT — Managed Agents enter public preview, running stateful autonomous agents in Google-hosted isolated Linux sandboxesSEARCH — File Search adds multimodal search, embedding and searching images natively with gemini-embedding-2RESEARCH — A new Deep Research agent adds collaborative planning, visualization, MCP server integration, and File SearchSHEETS — Gemini in Sheets analyzes surrounding data to diagnose and fix formula errors in one clickROADMAP — Gemini 3.5 Pro slips to July for refinement; the Flash line leads for now
TAG

Snapshot Testing

2 articles
Back to all tags
Related:
Gemini API2Structured Output1propertyOrdering1JSON Schema1pytest1testing1Python1syrupy1
Gemini API/2026-06-27Advanced

Your Gemini Structured Output Keys Keep Reordering — Pin Them With propertyOrdering

You constrained the shape with responseSchema, yet the JSON key order shifts between calls and your snapshot tests go red for no reason. Here is why field order is not guaranteed by default, how propertyOrdering fixes it, how Pydantic sets it for you, and how to align few-shot examples — all with working code.

Gemini API/2026-05-03Intermediate

Snapshot Testing Gemini API Responses with pytest and syrupy

A practical guide to stabilizing Gemini API tests using pytest snapshot testing with syrupy — covering structure validation, temperature=0 limitations, and API call caching strategies.