github langchain-ai/langchainjs langchain@1.5.20

latest releases: @langchain/neo4j@0.1.28, @langchain/xai@1.5.1, @langchain/together-ai@0.2.20...
3 hours ago

Patch Changes

  • #12043 81577b3 Thanks @eliornl! - fix(langchain): re-throw a drained tool from the agent's ToolNode

    A tool that throws GraphDrained, for example one whose inner graph run is drained with RunControl.requestDrain(), now stops the agent run with that error, as an interrupt already did, instead of coming back as an error ToolMessage that lets the agent go on as if the tool had failed.

Don't miss a new langchainjs release

NewReleases is sending notifications on new releases.