The replay budget was fixed at half of an assumed 128k window, so a small local model was still handed more history than it accepts. A model now carries the context window and output limit the published catalogue gives it, read once into the state directory and cached on disk. Chat holds its replay to the window minus the reply and an eighth for the system prompt and tools, and keeps the assumed budget only for a model the catalogue publishes nothing about.
252 KiB
252 KiB