@wix/evalforge-evaluator 0.90.0 → 0.91.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 CHANGED
@@ -286,6 +286,12 @@ function resolveSystemAssertion(assertionId, params) {
286
286
  maxDurationMs: params?.maxDurationMs ?? 3e5
287
287
  };
288
288
  break;
289
+ case "cost":
290
+ baseAssertion = {
291
+ type: "cost",
292
+ maxCostUsd: params?.maxCostUsd ?? 1
293
+ };
294
+ break;
289
295
  case "llm_judge":
290
296
  baseAssertion = {
291
297
  type: "llm_judge",