Change8

langchain-openai==1.1.11

Breaking Changes
📦 langchainView on GitHub →
1 breaking2 features🐛 5 fixes🔧 2 symbols

Summary

This release introduces support for tool search and streaming token usage for OpenRouter, alongside several bug fixes related to model detection and structured output handling. It also bumps minimum dependency versions.

⚠️ Breaking Changes

  • The minimum required version for the core library has been bumped, which may cause issues if you are using an older core version. Update the core library to resolve this.

✨ New Features

  • Added support for tool search in OpenAI integrations.
  • Added streaming token usage support for OpenRouter.

🐛 Bug Fixes

  • Updated responses API model detection to correctly handle pro and codex models.
  • Avoided PydanticSerializationUnexpectedValue error when dealing with structured output.
  • Added a test for CSV and accommodated breaking changes in file URL inputs.
  • Fixed an issue where valid responses that were falsy at runtime were not being accepted.
  • Fixed a typo related to compaction.

Affected Symbols