Change8

langchain==1.2.3

📦 langchainView on GitHub →
2 features🐛 2 fixes🔧 3 symbols

Summary

This release focuses on improving summarization logic by leveraging usage metadata and fixing tool call pairings, alongside a provider mapping fix for Azure OpenAI.

✨ New Features

  • Refactored summarization logic to utilize reported usage_metadata for more accurate processing.
  • Added test coverage for chat model provider inference.

🐛 Bug Fixes

  • Fixed tool call and AIMessage pairing persistence during the summarization process.
  • Corrected a copy-paste error in the azure_openai embedding provider mapping.

🔧 Affected Symbols

usage_metadataAIMessageazure_openai