Skip to content

@langchain/openai@1.8.6

Choose a tag to compare

@github-actions github-actions released this 01 Dec 18:17
d3ab8fc

Patch Changes

  • #12182 12d3930 Thanks @original4422! - Fix Responses-native forced-function tool choices throwing when the function name is provided at the top level.

  • #11333 aa51f22 Thanks @FlorianSp2000! - fix(openai): forward string tool_choice values on the Responses API

    "none", "auto" and "required" were dropped when building a Responses
    request, so tool_choice: "required" did not force a tool call and
    tool_choice: "none" did not prevent one — both silently fell back to the
    provider default. These are valid ToolChoiceOptions values and are now sent
    unchanged; only the named-function shape still needs converting.