Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Raise the startup bundle budget for the modern toggles (#14322) (#14331)

Daniel Han617844a4ec92
diff --git a/studio/frontend/scripts/check-bundle-budget.ts b/studio/frontend/scripts/check-bundle-budget.ts
index 3436c6b9606..eaf614ce106 100644
--- a/studio/frontend/scripts/check-bundle-budget.ts
+++ b/studio/frontend/scripts/check-bundle-budget.ts
@@ -291,8 +291,12 @@ export const BUDGET = {
// 2,060,887 -> 2,061,025 B transfer against 6a19cb20b9, one machine and build, Node 24, 96 chunks), and #14228
// adds 95 B raw / 15 B transfer on top, measured at d3a82576a4 as 6,844,622 B raw / 2,061,040 B transfer. Raised
// to that build plus the same 160 B raw / 189 B transfer margin.
- transferBytes: 2_061_229,
- rawBytes: 6_844_782,
+ // The modern toggles (#14322) add 449 B raw / 86 B transfer (6,844,459 -> 6,844,908 B raw, 2,061,006 ->
+ // 2,061,092 B transfer against ad2fc0659c, one machine and build, Node 24, 96 chunks): switch.tsx is a shared UI
+ // primitive the startup set already carries. #14329 removed 163 B raw just before. Raised to that build plus the
+ // same 160 B raw / 189 B transfer margin.
+ transferBytes: 2_061_281,
+ rawBytes: 6_845_068,
};
// The chunk count is reported but not budgeted. Splitting a page out of the entry raises it while lowering the