@agentforge/core 0.11.4 → 0.11.5
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.cjs +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1591,6 +1591,7 @@ function createToolExecutor(config = {}) {
|
|
|
1591
1591
|
metrics.failedExecutions++;
|
|
1592
1592
|
metrics.totalDuration += duration;
|
|
1593
1593
|
metrics.averageDuration = metrics.totalDuration / metrics.totalExecutions;
|
|
1594
|
+
metrics.byPriority[priority]++;
|
|
1594
1595
|
onExecutionError?.(tool, input, error, duration);
|
|
1595
1596
|
throw error;
|
|
1596
1597
|
}
|
package/dist/index.js
CHANGED
|
@@ -1435,6 +1435,7 @@ function createToolExecutor(config = {}) {
|
|
|
1435
1435
|
metrics.failedExecutions++;
|
|
1436
1436
|
metrics.totalDuration += duration;
|
|
1437
1437
|
metrics.averageDuration = metrics.totalDuration / metrics.totalExecutions;
|
|
1438
|
+
metrics.byPriority[priority]++;
|
|
1438
1439
|
onExecutionError?.(tool, input, error, duration);
|
|
1439
1440
|
throw error;
|
|
1440
1441
|
}
|