@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.mjs
CHANGED
|
@@ -2488,11 +2488,12 @@ async function runScenario(config, evalRunId2, scenario, evalData, template, res
|
|
|
2488
2488
|
status: templateFilesMap.get(d.path)
|
|
2489
2489
|
}))
|
|
2490
2490
|
};
|
|
2491
|
+
const { "x-wix-ai-gateway-stream": _stream, ...judgeHeaders } = config.aiGatewayHeaders;
|
|
2491
2492
|
const assertionContext = {
|
|
2492
2493
|
workDir,
|
|
2493
2494
|
llmConfig: {
|
|
2494
2495
|
baseUrl: config.aiGatewayUrl,
|
|
2495
|
-
headers:
|
|
2496
|
+
headers: judgeHeaders
|
|
2496
2497
|
}
|
|
2497
2498
|
};
|
|
2498
2499
|
const assertionResults = assertions.length > 0 ? await evaluateAssertionsBase(
|