APIs ‐ Workflows - altoiddealer/ad_discordbot GitHub Wiki
Workflows are for executing custom logic beyond default Endpoint behaviors (ei: add additional post-processing from a 'post_txt2img' endpoint call).
Works similarly to response_handling
, using StepExecutor
Workflows are not applicable for "Main functions".
run_workflow
Tag
The primary usage is via the Tags system, via the run_workflow
tag.
Arguments:
Parameter | Description |
---|---|
name | The name of the workflow |
queue_to | Optional: The name of the task queue the bot should process this in. Valid options: message_queue , history_queue , gen_queue , normal_queue |
Screenshot from dict_tags.yaml
Screenshot from dict_api_settings.yaml