Skip to content

@langchain/anthropic@1.5.7

Choose a tag to compare

@github-actions github-actions released this 20 Aug 01:17
e493ed6

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).