open-agents-ai 0.186.46 → 0.186.47
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 +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8706,9 +8706,10 @@ process.on('unhandledRejection', (reason) => {
|
|
|
8706
8706
|
});
|
|
8707
8707
|
// Derive node specialties from model mix
|
|
8708
8708
|
var _capSpecialties = [...new Set(_capEnriched.map(function(m) { return m.specialty; }))];
|
|
8709
|
-
// Total VRAM from GPU metrics
|
|
8710
|
-
var
|
|
8711
|
-
var
|
|
8709
|
+
// Total VRAM from GPU metrics (nested under .gpu object)
|
|
8710
|
+
var _capGpu = _capMetrics && _capMetrics.gpu ? _capMetrics.gpu : {};
|
|
8711
|
+
var _capTotalVram = _capGpu.vramTotalMB || 0;
|
|
8712
|
+
var _capAvailVram = _capTotalVram > 0 ? Math.max(0, _capTotalVram - (_capGpu.vramUsedMB || 0)) : 0;
|
|
8712
8713
|
|
|
8713
8714
|
var announcement = {
|
|
8714
8715
|
type: 'capacity.announcement',
|
package/package.json
CHANGED