bitfab 0.33.5 → 0.33.7
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/{chunk-LRWH3H5T.js → chunk-DZJ5K75J.js} +5 -6
- package/dist/chunk-DZJ5K75J.js.map +1 -0
- package/dist/index.cjs +4 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/node.cjs +4 -5
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-LRWH3H5T.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1017,7 +1017,7 @@ __export(index_exports, {
|
|
|
1017
1017
|
module.exports = __toCommonJS(index_exports);
|
|
1018
1018
|
|
|
1019
1019
|
// src/version.generated.ts
|
|
1020
|
-
var __version__ = "0.33.
|
|
1020
|
+
var __version__ = "0.33.7";
|
|
1021
1021
|
|
|
1022
1022
|
// src/constants.ts
|
|
1023
1023
|
var DEFAULT_SERVICE_URL = "https://bitfab.ai";
|
|
@@ -2765,7 +2765,9 @@ var BitfabLangGraphCallbackHandler = class {
|
|
|
2765
2765
|
if (extraContexts && Object.keys(extraContexts).length > 0) {
|
|
2766
2766
|
spanInfo.contexts.push(extraContexts);
|
|
2767
2767
|
}
|
|
2768
|
-
|
|
2768
|
+
if (spanInfo.hidden !== true) {
|
|
2769
|
+
this.sendSpan(spanInfo);
|
|
2770
|
+
}
|
|
2769
2771
|
if (runId === spanInfo.rootRunId) {
|
|
2770
2772
|
const invocation = this.invocations.get(runId);
|
|
2771
2773
|
this.sendTraceCompletion(spanInfo, invocation?.activeContext ?? null);
|
|
@@ -2789,9 +2791,6 @@ var BitfabLangGraphCallbackHandler = class {
|
|
|
2789
2791
|
if (spanInfo.contexts.length > 0) {
|
|
2790
2792
|
spanData.contexts = spanInfo.contexts;
|
|
2791
2793
|
}
|
|
2792
|
-
if (spanInfo.hidden) {
|
|
2793
|
-
spanData.hidden = true;
|
|
2794
|
-
}
|
|
2795
2794
|
const rawSpan = {
|
|
2796
2795
|
id: spanInfo.spanId,
|
|
2797
2796
|
trace_id: spanInfo.traceId,
|