Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#101107)

hermes-seaeye[bot]fbd40c907d75
diff --git a/apps/desktop/src/app/shell/model-catalog-menu.tsx b/apps/desktop/src/app/shell/model-catalog-menu.tsx
index 295993918fa..3cde3cd229c 100644
--- a/apps/desktop/src/app/shell/model-catalog-menu.tsx
+++ b/apps/desktop/src/app/shell/model-catalog-menu.tsx
@@ -502,6 +502,7 @@ export function ModelCatalogMenu({
const isCurrent = activeId !== null
const name = modelDisplayParts(family.id).name
const caps = group.provider.capabilities?.[family.id]
+
// Managed local model loading into memory right now:
// real load percent, keyed by exact model id (remote
// providers never collide with GGUF stems).
diff --git a/apps/desktop/src/app/shell/system-resources-statusbar.tsx b/apps/desktop/src/app/shell/system-resources-statusbar.tsx
index 0395474d6e5..b4de1621069 100644
--- a/apps/desktop/src/app/shell/system-resources-statusbar.tsx
+++ b/apps/desktop/src/app/shell/system-resources-statusbar.tsx
@@ -103,6 +103,7 @@ export function useSystemResourcesStatusbarItem(): StatusbarItem {
: null
const ramUsed = hardware ? hardware.ram_total_bytes - hardware.ram_available_bytes : null
+
const ramPercent =
hardware?.ram_total_bytes && ramUsed != null ? Math.round((ramUsed / hardware.ram_total_bytes) * 100) : null