mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
Clean up to match enterprise
This commit is contained in:
@@ -35,6 +35,4 @@ class CrewTrainingHandler(PickleHandler):
|
||||
def clear(self) -> None:
|
||||
"""Clear the training data by removing the file or resetting its contents."""
|
||||
if os.path.exists(self.file_path):
|
||||
with open(self.file_path, "wb") as file:
|
||||
# Overwrite with an empty dictionary
|
||||
self.save({})
|
||||
self.save({})
|
||||
|
||||
Reference in New Issue
Block a user