@agentv/core 3.10.0 → 3.10.2
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/dist/{chunk-K7JCJIXA.js → chunk-VCFYWLFV.js} +7 -2
- package/dist/chunk-VCFYWLFV.js.map +1 -0
- package/dist/evaluation/validation/index.cjs +23 -24
- package/dist/evaluation/validation/index.cjs.map +1 -1
- package/dist/evaluation/validation/index.js +24 -25
- package/dist/evaluation/validation/index.js.map +1 -1
- package/dist/index.cjs +8 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/dist/chunk-K7JCJIXA.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
readTextFile,
|
|
20
20
|
resolveFileReference,
|
|
21
21
|
resolveTargetDefinition
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VCFYWLFV.js";
|
|
23
23
|
import {
|
|
24
24
|
AgentvProvider
|
|
25
25
|
} from "./chunk-W5YDZWT4.js";
|
|
@@ -9293,7 +9293,7 @@ async function readTargetDefinitions(filePath) {
|
|
|
9293
9293
|
throw new Error(`targets.yaml not found at ${absolutePath}`);
|
|
9294
9294
|
}
|
|
9295
9295
|
const raw = await readFile9(absolutePath, "utf8");
|
|
9296
|
-
const parsed =
|
|
9296
|
+
const parsed = parse4(raw);
|
|
9297
9297
|
if (!isRecord(parsed)) {
|
|
9298
9298
|
throw new Error(`targets.yaml at ${absolutePath} must be a YAML object with a 'targets' field`);
|
|
9299
9299
|
}
|
|
@@ -14648,7 +14648,7 @@ async function runEvaluation(options) {
|
|
|
14648
14648
|
setupLog(
|
|
14649
14649
|
`sharedWorkspace=${hasSharedWorkspace} perTestIsolation=${isPerTestIsolation} usePool=${usePool} workers=${workers}`
|
|
14650
14650
|
);
|
|
14651
|
-
if (hasSharedWorkspace && !usePool && workers > 1) {
|
|
14651
|
+
if (hasSharedWorkspace && !usePool && workers > 1 && filteredEvalCases.length > 1) {
|
|
14652
14652
|
console.warn(
|
|
14653
14653
|
[
|
|
14654
14654
|
`Warning: This eval uses a shared workspace with ${workers} workers.`,
|