When using response_schema with Gemini, the model produces correct structured JSON in single requests, but the same schema fails in batch mode with job state: failed. This happens consistently with ...
The JSON schema is treated as a contract between all parties that produce and consume logs in the system. It defines which structured fields are allowed to appear in logs and which types they must ...