When the "thinking" sound is being played, it was preventing (or significantly delaying) playback of an audio file because it causes a "play next?" check to fail
When you start a brand new conversation (from /new) the first submit takes you to a new URL and does not do a turbo morph but a turbo advance. If the response was short in this case, then no streaming would occur because it would all be present instantly and this would cause playback to be missed. I turned this into a replace action (since we don't want "back" to take you to the previous step in the conversation) and added an extra event listener for this.
Adding a visual indicator that a disconnection has occurred.
The notable fixes in here are:
replace
action (since we don't want "back" to take you to the previous step in the conversation) and added an extra event listener for this.