diff --git a/libs/checkpoint-sqlite/langgraph/cache/sqlite/__init__.py b/libs/checkpoint-sqlite/langgraph/cache/sqlite/__init__.py index 258006c54..cd327bd48 100644 --- a/libs/checkpoint-sqlite/langgraph/cache/sqlite/__init__.py +++ b/libs/checkpoint-sqlite/langgraph/cache/sqlite/__init__.py @@ -111,7 +111,7 @@ class SqliteCache(BaseCache[ValueT]): async def aclear(self, namespaces: Sequence[Namespace] | None = None) -> None: """Asynchronously delete the cached values for the given namespaces. If no namespaces are provided, clear all cached values.""" - await asyncio.to_thread(self.delete, namespaces) + await asyncio.to_thread(self.clear, namespaces) def __del__(self) -> None: try: