github langchain-ai/langchainjs @langchain/openai@1.3.1

latest releases: @langchain/xai@1.3.11, @langchain/community@1.1.25, langchain@1.2.37...
7 hours ago

Patch Changes

  • #10481 478652c Thanks @hnustwjj! - fix(openai): detect DeepSeek context overflow errors as ContextOverflowError

    DeepSeek returns maximum context length in 400 error messages when the context limit is exceeded. These are now recognized by wrapOpenAIClientError, so downstream code (e.g. summarization middleware fallback) can handle them correctly.

  • #10507 52e501b Thanks @App-arently! - fix(openai): guard JSON.parse in streaming json_schema when text is empty

  • Updated dependencies [bbbfea1]:

    • @langchain/core@1.1.36

Don't miss a new langchainjs release

NewReleases is sending notifications on new releases.