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

Method max_ctx

engine/src/split/src/engine.hpp:189–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187 const std::vector<int>& lane_history(int i) const { return i == cur_ ? history_ : lanes_[(size_t) i].history; }
188 int pos() const { return pos_; }
189 int max_ctx() const { return max_ctx_; }
190 const std::vector<int>& history() const { return history_; } // the tokens at positions 0 .. pos() - 1
191 // back to an empty sequence: the recurrent states and histories zeroed (K/V, QSA keys and the draft layer's cells
192 // are written again position by position before anything reads them)

Callers 3

draft_nextMethod · 0.80
readMethod · 0.80
generateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected