Skip to content

Self-hosted AI workspace.

Python

fix(tool_index): add manage_memory to ALWAYS_AVAILABLE

Dan (cirim)2b4727cc39ae
diff --git a/src/tool_index.py b/src/tool_index.py
index 506e55db4..a62c9d7d3 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