fix(core): Correct absolute import of ai_client
This commit is contained in:
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user