langsmith 0.3.46-rc.0 → 0.3.46-rc.2

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 CHANGED
@@ -10,4 +10,4 @@ Object.defineProperty(exports, "overrideFetchImplementation", { enumerable: true
10
10
  var project_js_1 = require("./utils/project.cjs");
11
11
  Object.defineProperty(exports, "getDefaultProjectName", { enumerable: true, get: function () { return project_js_1.getDefaultProjectName; } });
12
12
  // Update using yarn bump-version
13
- exports.__version__ = "0.3.46-rc.0";
13
+ exports.__version__ = "0.3.46-rc.2";
package/dist/index.d.ts CHANGED
@@ -3,4 +3,4 @@ export type { Dataset, Example, TracerSession, Run, Feedback, RetrieverOutput, }
3
3
  export { RunTree, type RunTreeConfig } from "./run_trees.js";
4
4
  export { overrideFetchImplementation } from "./singletons/fetch.js";
5
5
  export { getDefaultProjectName } from "./utils/project.js";
6
- export declare const __version__ = "0.3.46-rc.0";
6
+ export declare const __version__ = "0.3.46-rc.2";
package/dist/index.js CHANGED
@@ -3,4 +3,4 @@ export { RunTree } from "./run_trees.js";
3
3
  export { overrideFetchImplementation } from "./singletons/fetch.js";
4
4
  export { getDefaultProjectName } from "./utils/project.js";
5
5
  // Update using yarn bump-version
6
- export const __version__ = "0.3.46-rc.0";
6
+ export const __version__ = "0.3.46-rc.2";
@@ -448,7 +448,7 @@ class RunTree {
448
448
  parent_run_id = undefined;
449
449
  }
450
450
  else {
451
- parent_run_id = run.parent_run_id ?? run.parent_run?.id;
451
+ parent_run_id = run.parent_run?.id ?? run.parent_run_id;
452
452
  child_runs = [];
453
453
  }
454
454
  return {
@@ -579,7 +579,7 @@ class RunTree {
579
579
  error: this.error,
580
580
  inputs: this.inputs,
581
581
  outputs: this.outputs,
582
- parent_run_id: this.parent_run?.id,
582
+ parent_run_id: this.parent_run?.id ?? this.parent_run_id,
583
583
  reference_example_id: this.reference_example_id,
584
584
  extra: this.extra,
585
585
  events: this.events,
package/dist/run_trees.js CHANGED
@@ -409,7 +409,7 @@ export class RunTree {
409
409
  parent_run_id = undefined;
410
410
  }
411
411
  else {
412
- parent_run_id = run.parent_run_id ?? run.parent_run?.id;
412
+ parent_run_id = run.parent_run?.id ?? run.parent_run_id;
413
413
  child_runs = [];
414
414
  }
415
415
  return {
@@ -540,7 +540,7 @@ export class RunTree {
540
540
  error: this.error,
541
541
  inputs: this.inputs,
542
542
  outputs: this.outputs,
543
- parent_run_id: this.parent_run?.id,
543
+ parent_run_id: this.parent_run?.id ?? this.parent_run_id,
544
544
  reference_example_id: this.reference_example_id,
545
545
  extra: this.extra,
546
546
  events: this.events,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langsmith",
3
- "version": "0.3.46-rc.0",
3
+ "version": "0.3.46-rc.2",
4
4
  "description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.",
5
5
  "packageManager": "yarn@1.22.19",
6
6
  "files": [