mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-04 23:38:47 +00:00
A broken state (or a model in a loop) can answer one token forever: #606 streamed 36,689 tokens of "!" for four minutes, because a request without max_tokens gets the whole remaining context. The server now ends such a reply at 256 identical tokens in a row with finish "length" and a line in its window saying what to do if it repeats on a new request. "repeat_stop_tokens": N in strata-<model>.json sets the run (0 = off). Nothing changes for a reply without such a run.