langchain-anthropic==1.4.0
📦 langchainView on GitHub →
✨ 2 features🔧 1 symbols
Summary
Version 1.4 introduces explicit caching for system messages and tool definitions via AnthropicPromptCachingMiddleware and improves cache control delegation.
✨ New Features
- AnthropicPromptCachingMiddleware now applies explicit caching to the system message and tool definitions.
- The 'cache_control' keyword argument is now delegated to the top-level Anthropic parameter.