Get Cache Dir • AI Agent SDK

get_cache_dir: Get cache directory (disposable data).

get_cache_dir

Function

</div>

This function is defined in the paths module.

Get cache directory (disposable data).

Under a single-root install this is `&lt;root&gt;/cache; on a fresh install it resolves to $XDG_CACHE_HOME/praisonai (else ~/.cache/praisonai`).

Signature

python
def get_cache_dir() -> Path

Returns

ResponseField Path

Path to cache directory

Used By

Source

View on GitHub

praisonaiagents/paths.py at line 352


Related Documentation