Brand new to ellmer. This code seemed to work with other model providers, but not Groq:
chat = chat_groq(model="openai/gpt-oss-20b")
chat$chat_structured("Is Boston the capital of MA?", type=type_boolean())
#> Error in `req_perform()`:
#> ! HTTP 400 Bad Request.
#> ℹ invalid JSON schema for response_format: 'structured_data':
#> `additionalProperties:false` must be set on every object
#> Run `rlang::last_trace()` to see where the error occurred.
Happy to submit a PR if this is e.g. a recent change in their API.