Agent DailyAgent Daily
releaseintermediate

[Release] langchain-ai/langchain langchain-xai==1.3.0: langchain-xai==1.3.0

By github-actions[bot]github
View original on github

langchain-xai version 1.3.0 introduces the `reasoning_effort` parameter as a standard chat model feature, along with numerous dependency updates and security patches. The release includes fixes for unsupported parameters, improved model profile data, and enhanced streaming capabilities with content-block-centric v2 support. Key updates involve langsmith, pytest, aiohttp, and other core dependencies, with emphasis on security vulnerabilities and compatibility improvements.

Key Points

  • Added `reasoning_effort` as a standard chat model parameter for enhanced control over model reasoning behavior
  • Dropped unsupported `stop` parameter from XAI integration to improve API compatibility
  • Implemented content-block-centric streaming (v2) for better streaming architecture
  • Added package version tracking to tracing metadata for improved observability and debugging
  • Patched multiple Dependabot security vulnerabilities including CVE-2026-4539 (pygments) and aiohttp compatibility issues
  • Upgraded langsmith from 0.4.31 to 0.10.2 with multiple intermediate updates for stability
  • Added `base_url` alias and `XAI_API_BASE` environment variable support for flexible API endpoint configuration
  • Refreshed model profile data multiple times with new fields including `text_inputs` and `text_outputs`
  • Standardized integration test invocation across partner packages with pytest-xdist support
  • Maintained minimum langchain-core dependency at 1.2.21+ with compatibility fixes across releases

Found this useful? Add it to a playbook for a step-by-step implementation guide.

Workflow Diagram

Start Process
Step A
Step B
Step C
Complete
Quality

Concepts