-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read-only file system: '/function/trained_agents_data.pkl' #858
Comments
FYI, I created a workaround, code below. @joaomdmoura maybe you can implement an official method of declaring an environment variable for where the Here is my workaround for the error mentioned above.
|
Summary: Ability to select where the pkl file gets saved when training a crew @lugfug Feel free to raise a PR with your monkey patch so the Devs can see it |
@pythonbyte might have context to help on this |
I'm running crewAI in a Docker container on an AWS Lambda Function, where the only writable directory path is
/tmp
.Since the update of crewAI, I'm now getting the following error.
OSError: [Errno 30] Read-only file system: '/function/trained_agents_data.pkl'
Is there an official method to set an environment variable for crewAI to define where it should save the
trained_agents_data.pkl
file?Thank you for a great product, crewAI is awesome!
The text was updated successfully, but these errors were encountered: