MCPcopy Create free account
hub / github.com/Niko1221/Strata / reload

Method reload

engine/src/split/src/session.cpp:342–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342void Session::reload(const Engine::SeqState& s) {
343 e_.use_lane(lane_);
344 if (e_.pos() != 0) throw std::runtime_error("session: reload onto a lane that holds a conversation");
345 e_.load_state(s);
346 live_ = Conv{};
347 live_.len = s.tokens.size();
348 live_.used = ++cache_->clock;
349}
350
351// least recently used parked conversations out until the held states and `need` more fit the budget
352void Session::evict(size_t need) {

Callers 14

waitFunction · 0.45
resume_pausedMethod · 0.45
ui-flows.mjsFile · 0.45
surveyFunction · 0.45
SidebarUpdateCardFunction · 0.45
language-shots.mjsFile · 0.45
task-flow-s4b.mjsFile · 0.45
flow.mjsFile · 0.45
ui-do-drive.mjsFile · 0.45
files-shots.mjsFile · 0.45
agent-flow.mjsFile · 0.45
loopBudgetFunction · 0.45

Calls 2

posMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected