mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-06 16:29:04 +00:00
A prompt that does not continue the conversation in the model first sets that one aside (position, window rings, compressor partial groups, each KV source's compressed KV and index keys, its checkpoints), then takes back the kept conversation it does continue, in RAM or from the slot folder, also across restarts. The latest checkpoint the prompt still agrees with is used (end of the last prompt, before it, the anchor of the first prompt of a run, and the shared start the server marks with pin=N). The .meta format and the prefix matching are in ds4_slotmeta.hpp with a GPU-free test (ds4_slot_test). STRATA_DS4_REUSE=0 reads every request from token 0 (reference for tests). Off unless STRATA_DS4_SLOT_KEEP=1.