InvokeAI/invokeai/app/api
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
..
routers feat(app): add origin to session queue 2024-08-23 19:46:03 +10:00
dependencies.py Merge remote-tracking branch 'origin/main' into maryhipp/style-presets 2024-08-12 14:53:45 -04:00
no_cache_staticfiles.py fix(api): typo in no_cache_staticfiles.py 2024-01-22 16:10:25 +11:00
sockets.py fix(events): typing for download event handler 2024-05-27 11:13:47 +10:00