1.7.51w ago
langchain-core langchain-core==1.7.5
Key point
langchain-core 1.7.5 adds standardization of model refusal content blocks and translation of Gemini safety blocks, and fixes tool execution termination on cancellation and LangChain.js serialization compatibility.
Details
- New features: Standardized model refusal content blocks and added support for translating Gemini safety blocks into refusal content blocks.
- Bug fixes: Fixed an issue so that tool runs terminate correctly when a task is cancelled.
- Compatibility fixes: Fixed an issue so that
RemoveMessageobjects serialized in LangChain.js are loaded correctly.