Skip to content

Commit 23fdb28

Browse files
authored
fix(langchain): return exports in langchain runnables module patch (#470)
1 parent bc0d75e commit 23fdb28

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/instrumentation-langchain/src/instrumentation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ export class LangChainInstrumentation extends InstrumentationBase {
190190
"invoke",
191191
taskWrapper(() => this.tracer, this._shouldSendPrompts()),
192192
);
193+
return moduleExports;
193194
}
194195

195196
private unpatchChainModule(

0 commit comments

Comments
 (0)