File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 9191 "import/extensions" : " off" ,
9292 "n/prefer-global/process" : " off" ,
9393 "no-new-func" : " off" ,
94+ "capitalized-comments" : " off" ,
9495 "unicorn/no-process-exit" : " off" ,
9596 "unicorn/prefer-add-event-listener" : " off" ,
9697 "unicorn/prefer-switch" : " off" ,
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ import { useAzureMonitor } from '@azure/monitor-opentelemetry';
66import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-http' ;
77import { NodeTracerProvider } from '@opentelemetry/sdk-trace-node' ;
88import { SimpleSpanProcessor } from '@opentelemetry/sdk-trace-base' ;
9- import { LangChainInstrumentation } from '@arizeai/openinference-instrumentation-langchain' ;
10- import * as CallbackManagerModule from 'langchain' ;
9+ // import { LangChainInstrumentation } from '@arizeai/openinference-instrumentation-langchain';
10+ // import * as CallbackManagerModule from 'langchain';
1111
1212let isTracingInitialized = false ;
1313if ( ! isTracingInitialized ) {
@@ -35,8 +35,9 @@ if (!isTracingInitialized) {
3535 }
3636
3737 // Manually instrument LangChain's CallbackManager to capture traces
38- const langchainInstrumentation = new LangChainInstrumentation ( ) ;
39- langchainInstrumentation . manuallyInstrument ( CallbackManagerModule ) ;
38+ // TODO: temporarily disabled due to compatibility issues with LangChain v1 (PR in progress)
39+ // const langchainInstrumentation = new LangChainInstrumentation();
40+ // langchainInstrumentation.manuallyInstrument(CallbackManagerModule);
4041
4142 isTracingInitialized = true ;
4243}
You can’t perform that action at this time.
0 commit comments