Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Report exceptions in SSE stream #2021

@srochiramani

Description

@srochiramani

Is your feature request related to a problem? Please describe.
For streaming functions (e.g. /run_sse), once the stream is started (http response code 200), there's no way currently to know if an error happened mid stream. This makes it hard to appropriately message to the user what might have happened.

Describe the solution you'd like
SSE error events would be perfect way to handle this. Exactly what this comment mentions.

Describe alternatives you've considered
No alternatives as far as I'm aware.

Metadata

Metadata

Assignees

Labels

bot triaged[Bot] This issue is triaged by ADK botlive[Component] This issue is related to live, voice and video chat

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions