github langchain-ai/langchainjs @langchain/openai@1.8.6

latest releases: @langchain/neo4j@0.1.35, @langchain/google-vertexai-web@2.3.8, @langchain/google-vertexai@2.3.8...
one hour ago

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.

Don't miss a new langchainjs release

NewReleases is sending notifications on new releases.