You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A caller must now use `prompt: true` to enable prompting of the user.
This explicit opt-in ensures a caller knows they are required to handle
the prompt event. If a prompt event occurs when a caller has not
explicitly opted-in, then the run fails with an error.
Signed-off-by: Donnie Adams <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+56-1Lines changed: 56 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ None of the options is required, and the defaults will reduce the number of call
33
33
-`inlcudeEvents`: Whether to include the streaming of events. Default (false). Note that if this is true, you must stream the events. See below for details.
34
34
-`chatState`: The chat state to continue, or null to start a new chat and return the state
35
35
-`confirm`: Prompt before running potentially dangerous commands
Using the `Prompt: true` option allows a script to prompt a user for input. In order to do this, a caller should look for the `Prompt` event. This also means that `IncludeEvent` should be `true`. Note that if a `Prompt` event occurs when it has not explicitly been allowed, then the run will error.
0 commit comments