Change8

langchain-model-profiles==0.0.6

📦 langchainView on GitHub →
7 features🐛 7 fixes🔧 11 symbols

Summary

This release focuses heavily on dependency updates, particularly within `langchain-model-profiles`, and introduces content-block-centric streaming (v2) in the core library. Bug fixes address issues in Anthropic, Fireworks, and schema drift warnings in model profiles.

Migration Steps

  1. Ensure `pygments` version is `>=2.20.0` to address CVE-2026-4539.
  2. Ensure minimum `langchain-core` dependency is `1.2.21` if using partner integrations.

✨ New Features

  • Validate tool call chunks during streaming in standard tests.
  • Add content-block-centric streaming (v2) to core.
  • Add new fields and a Makefile target to model-profiles.
  • Add model profile bump tool in infrastructure.
  • Add `text_inputs` and `text_outputs` fields to model-profiles.
  • Add `langchain-openrouter` provider package.
  • Auto append relevant beta headers for computer use in Anthropic integration.

🐛 Bug Fixes

  • Restore `cache_control` on non-direct Anthropic subclasses.
  • Honor `max_retries` in Fireworks integration.
  • Add missing `ModelProfile` fields and warn on schema drift in core and model-profiles.
  • Use posix-compatible substitution in model-profiles Makefile.
  • Sort generated profiles by model ID for stable diffs in model-profiles.
  • Fix trailing comma regex in profile generation script in infrastructure.
  • Update docs link in model-profiles.

Affected Symbols