It would be nice if the tools we usually use for LLMs had a bit more programmability. In this example, It we could imagine being able to chunk up work by processing a few items, then reverting to a previous saved LLM checkpoint of state, and repeating until the list is complete.
I imagine that the cost of saving & loading the current state must be prohibitively high for this to be a normal pattern, though.