Skip to content

Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.

gui: the core script budget makes room for Settings › Privacy's local model, and a Settings save keeps it (#1977)

yetone2fd5529479bd
diff --git a/internal/gui/core_budget_test.go b/internal/gui/core_budget_test.go
index 53375637e..1bce01160 100644
--- a/internal/gui/core_budget_test.go
+++ b/internal/gui/core_budget_test.go
@@ -16,7 +16,7 @@ import (
// raises them and says why in its commit.
const (
appScriptBudget = 1_269_000 // app.js: 1,198,239 after Usage left (P2); 1,218,098 with the 10-15 fixes to pages still in the core; 1,232,466 with the provider editor's Advanced fold and every dialog holding its place, the core's own (10-16); 1,250,533 with the quota refresh kept through redraws, the core's own since the tray panel draws it too, plus 1.5% (#2397)
- coreScriptBudget = 1_447_000 // every core script: 1,358,034 after Usage left; 1,380,003 with them; 1,405,937 with the fold; 1,426,102 with 10-16's core work (the GitHub list loading, the move to plugins, Settings › Long conversations), plus 1.5% (#2612)
+ coreScriptBudget = 1_472_000 // every core script: 1,358,034 after Usage left; 1,380,003 with them; 1,405,937 with the fold; 1,426,102 with 10-16's core work (the GitHub list loading, the move to plugins, Settings › Long conversations); 1,449,953 with Settings › Privacy's local model, the core's own as masking is (#1977), plus 1.5%
)
func TestCoreScriptBudget(t *testing.T) {
diff --git a/internal/gui/settings_keep_test.go b/internal/gui/settings_keep_test.go
index 937c581a7..237709662 100644
--- a/internal/gui/settings_keep_test.go
+++ b/internal/gui/settings_keep_test.go
@@ -177,6 +177,7 @@ func TestSettingsSaveKeepsWhatItDoesNotSend(t *testing.T) {
GatewayMode: "off",
QuotaReads: "asked",
NoAccountDiscovery: true,
+ RedactModel: true,
}
was.DesktopSubagentEffort = "high"
was.CodexAsyncCompact, was.CodexAsyncCompactPercent = true, 70