Change8

langchain-core==1.3.0

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

Summary

Langchain-core version 1.3.0 introduces new traceable metadata fields for chat models and LLMs, alongside several bug fixes related to SSRF policies and garbage collection support.

Migration Steps

  1. If you rely on the exact structure of streaming metadata, note that behavior related to 'checkpoint_ns' has been adjusted for backwards compatibility.

✨ New Features

  • Added chat model and LLM invocation parameters to traceable metadata.

🐛 Bug Fixes

  • Restored cloud metadata IPs and link-local range in the SSRF policy.
  • Handled responses API conversion when content blocks lack a 'type' key (openai related).
  • Used reference counting for storing inherited run trees to properly support garbage collection.

Affected Symbols