Python 3.12.10 | openai 1.109.1 | httpx 0.28.1 | pydantic 2.11.9 | jsonschema 4.25.1 PASS local malformed: invalid_json PASS local wrong type: schema:type PASS local wrong city: business:request_mismatch PASS local accepted: accepted PASS local missing: schema:required PASS local extra: schema:additionalProperties PASS local enum: schema:enum PASS local wrong unit: business:request_mismatch PASS local duplicate name: invalid_json PASS local NaN: invalid_json PASS local temperature fact outside request check: accepted PASS required nullable accepts explicit null: True PASS required nullable rejects omission: False PASS format without checker: True PASS format with checker: False PASS masked sampling example: [0.880797, 0.0, 0.119203] PASS chat JSON mode wrong type: schema:type PASS chat JSON mode success: accepted PASS chat strict business mismatch: business:request_mismatch PASS chat strict success: accepted PASS chat refusal: refusal PASS chat typed success: {'city': 'Beijing', 'temperature': 21.0, 'unit': 'C'} PASS chat typed refusal has no parsed result: None PASS responses JSON mode wrong type: schema:type PASS responses JSON mode success: accepted PASS responses strict business mismatch: business:request_mismatch PASS responses strict success: accepted PASS responses refusal: refusal PASS responses typed success: {'city': 'Beijing', 'temperature': 21.0, 'unit': 'C'} PASS responses typed refusal has no parsed result: None PASS chat length: finish:length PASS chat typed length: LengthFinishReasonError PASS chat content_filter: finish:content_filter PASS chat typed content_filter: ContentFilterFinishReasonError PASS responses max_output_tokens: incomplete:max_output_tokens PASS responses content_filter: incomplete:content_filter PASS responses typed incomplete text: ValidationError PASS responses typed incomplete with parseable text: Beijing PASS incomplete envelope remains authoritative for consumer: incomplete:max_output_tokens PASS allOf legal and valid locally: True PASS chat unsupported schema simulated HTTP 400: BadRequestError PASS chat mock error status: 400 PASS responses unsupported schema simulated HTTP 400: BadRequestError PASS responses mock error status: 400