mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
Fix remaining type checking issues
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -65,8 +65,8 @@ class EntityMemory(Memory):
|
||||
def save(
|
||||
self,
|
||||
value: Any,
|
||||
metadata: Dict[str, Any] = None,
|
||||
agent: str = None,
|
||||
metadata: Optional[Dict[str, Any]] = None,
|
||||
agent: Optional[str] = None,
|
||||
) -> None:
|
||||
"""Saves an entity item or value into the storage."""
|
||||
if isinstance(value, EntityMemoryItem):
|
||||
|
||||
@@ -54,8 +54,8 @@ class LongTermMemory(Memory):
|
||||
def save(
|
||||
self,
|
||||
value: Any,
|
||||
metadata: Dict[str, Any] = None,
|
||||
agent: str = None,
|
||||
metadata: Optional[Dict[str, Any]] = None,
|
||||
agent: Optional[str] = None,
|
||||
) -> None:
|
||||
"""Saves a value into the memory."""
|
||||
if isinstance(value, LongTermMemoryItem):
|
||||
|
||||
Reference in New Issue
Block a user