InvokeAI/invokeai/app/api/routers
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
..
app_info.py Add ruff rule to disallow relative parent imports. 2024-07-04 09:35:37 -04:00
board_images.py Add ruff rule to disallow relative parent imports. 2024-07-04 09:35:37 -04:00
boards.py Merge branch 'main' into boards-ui-update 2024-07-08 22:06:26 -04:00
download_queue.py Add ruff rule to disallow relative parent imports. 2024-07-04 09:35:37 -04:00
images.py fix(api): image downloads with correct filename 2024-08-10 09:53:56 -04:00
model_manager.py [MM2] Use typed ModelRecordChanges for model_install() rather than untyped dict (#6645) 2024-07-23 21:41:00 +00:00
session_queue.py feat(app): add origin to session queue 2024-08-23 19:46:03 +10:00
style_presets.py fix(api): allow updating of type for style preset 2024-08-19 16:12:39 -04:00
utilities.py feat(api): add max_prompts constraints 2023-12-29 08:26:14 -05:00
workflows.py feat: workflow library (#5148) 2023-12-09 09:48:38 +11:00