mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-10-04 12:31:32 +00:00
e1695b7836
The model marks its trailing confirmation question with a [[confirm]] line. We split that off and send it as its own chat bubble so the widget reads like a real conversation. The customer never sees the marker. Email is left as one combined message since separate bubbles only suit the widget. Confirmation messages are tagged with is_confirmation in meta so they no longer inflate the reply count in assistant stats. Keep the widget typing indicator alive during long agent runs by re-broadcasting every 3s, under the widget's 5s typing expiry. Fix the AI assistant and tool edit forms to stay on the page after save. They now only go back to the list when creating, matching the rest of the admin forms.