langchain-openai==1.1.13

LangChain Releases / 4/15/2026

📰 NewsDeveloper Stack & InfrastructureTools & Practical UsageModels & Research

Key Points

  • langchain-openai version 1.1.13 was released, bringing incremental fixes and maintenance since 1.1.12.
  • The OpenAI integration now handles response content blocks that may be missing the required `type` key during API response conversion.
  • Usage metadata token extraction was improved by adding safer `is-not-None` checks across OpenAI, Groq, and OpenRouter providers to avoid errors in optional fields.
  • CI/test reliability was addressed by fixing broken VCR cassette playback and adding a CI guard.
  • The release also includes refreshed model profile data for better model metadata coverage and documentation typo fixes.

Changes since langchain-openai==1.1.12

release(openai): 1.1.13 (#36729)
fix(openai): handle content blocks without type key in responses api conversion (#36725)
chore(model-profiles): refresh model profile data (#36539)
chore(openai): fix broken vcr cassette playback and add ci guard (#36502)
fix(openai,groq,openrouter): use is-not-None checks in usage metadata token extraction (#36500)
fix(core): fixed typos in the documentation (#36459)
chore(model-profiles): refresh model profile data (#36455)
feat(core): impute placeholder filenames for OpenAI file inputs (#36433)
chore: pygments>=2.20.0 across all packages (CVE-2026-4539) (#36385)
chore(model-profiles): refresh model profile data (#36368)
fix(openai): update computer call test (#36352)
fix(openai): let user-provided User-Agent override the Azure default (#35523)
chore: bump requests from 2.32.5 to 2.33.0 in /libs/partners/openai (#36248)