@wix/evalforge-evaluator 0.104.0 → 0.105.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.
- package/build/index.js +1 -1
- package/build/index.js.map +2 -2
- package/build/index.mjs +1 -1
- package/build/index.mjs.map +2 -2
- package/package.json +4 -4
package/build/index.js
CHANGED
|
@@ -1067,7 +1067,7 @@ function customAssertionToAssertion(ca, params) {
|
|
|
1067
1067
|
async function fetchEvaluationData(api, projectId2, evalRunId2) {
|
|
1068
1068
|
const evalRun = await api.getEvalRun(projectId2, evalRunId2);
|
|
1069
1069
|
const scenarios = await Promise.all(
|
|
1070
|
-
evalRun.scenarioIds.map((id) => api.getScenario(projectId2, id))
|
|
1070
|
+
(evalRun.scenarioIds ?? []).map((id) => api.getScenario(projectId2, id))
|
|
1071
1071
|
);
|
|
1072
1072
|
let agent = null;
|
|
1073
1073
|
if (evalRun.agentId) {
|