updating db storage and dependencies

This commit is contained in:
João Moura
2024-04-02 13:51:05 -03:00
parent 244458a1c9
commit 0abfcedda8
5 changed files with 136 additions and 108 deletions

View File

@@ -0,0 +1,12 @@
from pathlib import Path
import appdirs
def db_storage_path():
app_name = "crewai"
app_author = "CrewAI"
data_dir = Path(appdirs.user_data_dir(app_name, app_author))
data_dir.mkdir(parents=True, exist_ok=True)
return data_dir