@sedum-dev/reporters 0.1.0-alpha.5 → 0.1.0-alpha.7
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/index.js +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -18,7 +18,7 @@ function visionSummary(step) {
|
|
|
18
18
|
step.calls.filter((c) => c.modality === "vision").map((c) => c.model)
|
|
19
19
|
)
|
|
20
20
|
];
|
|
21
|
-
return `Vision fallback: ${vision.outcome ?? (vision.failure ? "failed" : "outcome unrecorded")} \xB7 ${models.join(", ") || "model unrecorded"} \xB7 ${Math.round(vision.elapsedMs)} ms` + (vision.reason ? ` \xB7 trigger: ${vision.reason}` : "") + (vision.failure ? ` \xB7 ${vision.failure}` : "") + (vision.httpStatus ? ` \xB7 HTTP ${vision.httpStatus}` : "");
|
|
21
|
+
return `Vision fallback: ${vision.outcome ?? (vision.failure ? "failed" : "outcome unrecorded")} \xB7 ${models.join(", ") || "model unrecorded"} \xB7 ${Math.round(vision.elapsedMs)} ms` + (vision.reason ? ` \xB7 trigger: ${vision.reason}` : "") + (vision.abstentionReason ? ` \xB7 abstention: ${vision.abstentionReason}` : "") + (vision.failure ? ` \xB7 ${vision.failure}` : "") + (vision.httpStatus ? ` \xB7 HTTP ${vision.httpStatus}` : "");
|
|
22
22
|
}
|
|
23
23
|
function usageLines(result) {
|
|
24
24
|
const steps = result.tests.flatMap((t) => t.attempts.flatMap((a) => a.steps));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sedum-dev/reporters",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.7",
|
|
4
4
|
"repository": "https://github.com/sedum-dev/sedum",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"assets"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@sedum-dev/core": "0.1.0-alpha.
|
|
23
|
+
"@sedum-dev/core": "0.1.0-alpha.7"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "tsup src/index.ts --format esm --dts --clean --out-dir dist",
|