Skip to content

LLMClient.executeStreaming swallows connection exceptions #853

@OKatrych

Description

@OKatrych

If the internet connection is interrupted during the streaming session, the Flow just finishes without throwing any exception.
I think this is connected to Ktor SSE logic, and by default, it doesn't throw connection errors.

Looking for possible workarounds here, not sure if it's possible to do anything from the Koog side.

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