chore: improve reset memory feedback

Previously, even when no memories were actually erased, we logged that they had been. From now on, the log will specify which memory has been reset.
This commit is contained in:
Lucas Gomide
2025-05-01 12:51:35 -03:00
parent 7832346de4
commit 7e20495632
3 changed files with 4 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ def test_reset_all_memories(mock_get_crew, runner):
result = runner.invoke(reset_memories, ["-a"])
mock_crew.reset_memories.assert_called_once_with(command_type="all")
assert result.output == "All memories have been reset.\n"
assert result.output == "Reset memories command has been completed.\n"
@mock.patch("crewai.cli.reset_memories_command.get_crew")