@wix/evalforge-evaluator 0.80.0 → 0.81.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 +2 -1
- package/build/index.js.map +2 -2
- package/build/index.mjs +2 -1
- package/build/index.mjs.map +2 -2
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -2501,11 +2501,12 @@ async function runScenario(config, evalRunId2, scenario, evalData, template, res
|
|
|
2501
2501
|
status: templateFilesMap.get(d.path)
|
|
2502
2502
|
}))
|
|
2503
2503
|
};
|
|
2504
|
+
const { "x-wix-ai-gateway-stream": _stream, ...judgeHeaders } = config.aiGatewayHeaders;
|
|
2504
2505
|
const assertionContext = {
|
|
2505
2506
|
workDir,
|
|
2506
2507
|
llmConfig: {
|
|
2507
2508
|
baseUrl: config.aiGatewayUrl,
|
|
2508
|
-
headers:
|
|
2509
|
+
headers: judgeHeaders
|
|
2509
2510
|
}
|
|
2510
2511
|
};
|
|
2511
2512
|
const assertionResults = assertions.length > 0 ? await (0, import_eval_assertions.evaluateAssertions)(
|