@brizz/sdk 0.1.11 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/preload.cjs CHANGED
@@ -246,11 +246,11 @@ var BRIZZ_SDK_LANGUAGE = "brizz.sdk.language";
246
246
  var SDK_LANGUAGE = "typescript";
247
247
 
248
248
  // src/internal/instrumentation/registry.ts
249
+ var import_openinference_instrumentation_langchain = require("@arizeai/openinference-instrumentation-langchain");
249
250
  var import_instrumentation_anthropic = require("@traceloop/instrumentation-anthropic");
250
251
  var import_instrumentation_bedrock = require("@traceloop/instrumentation-bedrock");
251
252
  var import_instrumentation_chromadb = require("@traceloop/instrumentation-chromadb");
252
253
  var import_instrumentation_cohere = require("@traceloop/instrumentation-cohere");
253
- var import_instrumentation_langchain = require("@traceloop/instrumentation-langchain");
254
254
  var import_instrumentation_llamaindex = require("@traceloop/instrumentation-llamaindex");
255
255
  var import_instrumentation_openai = require("@traceloop/instrumentation-openai");
256
256
  var import_instrumentation_pinecone = require("@traceloop/instrumentation-pinecone");
@@ -324,7 +324,6 @@ var InstrumentationRegistry = class _InstrumentationRegistry {
324
324
  },
325
325
  { class: import_instrumentation_bedrock.BedrockInstrumentation, name: "Bedrock", module: this.manualModules?.bedrock },
326
326
  { class: import_instrumentation_pinecone.PineconeInstrumentation, name: "Pinecone", module: this.manualModules?.pinecone },
327
- { class: import_instrumentation_langchain.LangChainInstrumentation, name: "LangChain", module: this.manualModules?.langchain },
328
327
  {
329
328
  class: import_instrumentation_llamaindex.LlamaIndexInstrumentation,
330
329
  name: "LlamaIndex",
@@ -347,6 +346,16 @@ var InstrumentationRegistry = class _InstrumentationRegistry {
347
346
  }
348
347
  }
349
348
  }
349
+ if (this.manualModules?.langchain?.callbackManagerModule) {
350
+ try {
351
+ const lcInst = new import_openinference_instrumentation_langchain.LangChainInstrumentation();
352
+ lcInst.manuallyInstrument(this.manualModules.langchain.callbackManagerModule);
353
+ instrumentations.push(lcInst);
354
+ logger.debug("Manual instrumentation enabled for LangChain");
355
+ } catch (error) {
356
+ logger.error(`Failed to load LangChain instrumentation: ${String(error)}`);
357
+ }
358
+ }
350
359
  }
351
360
  };
352
361
 
@@ -358,7 +367,7 @@ var import_sdk_logs2 = require("@opentelemetry/sdk-logs");
358
367
 
359
368
  // src/internal/version.ts
360
369
  function getSDKVersion() {
361
- return "0.1.11";
370
+ return "0.1.13";
362
371
  }
363
372
 
364
373
  // src/internal/log/processors/log-processor.ts