mirror of
https://github.com/ollama/ollama.git
synced 2025-10-10 02:14:06 +02:00
The context must always be able to store the current batch, so if the user requests a small context then we should also shrink the batch to match. This also fixes the TestLongInputContext test on the new engine. (The old engine already has this behavior.)