Hello!
I was following the strcutured outputs documentation and ran into an issue reproducing the ProductReview
structured output using the upgraded moonshotai/kimi-k2-instruct-0905 model.
I’m consistently getting the following error, even though the docs indicate it should support structured outputs:
groq.BadRequestError: Error code: 400 - {'error': {'message': 'This model does not support response format `json_schema`. See supported models at
Structured Outputs - GroqDocs ', 'type': 'invalid_request_error'}}
The documentation specifically mentions moonshotai/kimi-k2-instruct-0905
in the list of supported models. The same code works with the older version of kimi-k2
Has anyone else run into this issue, or found a workaround?