Skip to content

Commit 952b988

Browse files
committed
fix(langchain): can't add openLLMetryPatched
1 parent 10356fb commit 952b988

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/instrumentation-langchain/src/instrumentation.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ export class LangChainInstrumentation extends InstrumentationBase<any> {
8181
return moduleExports;
8282
}
8383

84-
moduleExports.openLLMetryPatched = true;
85-
8684
this._wrap(
8785
moduleExports.RetrievalQAChain.prototype,
8886
"_call",
@@ -107,8 +105,6 @@ export class LangChainInstrumentation extends InstrumentationBase<any> {
107105
return moduleExports;
108106
}
109107

110-
moduleExports.openLLMetryPatched = true;
111-
112108
this._wrap(
113109
moduleExports.AgentExecutor.prototype,
114110
"_call",
@@ -128,8 +124,6 @@ export class LangChainInstrumentation extends InstrumentationBase<any> {
128124
return moduleExports;
129125
}
130126

131-
moduleExports.openLLMetryPatched = true;
132-
133127
this._wrap(
134128
moduleExports.Tool.prototype,
135129
"call",

0 commit comments

Comments
 (0)