mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +00:00
Clean up to match enterprise (#2009)
* Clean up to match enterprise * improve feedback prompting
This commit is contained in:
committed by
GitHub
parent
477cce321f
commit
ddb7958da7
@@ -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