GEMINI LABJP
SUNSET — Five days until the imagen-4.0 family shuts down: imagen-4.0-generate-001 and two sibling models stop on August 17SAMPLING — Since July 21 the temperature, top_p, and top_k parameters are deprecated; no shutdown date yet, but worth auditing your callsAPI — The Interactions API is now generally available and is the recommended path to the latest models and featuresROBOTICS — gemini-robotics-er-1.6-preview shuts down on August 31; its successor, ER 2, has been in public preview since July 30ENTERPRISE — The Gemini Enterprise mobile app reached GA for organizations authenticating through third-party identity providersRENAME — NotebookLM Enterprise is now Gemini Notebook Enterprise, so the term to search the docs for has changed tooSUNSET — Five days until the imagen-4.0 family shuts down: imagen-4.0-generate-001 and two sibling models stop on August 17SAMPLING — Since July 21 the temperature, top_p, and top_k parameters are deprecated; no shutdown date yet, but worth auditing your callsAPI — The Interactions API is now generally available and is the recommended path to the latest models and featuresROBOTICS — gemini-robotics-er-1.6-preview shuts down on August 31; its successor, ER 2, has been in public preview since July 30ENTERPRISE — The Gemini Enterprise mobile app reached GA for organizations authenticating through third-party identity providersRENAME — NotebookLM Enterprise is now Gemini Notebook Enterprise, so the term to search the docs for has changed too
TAG

Snapshot Testing

2 articles
Back to all tags
Related:
Gemini API2pytest1CI1regression detection1Python1syrupy1Structured Output1propertyOrdering1JSON Schema1
Gemini API/2026-06-29Advanced

Guarding Gemini API Responses in CI: Snapshot and Semantic Regression Testing

How to defend non-deterministic Gemini API responses with pytest snapshot tests plus embedding-based semantic regression detection — including CI wiring, separating flakiness from real regressions, and snapshot-update governance, all in working code.

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.