mirror of
https://github.com/ollama/ollama.git
synced 2026-03-27 02:58:43 +07:00
Add periodic snapshots every 8k tokens and near the end of the prompt so that long prompts can be partially restored and thinking/generation can be retried without full reprocessing.