Skip to main content

get_session_spill_dir

Function
This function is defined in the paths module.
Get the session spill directory (last-resort salvage on write failure). When a durable session write fails (disk-full / corruption / permission), the already-produced turn is spilled here atomically and re-ingested on the next load (Issue #3597).

Signature

Returns

Path
Path to ~/.praisonai/state/session_spill/

Uses

  • get_data_dir

Source

View on GitHub

praisonaiagents/paths.py at line 120

Session Management

Sessions Feature

Session Persistence