Update reset_memories_command.py (#974)

This commit is contained in:
ResearchAI
2024-07-27 05:40:47 +08:00
committed by GitHub
parent 5627159419
commit 2b7a0b3342

View File

@@ -9,10 +9,14 @@ from crewai.utilities.task_output_storage_handler import TaskOutputStorageHandle
def reset_memories_command(long, short, entity, kickoff_outputs, all) -> None: def reset_memories_command(long, short, entity, kickoff_outputs, all) -> None:
""" """
Replay the crew execution from a specific task. Reset the crew memories.
Args: Args:
task_id (str): The ID of the task to replay from. long (bool): Whether to reset the long-term memory.
short (bool): Whether to reset the short-term memory.
entity (bool): Whether to reset the entity memory.
kickoff_outputs (bool): Whether to reset the latest kickoff task outputs.
all (bool): Whether to reset all memories.
""" """
try: try: