MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / reset_continued

Method reset_continued

server/src/server/disk_prefix_cache.h:138–138  ·  view source on GitHub ↗

Reset the continued-store tracking (call at start of each request).

Source from the content-addressed store, hash-verified

136 // Save the snapshot in `slot` to disk, keyed by prompt_ids.
137 // Returns true on success.
138 bool save(int slot, const std::vector<int32_t> & prompt_ids);
139
140 // Check if a continued checkpoint should be saved after generation.
141 // `all_tokens` = prompt + generated tokens, `cur_pos` = final position.

Callers 1

Calls

no outgoing calls

Tested by 1