From eceb57e1a2682169a283460c827d7975f94e347a Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 5 Nov 2026 07:34:19 +0000 Subject: [PATCH] test(studio): allow the built-in memory in the effective view of the agent editor The effective view and the test chat list name the built-in memory. The provider guard reads that as an add-on name, so list the three files with the reason. Assisted-by: Claude:claude-sonnet-5-5 --- core/services/studio/providerguard/guard_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/services/studio/providerguard/guard_test.go b/core/services/studio/providerguard/guard_test.go index cd567d0db0..0709af700e 100644 --- a/core/services/studio/providerguard/guard_test.go +++ b/core/services/studio/providerguard/guard_test.go @@ -65,6 +65,9 @@ const ( var allowed = []entry{ {ui + "hooks/useToolGroups.js", "memory", "the switch group of the built-in memory"}, {ui + "utils/agentPresets.js", "'memory'", "the switch group of the built-in memory in the agent presets"}, + {ui + "utils/agentEffective.js", "memory", "the effective view lines of the built-in memory in the agent editor"}, + {ui + "utils/agentTryIt.js", "memory", "the list of what a test chat does not use, which includes the built-in memory"}, + {locales + "en/agents.json", "create.try.skip.memory", "the name of the built-in memory in the list of what a test chat skips"}, {ui + "utils/memoryState.js", "memory", "the switch group of the built-in memory"}, // The memory choice of an agent and the notes list belong to the built-in. {ui + "utils/memoryFiles.js", "memory", "the source of the built-in notes in the list of context files"},