Skip to content

Commit

Permalink
Update packages/module/patternfly-docs/content/extensions/virtual-ass…
Browse files Browse the repository at this point in the history
…istant/examples/ChatbotFooter/ChatbotFooter.md

Co-authored-by: Erin Donehoo <[email protected]>
  • Loading branch information
rebeccaalpert and edonehoo committed Oct 30, 2024
1 parent 04d693a commit 7c2c1a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Attachments can also be added to the chatbot via [drag and drop.](/patternfly-ai

### Message bar with stop button

If you are using streaming, you may wish to allow users to stop a response from a chatbot.
If you are using streaming, you can add a stop button to the message bar that allows users to stop a response from a chatbot.

Setting `hasStopButton` to true and passing in a `handleStopButton` callback function will enable the stop button. You can use this callback to trigger an [AbortController](https://developer.mozilla.org/en-US/docs/Web/API/AbortController) configured as part of your API call.

Expand Down

0 comments on commit 7c2c1a0

Please sign in to comment.