get_data_dir
Function
This function is defined in the paths module.Get PraisonAI data directory. Priority:
- PRAISONAI_HOME env var
- ~/.praisonai/ (default)
- ~/.praison/ (legacy fallback with warning)
Signature
Returns
Path to data directory
Usage
Uses
expanduserPathPath.homenew_path.existslegacy_path.existswarnings.warn
Used By
Source
View on GitHub
praisonaiagents/paths.py at line 53
