mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-05 20:13:23 -05:00
test(memory): list the memory choice among the names the guard allows
The memory choice of an agent names the built-in memory in the agent form, the notes list and the agent delete. The add-on name guard flagged those four lines after the previous commit. Assisted-by: Claude:claude-sonnet-5-5
This commit is contained in:
1 file changed
+4
@@ -65,6 +65,10 @@ const (
|
||||
var allowed = []entry{
|
||||
{ui + "hooks/useToolGroups.js", "memory", "the switch group of the built-in memory"},
|
||||
{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"},
|
||||
{ui + "pages/AgentCreate.jsx", "memory", "the memory choice of the agent form and the icon of its section: the built-in memory"},
|
||||
{"core/http/endpoints/studio/agents.go", "memory", "the memory query of the agent delete: what to do with the notes of the built-in memory"},
|
||||
// Memory is built into the host. The add-on of that name is the alias of
|
||||
// the built-in: its index files and skills are the host's now, and the
|
||||
// host ignores its copies.
|
||||
|
||||
Reference in new issue
Block a user