Skip to content

Conversation

@Mickael-tinytap
Copy link

The OpenAI Responses API expects a 'text.format.name' parameter when using the 'json_schema' format. This fix ensures the 'name' field is always encoded (defaulting to 'schema_response' if nil), preventing 400 errors due to missing parameters.

The OpenAI Responses API expects a 'text.format.name' parameter when using the 'json_schema' format.
This fix ensures the 'name' field is always encoded (defaulting to 'schema_response' if nil),
preventing 400 errors due to missing parameters.
@jamesrochabrun jamesrochabrun merged commit 0611fea into jamesrochabrun:main Jun 19, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants