Skip to content

@langchain/openai@1.8.3

Choose a tag to compare

@github-actions github-actions released this 10 Nov 18:39
· 16 commits to main since this release
a5f7f6a

Patch Changes

  • #12122 e92e44d Thanks @thushanth-bengre-langchain! - fix(openai): surface model refusals as ModelRefusalError

    Chat Completions keeps refusal from responses, refusals are sent back natively on assistant messages (including v1 messages), and withStructuredOutput with jsonSchema throws ModelRefusalError on a refusal.