fix(deps): update dependency @langchain/openai to v1#740
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
fix(deps): update dependency @langchain/openai to v1#740renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
Contributor
Author
|
05004fb to
f24b247
Compare
cddc75b to
3db2472
Compare
3db2472 to
0c40457
Compare
0c40457 to
6ba04ee
Compare
6ba04ee to
a2899a7
Compare
806c43b to
42fdad0
Compare
42fdad0 to
43dbc0a
Compare
43dbc0a to
de8ac7c
Compare
4fe306b to
a5bb756
Compare
ca01159 to
d040467
Compare
922aeab to
52364a8
Compare
52364a8 to
17256b7
Compare
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:
^0.6.0→^1.0.0Release Notes
langchain-ai/langchainjs (@langchain/openai)
v1.4.1Compare Source
Patch Changes
#10551
9270c48Thanks @muhammadosama984! - fix(openai): preserve reasoning_content in ChatOpenAICompletionsUpdated dependencies [
589ab9b]:v1.4.0Compare Source
Minor Changes
5552999Thanks @hntrl! - feat(openai): add support for phase parameter on Responses API messagesphasefrom message output items and surface it on text content blocksresponse.output_item.addedeventsextrasdict in the core standard content translatorPatch Changes
6933769,50d5f32,5552999,8331833]:v1.3.1Compare Source
Patch Changes
#10481
478652cThanks @hnustwjj! - fix(openai): detect DeepSeek context overflow errors asContextOverflowErrorDeepSeek returns
maximum context lengthin 400 error messages when the context limit is exceeded. These are now recognized bywrapOpenAIClientError, so downstream code (e.g. summarization middleware fallback) can handle them correctly.#10507
52e501bThanks @App-arently! - fix(openai): guard JSON.parse in streaming json_schema when text is emptyUpdated dependencies [
bbbfea1]:v1.3.0Compare Source
Minor Changes
af9bbd3Thanks @hntrl! - feat(openai): support tool search and defer_loadingtools.toolSearch()factory for the OpenAI Responses APItool_searchbuilt-in tool, supporting both server-executed and client-executed modes.defer_loadingfrom LangChain toolextrasthroughbindTools()and into the Responses API payload, enabling on-demand tool discovery.tool_search_callandtool_search_outputresponse items in both streaming and non-streaming converters.tool_search_call→server_tool_callandtool_search_output→server_tool_call_result.Patch Changes
6db417b,d69dfcc]:v1.2.13Compare Source
Patch Changes
#10311
aacbe87Thanks @christian-bromann! - fix(openai): add gpt-5.4 to profilesUpdated dependencies [
26488b5,ca826f6,a602c42,db7d017]:v1.2.12Compare Source
Patch Changes
#10205
3682a8dThanks @colifran! - feat(openai): add standard schema support for structured outputUpdated dependencies [
96c630d,a8b9ccc,a1f22bb]:v1.2.11Compare Source
Patch Changes
#10106
9f30267Thanks @hntrl! - Add package version metadata to runnable traces. Each package now stamps its version inthis.metadata.versionsat construction time, making version info available in LangSmith trace metadata.#10151
f298a9bThanks @hntrl! - Bump openai SDK to ^6.24.0, fix ChatCompletionTool type narrowing for new union type, add file input converter tests for newly supported document types (docx, pptx, xlsx, csv)Updated dependencies [
9f30267,403a99f,3b1fd54,77bd982]:v1.2.10Patch Changes
#10143
62ba83eThanks @topliceanurazvan! - fix(openai): emit handleLLMNewToken callback for usage chunk in Completions API streamingThe final usage chunk in
_streamResponseChunkswas only yielded via the async generator but did not callrunManager.handleLLMNewToken(). This meant callback-based consumers (e.g. LangGraph'sStreamMessagesHandler) never received theusage_metadatachunk. Added the missinghandleLLMNewTokencall to match the behavior of the main streaming loop.Updated dependencies [
10a876c,b46d96a]:v1.2.8Compare Source
Patch Changes
#10077
05396f7Thanks @christian-bromann! - feat(core): add ContextOverflowError, raise in anthropic and openai#10081
5a6f26bThanks @hntrl! - feat(core): add namespace-based symbol branding for error class hierarchiesIntroduces
createNamespaceutility for hierarchical symbol-based branding of class hierarchies.All LangChain error classes now use this pattern, replacing hand-rolled duck-type
isInstancecheckswith reliable cross-realm
Symbol.for-based identity.LangChainErrorbase class that all LangChain errors extendcreateNamespace/NamespaceAPI in@langchain/core/utils/namespaceModelAbortError,ContextOverflowErrorto use namespace brandingContextOverflowError.fromError()static factory methodaddLangChainErrorFieldsin favor ofLangChainErrorsubclassesGoogleError,ConfigurationError, etc.) to namespace brandingContextOverflowError.fromError()#10078
7be50a7Thanks @christian-bromann! - chore(*): update model profilesv1.2.7Patch Changes
#9517
23be5afThanks @christian-bromann! - fix(langchain): Refactored agent generics to use type bag pattern (AgentTypeConfig, MiddlewareTypeConfig) with new helper types for type extraction.#9761
e0360d9Thanks @christian-bromann! - fix(langchain): ensure models only make on write_todo call at a timeUpdated dependencies [
23be5af]:v1.2.6Patch Changes
a46a249]:v1.2.5Compare Source
Patch Changes
817fc9a]: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
e2b3d90Thanks @MatanTsach! - fix(ollama): preserve tool_calls when AIMessage content is a stringv1.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.2Compare Source
Patch 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 - 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.
This PR was generated by Mend Renovate. View the repository job log.