Skip to content

Update dependency @langchain/openai to v1.5.2#1008

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/langchain-openai-1.x-lockfile
Open

Update dependency @langchain/openai to v1.5.2#1008
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/langchain-openai-1.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@langchain/openai (source) 1.5.11.5.2 age confidence

Release Notes

langchain-ai/langchainjs (@​langchain/openai)

v1.5.2

Compare Source

Patch Changes
  • #​11045 05936ab Thanks @​jackjin1997! - fix(openai): omit empty id and content on reasoning items in Responses API input

    Reasoning blocks reassembled from streaming chunks (e.g. via streamEvents) never carry an id, since OpenAI's streaming protocol only includes it in non-streaming responses. When such a message was replayed as Responses API input on the next turn, the reasoning item was emitted with id: "", which OpenAI rejects with 400 Invalid 'input[n].id': ''. The id field is now omitted when absent.

    A second error surfaced immediately after that fix: the same converter set a populated content array on the reasoning input item, which the Responses API also rejects (400 Invalid 'input[n].content': array too long. Expected an array with maximum length 0). Reasoning input items only carry summary, so content is no longer forwarded. Thanks to @​csrujanreddy for catching the second issue and verifying both fixes against the live API.

  • #​11065 798cb70 Thanks @​rxits! - fix(openai): route standard url file blocks to native input_file in Responses API

  • #​11090 80c790b Thanks @​nikhilpakhloo! - fix(openai): stream built-in tool progress events


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants