@blaxel/langgraph 0.2.0-dev8 → 0.2.0-dev9
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/telemetry.js +5 -0
- package/package.json +3 -2
package/dist/telemetry.js
CHANGED
|
@@ -7,6 +7,7 @@ exports.instrumentLangchain = instrumentLangchain;
|
|
|
7
7
|
const runnables_1 = __importDefault(require("@langchain/core/runnables"));
|
|
8
8
|
const tools_1 = __importDefault(require("@langchain/core/tools"));
|
|
9
9
|
const vectorstores_1 = __importDefault(require("@langchain/core/vectorstores"));
|
|
10
|
+
const instrumentation_1 = require("@opentelemetry/instrumentation");
|
|
10
11
|
const instrumentation_langchain_1 = require("@traceloop/instrumentation-langchain");
|
|
11
12
|
const agents_1 = __importDefault(require("langchain/agents"));
|
|
12
13
|
const chains_1 = __importDefault(require("langchain/chains"));
|
|
@@ -19,5 +20,9 @@ function instrumentLangchain() {
|
|
|
19
20
|
agentsModule: agents_1.default,
|
|
20
21
|
vectorStoreModule: vectorstores_1.default,
|
|
21
22
|
});
|
|
23
|
+
langchain.enable();
|
|
24
|
+
(0, instrumentation_1.registerInstrumentations)({
|
|
25
|
+
instrumentations: [langchain],
|
|
26
|
+
});
|
|
22
27
|
}
|
|
23
28
|
instrumentLangchain();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blaxel/langgraph",
|
|
3
|
-
"version": "0.2.0-
|
|
3
|
+
"version": "0.2.0-dev9",
|
|
4
4
|
"description": "Blaxel SDK for TypeScript",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Blaxel, INC (https://blaxel.ai)",
|
|
@@ -59,12 +59,13 @@
|
|
|
59
59
|
"@langchain/core": "^0.3.51",
|
|
60
60
|
"@langchain/deepseek": "^0.0.1",
|
|
61
61
|
"@langchain/openai": "^0.5.10",
|
|
62
|
+
"@opentelemetry/instrumentation": "^0.200.0",
|
|
62
63
|
"@traceloop/instrumentation-langchain": "^0.13.0",
|
|
63
64
|
"cohere-ai": "^7.17.1",
|
|
64
65
|
"langchain": "^0.3.24",
|
|
65
66
|
"zod": "^3.24.3",
|
|
66
67
|
"zod-to-json-schema": "^3.24.5",
|
|
67
|
-
"@blaxel/core": "0.2.0-
|
|
68
|
+
"@blaxel/core": "0.2.0-dev9"
|
|
68
69
|
},
|
|
69
70
|
"devDependencies": {
|
|
70
71
|
"@eslint/js": "^9.26.0",
|