Update dependency @langchain/openai to v1.5.2#1008
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.5.1→1.5.2Release Notes
langchain-ai/langchainjs (@langchain/openai)
v1.5.2Compare Source
Patch Changes
#11045
05936abThanks @jackjin1997! - fix(openai): omit empty id and content on reasoning items in Responses API inputReasoning 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 withid: "", which OpenAI rejects with400 Invalid 'input[n].id': ''. Theidfield is now omitted when absent.A second error surfaced immediately after that fix: the same converter set a populated
contentarray 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 carrysummary, socontentis no longer forwarded. Thanks to @csrujanreddy for catching the second issue and verifying both fixes against the live API.#11065
798cb70Thanks @rxits! - fix(openai): route standard url file blocks to native input_file in Responses API#11090
80c790bThanks @nikhilpakhloo! - fix(openai): stream built-in tool progress eventsConfiguration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.