# langchainjs/release
LangChain.js @langchain/openai@1.8.3
importance: medium
This patch surfaces model refusals as `ModelRefusalError`. Chat Completions retains refusal information, refusals are passed back natively in assistant messages (including `v1` messages), and `withStructuredOutput` using `jsonSchema` throws the error when a refusal occurs.
affected
Applications using LangChain.js OpenAI Chat Completions or structured output may now receive `ModelRefusalError` when the model refuses a request.
# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.