fix(core): Correct absolute import of ai_client

This commit is contained in:
2026-03-07 21:09:16 -05:00
parent 87efbd1a12
commit 2f53f685a6

View File

@@ -1890,12 +1890,12 @@ class AppController:
self._update_cached_stats() self._update_cached_stats()
def _update_cached_stats(self) -> None: def _update_cached_stats(self) -> None:
import ai_client from src import ai_client
self._cached_cache_stats = ai_client.get_gemini_cache_stats() self._cached_cache_stats = ai_client.get_gemini_cache_stats()
self._cached_tool_stats = dict(self._tool_stats) self._cached_tool_stats = dict(self._tool_stats)
def clear_cache(self) -> None: def clear_cache(self) -> None:
import ai_client from src import ai_client
ai_client.cleanup() ai_client.cleanup()
self._update_cached_stats() self._update_cached_stats()