langsmith 0.2.2 → 0.2.3
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/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/vercel.cjs +1 -1
- package/dist/vercel.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -8,4 +8,4 @@ Object.defineProperty(exports, "RunTree", { enumerable: true, get: function () {
|
|
|
8
8
|
var fetch_js_1 = require("./singletons/fetch.cjs");
|
|
9
9
|
Object.defineProperty(exports, "overrideFetchImplementation", { enumerable: true, get: function () { return fetch_js_1.overrideFetchImplementation; } });
|
|
10
10
|
// Update using yarn bump-version
|
|
11
|
-
exports.__version__ = "0.2.
|
|
11
|
+
exports.__version__ = "0.2.3";
|
package/dist/index.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ export { Client, type ClientConfig } from "./client.js";
|
|
|
2
2
|
export type { Dataset, Example, TracerSession, Run, Feedback, RetrieverOutput, } from "./schemas.js";
|
|
3
3
|
export { RunTree, type RunTreeConfig } from "./run_trees.js";
|
|
4
4
|
export { overrideFetchImplementation } from "./singletons/fetch.js";
|
|
5
|
-
export declare const __version__ = "0.2.
|
|
5
|
+
export declare const __version__ = "0.2.3";
|
package/dist/index.js
CHANGED
package/dist/vercel.cjs
CHANGED
|
@@ -290,7 +290,7 @@ class AISDKExporter {
|
|
|
290
290
|
const parsedEnd = convertToTimestamp(span.endTime);
|
|
291
291
|
let name = rawConfig.name;
|
|
292
292
|
// if user provided a custom name, only use it if it's the root
|
|
293
|
-
if (span
|
|
293
|
+
if (this.isRootRun(span)) {
|
|
294
294
|
name =
|
|
295
295
|
this.getSpanAttributeKey(span, RUN_NAME_METADATA_KEY.output) || name;
|
|
296
296
|
}
|
package/dist/vercel.js
CHANGED
|
@@ -287,7 +287,7 @@ export class AISDKExporter {
|
|
|
287
287
|
const parsedEnd = convertToTimestamp(span.endTime);
|
|
288
288
|
let name = rawConfig.name;
|
|
289
289
|
// if user provided a custom name, only use it if it's the root
|
|
290
|
-
if (span
|
|
290
|
+
if (this.isRootRun(span)) {
|
|
291
291
|
name =
|
|
292
292
|
this.getSpanAttributeKey(span, RUN_NAME_METADATA_KEY.output) || name;
|
|
293
293
|
}
|