chore(deps): update dependency @langchain/openai to v1 - autoclosed #570
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:
^0.6.0→^1.0.0<1.0.0→<1.1.8Release Notes
langchain-ai/langchainjs (@langchain/openai)
v1.2.4Compare Source
Patch Changes
#9887
1fa865bThanks @Muhammad-Kamran-Khan! - Fix validation to allow file_url and file_id without filename metadata in Responses API, and prevent sending filename when not allowed.#9873
28efb57Thanks @hntrl! - AddreasoningEffortcall option as a convenience shorthand forreasoning.effortreasoningEfforttoBaseChatOpenAICallOptionsfor easier configuration of reasoning modelsreasoningEffortintoreasoning.effortwhen calling reasoning models (o1, o3, etc.)reasoningEffortandreasoning.effortare provided,reasoning.efforttakes precedence@deprecatedto encourage use of the fullreasoning.effortoption#9876
4e42452Thanks @sflanker! - fix(openai): pass runManager to responses._generate function in ChatOpenAI#9900
a9b5059Thanks @hntrl! - Improved abort signal handling for chat models:ModelAbortErrorclass in@langchain/core/errorsthat contains partial output when a model invocation is aborted mid-streaminvoke()now throwsModelAbortErrorwith accumulatedpartialOutputwhen aborted during streaming (when using streaming callback handlers)stream()throws a regularAbortErrorwhen aborted (since chunks are already yielded to the caller)_generate()and_streamResponseChunks()methods#9900
a9b5059Thanks @hntrl! - fix(providers): add proper abort signal handling for invoke and stream operationssignal.throwIfAborted()) at the start of_generatemethods to immediately throw when signal is already aborted_streamResponseChunksto return early when signal is aborted@langchain/standard-testsThis enables proper cancellation behavior for both invoke and streaming operations, and allows fallback chains to correctly proceed to the next runnable when the previous one is aborted.
v1.2.3Compare Source
Patch Changes
#9707
e5063f9Thanks @hntrl! - add security hardening forloadUpdated dependencies [
e5063f9,8996647]:v1.2.2Compare Source
Patch Changes
3efe79cThanks @christian-bromann! - fix(core): properly elevate reasoning tokensv1.2.1Compare Source
Patch Changes
a7b2a7d,a496c5f,1da1325]:v1.2.0Minor Changes
442197dThanks @Gulianrdgd! - Adds support for thethinkparameter to theOllamaLLM classPatch Changes
3efe79cThanks @christian-bromann! - fix(core): properly elevate reasoning tokensv1.1.3Patch Changes
#9534
bd2c46eThanks @christian-bromann! - fix(@langchain/core): update and bundlep-retry,ansi-styles,camelcaseanddecamelizedependencies#9544
487378bThanks @hntrl! - fix tool chunk concat behavior (#9450)#9505
138e7fbThanks @chosh-dev! - feat: replace btoa with toBase64Url for encoding in drawMermaidImagev1.1.2Patch Changes
#9601
d79d2ffThanks @Orenoid! - feat(zhipuai): support tool calling in ChatZhipuAIUpdated dependencies [
13c9d5b,cc502e1,75b3b90]:v1.1.1Patch Changes
#9495
636b994Thanks @gsriram24! - fix: use dynamic import for p-retry to support CommonJS environments#9531
38f0162Thanks @hntrl! - addextrasto toolsv1.1.0Minor Changes
#9424
f17b2c9Thanks @hntrl! - add support forbetasparam#9424
f17b2c9Thanks @hntrl! - add support for native structured outputPatch Changes
f17b2c9Thanks @hntrl! - bump sdk versionConfiguration
📅 Schedule: Branch creation - "every weekday" (UTC), 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.