diff --git a/src/crewai/memory/long_term/long_term_memory.py b/src/crewai/memory/long_term/long_term_memory.py index 9d63007e40..13ba1f1f5d 100644 --- a/src/crewai/memory/long_term/long_term_memory.py +++ b/src/crewai/memory/long_term/long_term_memory.py @@ -16,7 +16,7 @@ class LongTermMemory(Memory): """ def __init__(self, storage: Storage=None): - storage = storage if storage esle LTMSQLiteStorage() + storage = storage if storage else LTMSQLiteStorage() super().__init__(storage) def save(self, item: LongTermMemoryItem) -> None: # type: ignore # BUG?: Signature of "save" incompatible with supertype "Memory"