We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfc9a09 commit e62a6f6Copy full SHA for e62a6f6
1 file changed
src/hawk/memory_tools.py
@@ -49,9 +49,7 @@ def __init__(self, client: Any, *, session_id: str | None = None) -> None:
49
self._session_id = session_id
50
self._local_memories: list[dict[str, str]] = []
51
self._backend: MemoryBackend | None = (
52
- client
53
- if hasattr(client, "remember") and hasattr(client, "recall")
54
- else None
+ client if hasattr(client, "remember") and hasattr(client, "recall") else None
55
)
56
57
def record_memory(
0 commit comments