From 911fd611009a4522a02aeb3c6a4abbd870944554 Mon Sep 17 00:00:00 2001 From: "Dan (cirim)" Date: Wed, 3 Jun 2026 20:32:51 +1000 Subject: [PATCH] fix(tool_index): add manage_memory to ALWAYS_AVAILABLE --- src/tool_index.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tool_index.py b/src/tool_index.py index 506e55d..a62c9d7 100644 --- a/src/tool_index.py +++ b/src/tool_index.py @@ -34,6 +34,10 @@ ALWAYS_AVAILABLE = frozenset({ "list_served_models", "stop_served_model", # Generic API loopback — the catch-all when no named tool fits. "app_api", + # Memory is ambient — "remember this" can follow any message regardless + # of topic. Without this, RAG drops it and the agent falls back to + # app_api /api/memory/add which fails with 422 on first attempt. + "manage_memory", }) # Tools that the Personal Assistant always has access to during scheduled