Replies: 2 comments
-
|
Hi @TWebster, thanks for the question. Your current code relies on input(), which is a blocking console operation and won't work with DevUI's web interface. For human-in-the-loop scenarios, you'll want to use our request/response pattern instead. See our "Requests and Responses" documentation for how to implement this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
The spam_workflow sample gives an example of HITL with DevUI. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried a simple example to find out if the UI can take HITL input from a step in the middle of workflow instead of the start, and wasn’t able to do this. Is this something supported by DevUI? Please see example, a slightly modified in memory example. When it runs, the user is prompted from command line, not the UI. Please note the get_human_input executor added.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions