InvokeAI/invokeai/app/services/shared
psychedelicious 6e5ff7b79c 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-23 19:46:03 +10:00
..
sqlite feat(app): add origin to session queue 2024-08-23 19:46:03 +10:00
sqlite_migrator feat(app): add origin to session queue 2024-08-23 19:46:03 +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 replace load_and_cache_model() with load_remote_model() and load_local_odel() 2024-06-07 14:12:16 +10:00
pagination.py feat(api): chore: pydantic & fastapi upgrade 2023-10-17 14:59:25 +11:00