Structured outputs
response_format is accepted and dropped (not forwarded). To constrain output, ask for JSON in the prompt and validate on your side.
response_format: {"type": "json_object"} // accepted-and-dropped
# do this instead:
# messages: [{"role":"user","content":"Return JSON: {\"finding\": string}"}]
# then parse and validate the content yourself