Change8

langchain-anthropic==1.3.5

📦 langchainView on GitHub →
1 features🐛 4 fixes🔧 3 symbols

Summary

This release (1.3.5) for langchain-anthropic focuses on bug fixes related to caching, streaming, and tool choice handling, alongside dependency updates and new model profile features.

Migration Steps

  1. If you rely on the internal structure of anthropic message chunk creation, note that _make_message_chunk_from_anthropic_event is now an instance method.

✨ New Features

  • Added new fields and a Makefile target to model profiles.

🐛 Bug Fixes

  • Fixed an issue where general usage cache_creation fields were being ignored if more specific fields were set in anthropic integration.
  • Fixed anthropic integration to support eager_input_streaming.
  • Moved _make_message_chunk_from_anthropic_event to be an instance method in anthropic integration.
  • Fixed anthropic integration to drop forced tool_choice when thinking is enabled.

Affected Symbols