Agent DailyAgent Daily
releaseintermediate

[Release] langchain-ai/langchain langchain-anthropic==1.3.4: langchain-anthropic==1.3.4

By github-actions[bot]github
View original on github

langchain-anthropic version 1.3.4 release includes bug fixes for OpenAI response block filtering, model ID updates, and integration test improvements. Key features added include ChatAnthropicBedrock wrapper, User-Agent header support for Anthropic API calls, and max input token configuration based on context beta headers.

Key Points

  • Fixed OpenAI Responses block type filtering to prevent incompatible response formats in Anthropic integration
  • Updated integration tests to ensure compatibility with latest Anthropic API changes
  • Replaced retired model IDs in tests and docstrings to maintain accuracy with current Anthropic models
  • Added ChatAnthropicBedrock wrapper for AWS Bedrock integration support
  • Implemented User-Agent header for Anthropic API calls to improve request tracking and debugging
  • Fixed cache_control hoisting from tool_result content sub-blocks to tool_result level for proper caching behavior
  • Set max input tokens dynamically based on 1m context beta header for better token management
  • Bumped langsmith dependency from 0.4.43 to 0.6.3 for improved logging and monitoring capabilities
  • Sorted generated model profiles by model ID for stable and reproducible diffs in version control

Found this useful? Add it to a playbook for a step-by-step implementation guide.

Quality

Concepts

[Release] langchain-ai/langchain langchain-anthropic==1.3.4: langchain-anthropic==1.3.4 | Agent Daily