InvokeAI/invokeai/app/services/models
psychedelicious f31e62afad feat(nodes): make list images route use offset pagination
Because we dynamically insert images into the DB and UI's images state, `page`/`per_page` pagination makes loading the images awkward.

Using `offset`/`limit` pagination lets us query for images with an offset equal to the number of images already loaded (which match the query parameters).

The result is that we always get the correct next page of images when loading more.
2023-05-28 20:19:56 -04:00
..
image_record.py feat(nodes): make list images route use offset pagination 2023-05-28 20:19:56 -04:00