Agent DailyAgent Daily
releaseintermediate

[Release] langchain-ai/langchain langchain-openrouter==0.2.4: langchain-openrouter==0.2.4

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

langchain-openrouter version 0.2.4 release includes dependency updates, new features for tool handling, and continuous model profile refreshes. Key improvements include bumping the openrouter floor to 0.9.2, surfacing parallel_tool_calls on bind_tools, and adding cache_control passthrough support. The release also incorporates package version tracking for tracing metadata and various infrastructure improvements across the LangChain monorepo.

Key Points

  • Bump openrouter dependency floor to 0.9.2 and remove file workaround (#38216)
  • Surface parallel_tool_calls capability on bind_tools for improved tool handling (#38214)
  • Add cache_control passthrough support on tool definitions with test coverage (#38215)
  • Implement package version tracking in tracing metadata for better observability (#35295)
  • Update langsmith dependency from 0.7.31 to 0.8.18 for enhanced functionality
  • Refresh model profile data regularly to maintain up-to-date model information
  • Upgrade mypy to 2.1 and unify type-check configuration across monorepo (#36470)
  • Validate tool call chunks during streaming in standard tests (#34707)
  • Tighten structured output model fallbacks to improve reliability (#38042)
  • Update README with latest installation instructions and resources (#38119)

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