InvokeAI/invokeai/app/services/shared
psychedelicious b939192b16 feat(app): add origin to session queue
The origin is an optional field indicating the queue item's origin. For example, "canvas" when the queue item originated from the canvas or "workflows" when the queue item originated from the workflows tab. If omitted, we assume the queue item originated from the API directly.

- Add migration to add the nullable column to the `session_queue` table.
- Update relevant event payloads with the new field.
- Add `cancel_by_origin` method to `session_queue` service and corresponding route. This is required for the canvas to bail out early when staging images.
- Add `origin` to both `SessionQueueItem` and `Batch` - it needs to be provided initially via the batch and then passed onto the queue item.
-
2024-08-30 22:18:48 +10:00
..
sqlite feat(app): add origin to session queue 2024-08-30 22:18:48 +10:00
sqlite_migrator feat(app): add origin to session queue 2024-08-30 22:18:48 +10:00
__init__.py feat(backend): organise service dependencies 2023-10-12 12:15:06 -04:00
graph.py chore: ruff E721 2024-06-28 10:36:05 +10:00
invocation_context.py Run ruff 2024-08-26 20:17:50 -04:00
pagination.py feat(api): chore: pydantic & fastapi upgrade 2023-10-17 14:59:25 +11:00