From 030820f1c36e6503e2c9dd0c02ad7c68e21baa36 Mon Sep 17 00:00:00 2001 From: Akeen Karkare Date: Thu, 20 Nov 2025 19:10:48 -0500 Subject: [PATCH] Fix cache_manager method name in admin endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed get_stats() to get_cache_stats() to match CacheManager's actual method name. This fixes the cache viewer error: 'CacheManager' object has no attribute 'get_stats' 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- scripts/fastapi/routes/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/fastapi/routes/admin.py b/scripts/fastapi/routes/admin.py index 0416c11..d568a39 100644 --- a/scripts/fastapi/routes/admin.py +++ b/scripts/fastapi/routes/admin.py @@ -174,7 +174,7 @@ async def get_cache_status( from wal_manager import wal_manager # Get cache stats - cache_stats = cache_manager.get_stats() + cache_stats = cache_manager.get_cache_stats() # Get WAL stats wal_stats = wal_manager.get_stats()