You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import OpenAI from "openai";
const client = new OpenAI();
const response = await client.responses.create({
model: "gpt-5.1-mini",
input: "Write a short bedtime story about a unicorn.",
});
console.log(response.output_text);
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
version : 6.9.0
It seems that
gpt-5.1-miniis not working properly.I think it might have been mistakenly labeled as
gpt-5.1-miniinstead ofgpt-5.1-codex-mini.To Reproduce
Code snippets
OS
macOs
Node version
Node v20.19.3
Library version
openai v6.9.0