[Feature Request]: Gracefully handle "Stop" button when streaming. #2318
Labels
enhancement
New feature or request
JS
Change/fix applies to JS. If all three, use the 'JS & dotnet & Python' label
.NET
Pull requests that update .net code
Python
Change/fix applies to Python. If all three, use the 'JS & dotnet & Python' label
Scenario
I'm using the JS SDK's
StreamingResponse
object to stream content to Teams. Here's a minimal repro to get streaming working usingStreamingResponse
:And in Teams a "Stop" button pops up will streaming is in progress like this:
When I click stop then I get this error in the console log:
Solution
Not sure what the solution is but there should be a way to gracefull handle this scenario in the
StreamingResponse
class itself.Additional Context
No response
The text was updated successfully, but these errors were encountered: