There are two polls going on from the Web UI's side. 1. When a user chats, a "responsive" polling is triggered. This stops when the response from the bot is returned to the UI. 2. in chat_ui.html the JS script polls the BE for "ad hoc" messages. Ideally we'd want this to also use htmx (we use this for other UI stuff). This is to refactor that piece of code to use htmx
There are two polls going on from the Web UI's side. 1. When a user chats, a "responsive" polling is triggered. This stops when the response from the bot is returned to the UI. 2. in chat_ui.html the JS script polls the BE for "ad hoc" messages. Ideally we'd want this to also use htmx (we use this for other UI stuff). This is to refactor that piece of code to use htmx