h2oai / wave

Realtime Web Apps and Dashboards for Python and R
https://wave.h2o.ai
Apache License 2.0
3.98k stars 327 forks source link

fix: Do not append text input into messages when stopping the generation #2023

Closed marek-mihok closed 1 year ago

marek-mihok commented 1 year ago

This PR fixes the issue where text input content was appended into messages after clicking on the Stop generating button in the chatbot_events_stop.py tour example.

https://github.com/h2oai/wave/assets/23740173/c163f25a-bae4-4bf0-9f0d-48d762b7b7a5