langsmith 0.3.9 → 0.3.10-rc.0

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.
@@ -29,7 +29,6 @@ function wrapEvaluator(evaluator) {
29
29
  const wrappedEvaluator = (0, traceable_js_1.traceable)(async (_runTree, params) => {
30
30
  return evaluator(params);
31
31
  }, {
32
- ...config,
33
32
  id: evalRunId,
34
33
  trace_id: evalRunId,
35
34
  reference_example_id: context.currentExample.id,
@@ -37,6 +36,7 @@ function wrapEvaluator(evaluator) {
37
36
  tracingEnabled: true,
38
37
  name: evaluator.name ?? "<evaluator>",
39
38
  project_name: "evaluators",
39
+ ...config,
40
40
  });
41
41
  evalResult = await wrappedEvaluator(traceable_js_1.ROOT, input);
42
42
  }
@@ -26,7 +26,6 @@ export function wrapEvaluator(evaluator) {
26
26
  const wrappedEvaluator = traceable(async (_runTree, params) => {
27
27
  return evaluator(params);
28
28
  }, {
29
- ...config,
30
29
  id: evalRunId,
31
30
  trace_id: evalRunId,
32
31
  reference_example_id: context.currentExample.id,
@@ -34,6 +33,7 @@ export function wrapEvaluator(evaluator) {
34
33
  tracingEnabled: true,
35
34
  name: evaluator.name ?? "<evaluator>",
36
35
  project_name: "evaluators",
36
+ ...config,
37
37
  });
38
38
  evalResult = await wrappedEvaluator(ROOT, input);
39
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langsmith",
3
- "version": "0.3.9",
3
+ "version": "0.3.10-rc.0",
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": [