Skip to main content

migrate_legacy

Function migrate_legacy 

Source
pub fn migrate_legacy(
    workspace: &Path,
    remove_legacy: bool,
) -> Result<MigrationReport, SessionStoreError>
Expand description

Migrate legacy history/trajectory stores into the unified session store.

When remove_legacy is true, the now-imported history/ and logs/ directories are deleted (the checkpoints/ directory is preserved).