Expand description
One model store over either backend: an embedded Mentat file (a path) or
a Postgres-hosted model (postgres://…?model=<name>).
The GUI, TUI, CLI and server open models through Store::open; every
method delegates to improv_storage_mentat::ModelStore or
improv_storage_pg::PgModelStore, which share one surface.
Structs§
- Save
Token - What a store handle last loaded or saved, carried to the next handle (see
Store::save_token).Defaultis “nothing loaded”: the save writes the whole model unchecked.
Enums§
- Store
- A model store: Mentat file or Postgres model.
- Store
Error - Either backend’s error. Callers match
StoreError::Conflictfor the “reload and retry” path; everything else is reported as text.
Functions§
- is_
postgres - True when
targetnames a Postgres-hosted model rather than a file.