diff --git a/internal/cli/settings_parity_test.go b/internal/cli/settings_parity_test.go index 7de46c406..0667b8528 100644 --- a/internal/cli/settings_parity_test.go +++ b/internal/cli/settings_parity_test.go @@ -230,6 +230,7 @@ var cliForRoute = map[string]string{ "POST /api/update/check": "magpie update check", "POST /api/settings/agent-compact": "magpie model compact", "POST /api/settings/agent-suffix": "magpie model suffix", + "POST /api/settings/context-cap": "magpie model context-cap", "POST /api/update/install": "magpie update", "GET /api/model-price": "magpie model price", "POST /api/model-price": "magpie model price", @@ -332,6 +333,7 @@ var notYet = map[string]string{ "GET /api/plugins/builtin": P, // builtins.go "POST /api/plugins/builtin": P, // builtins.go "GET /api/plugins/counts": P, // plugins_counts.go: Discover's installs and likes + "GET /api/catalog/models": P, // catalog_models.go: the model editor's Same as picker "POST /api/plugins/like": P, // plugins_counts.go "GET /api/library/browser": L, // browser.go "POST /api/library/browser/setup": L, // browser.go diff --git a/internal/gui/settings_keep_test.go b/internal/gui/settings_keep_test.go index f6bbe0faf..12859932a 100644 --- a/internal/gui/settings_keep_test.go +++ b/internal/gui/settings_keep_test.go @@ -213,6 +213,7 @@ func TestSettingsSaveKeepsWhatItDoesNotSend(t *testing.T) { was.ProxyCustom = "http://me:secret@proxy.example:8080" was.PluginProxyCustom = "http://me:secret@plugins.example:8080" was.PanelShortcut = "Ctrl+Alt+K" + was.ContextCap = 200000 // its own route, POST /api/settings/context-cap was.SearcherThen = []string{"fake/m1", "fake/m2"} // set in its own row was.RouterNote = "Los Angeles" // the Library's servers/hub-note was.RouterAllTools = true // the Library's servers/hub-tools