azure-search-openai-demo
azure-search-openai-demo copied to clipboard
Allow content to stream when window loses focus
This isn't really a bug, possibly more so a feature request?
When the chat content is being streamed to the UI and updateState is called, if you switch to another window/tab the content will stop streaming and only resume when the window regains focus. I assume the browser is suspending the script execution? Is there a way around this? ChatGPT handles this well...