Skip to content

[Feature] Support for EventSource #703

@ochrons

Description

@ochrons

Is there an existing issue for this?

  • I have searched the existing issues

Description

The Worker platform already supports EventSource but it's not exposed in the Rust API.

Most LLM APIs provide a way to stream responses using SSE, so having support for this would make it simpler to manage those streams in Rust. Currently we need to implement our own stream handling to go from bytes to SSE events.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions