github langchain-ai/langchainjs @langchain/anthropic@1.5.7

latest releases: @langchain/neo4j@0.1.16, langchain@1.5.10, @langchain/xai@1.4.9...
4 hours ago

Patch Changes

  • #11407 3ceef4b Thanks @chenzimin! - Round-trip the tool search server-tool result blocks (tool_search_tool_bm25_tool_result / tool_search_tool_regex_tool_result) through message translation, mirroring web_search_tool_result. Without this, a multi-turn conversation using the tool search tool fails on the next request with 400 invalid_request_error … tool use … found without a corresponding … tool_result block, because the result block was dropped from the assistant message (streaming capture) and on re-send (toolTypes passthrough).

Don't miss a new langchainjs release

NewReleases is sending notifications on new releases.