Open
Description
Confirm this is a Node library issue and not an underlying OpenAI API issue
- This is an issue with the Node library
Describe the bug
max_tool_calls
option is missing in the node version
https://platform.openai.com/docs/api-reference/responses/create#responses-create-max_tool_calls
const response = await openai.responses.create({
model: 'o4-mini-deep-research', // Using the faster model
input,
tools: [
{
type: 'web_search_preview',
},
],
stream: true,
reasoning: {
summary: 'detailed',
},
});
To Reproduce
Try to create an openai response with the deep research model
Code snippets
OS
macOs
Node version
v23.11.0
Library version
^5.8.3