@wix/evalforge-evaluator 0.155.0 → 0.157.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 +27 -11
- package/build/index.js.map +3 -3
- package/build/index.mjs +29 -13
- package/build/index.mjs.map +3 -3
- package/build/types/run-scenario/agents/timeout.d.ts +9 -0
- package/package.json +2 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const UNLIMITED_RUN_TIMEOUT_MS: number;
|
|
2
|
+
/**
|
|
3
|
+
* Returns the wall-clock timeout for an agent execution.
|
|
4
|
+
*
|
|
5
|
+
* - Explicit `maxDurationMs` always wins.
|
|
6
|
+
* - Unlimited runs (`maxTurns === undefined`) get a 60-minute ceiling.
|
|
7
|
+
* - Capped runs get 1 minute per turn, floored at 5 minutes.
|
|
8
|
+
*/
|
|
9
|
+
export declare function resolveTimeoutMs(maxTurns: number | undefined, maxDurationMs?: number): number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/evalforge-evaluator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.157.0",
|
|
4
4
|
"description": "EvalForge Evaluator",
|
|
5
5
|
"bin": "./build/index.js",
|
|
6
6
|
"files": [
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"artifactId": "evalforge-evaluator"
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
"falconPackageHash": "
|
|
66
|
+
"falconPackageHash": "53d2ae61055ae5f29351985c1be81ef4cc9b084db725f1d9c9920a20"
|
|
67
67
|
}
|