Clean up to match enterprise (#2009)

* Clean up to match enterprise

* improve feedback prompting
This commit is contained in:
Brandon Hancock (bhancock_ai)
2025-01-30 18:16:10 -05:00
committed by GitHub
parent 477cce321f
commit ddb7958da7
3 changed files with 13 additions and 6 deletions

View File

@@ -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({})