mix llm_db.history.sync (LLM DB v2026.3.0)

Copy Markdown View Source

Incrementally syncs model history from committed provider snapshots.

This task reads priv/llm_db/history/meta.json when present and appends only events for commits after to_commit. If history does not exist yet, it performs an initial full backfill into the output directory.

Usage

mix llm_db.history.sync
mix llm_db.history.sync --to HEAD
mix llm_db.history.sync --output-dir priv/llm_db/history

Options

  • --to - End commit SHA/ref (default: HEAD)
  • --output-dir - Directory for generated history files (default: priv/llm_db/history)