langsmith
Advanced tools
Comparing version 0.3.9-rc.4 to 0.3.9-rc.5
@@ -43,6 +43,10 @@ import { getCurrentRunTree, ROOT, traceable } from "../../../traceable.js"; | ||
} | ||
let normalizedResult; | ||
if (!Array.isArray(evalResult)) { | ||
evalResult = [evalResult]; | ||
normalizedResult = [evalResult]; | ||
} | ||
for (const result of evalResult) { | ||
else { | ||
normalizedResult = evalResult; | ||
} | ||
for (const result of normalizedResult) { | ||
if (isEvaluationResult(result)) { | ||
@@ -49,0 +53,0 @@ _logTestFeedback({ |
{ | ||
"name": "langsmith", | ||
"version": "0.3.9-rc.4", | ||
"version": "0.3.9-rc.5", | ||
"description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.", | ||
@@ -5,0 +5,0 @@ "packageManager": "yarn@1.22.19", |
Sorry, the diff of this file is not supported yet
1004861
25416
47