reset method

void reset()

Clears the conv histories so the next call starts a new sequence. KV cache rows are overwritten before they are read, so they need no reset.

Implementation

void reset() {
  for (final conv in _conv) {
    conv?.history.fillRange(0, conv.history.length, 0);
  }
}