dd-trace-js icon indicating copy to clipboard operation
dd-trace-js copied to clipboard

[BUG]: LangChain ESM support broken for `@langchain/core@>=1.0.0`

Open sabrenner opened this issue 2 months ago • 0 comments

Tracer Version(s)

5.75.0

Node.js Version(s)

22.17.0

Bug Report

Leaving this as a community notice while I work out a solution, since I haven't seen a report yet. From our test version dependabot update, and running tests locally, it looks like the most recent major release of LangChain is not compatible with dd-trace (no errors produced, just missing spans as a result of incompatible instrumentation). A fix has been identified and we're working on implementing it. This should not affect CommonJS applications using LangChain

Reproduction Code

No response

Error Logs

No response

Tracer Config

No response

Operating System

No response

Bundling

Unsure

sabrenner avatar Nov 03 '25 15:11 sabrenner