Class SeclaiStreamingError

Thrown when a streaming operation fails (e.g. stream ends unexpectedly), or when a run helper stops waiting before the run finished.

Hierarchy (View Summary)

Constructors

Properties

Constructors

Properties

run: undefined | {}

Set by runStreamingAgentAndWait() and runAgentAndPoll() to the latest run they had, if any (when it has result_reported_at set, its output is the answer). The run may still be in progress, and can still fail.

runId: undefined | string

The run ID associated with the failed stream, when available.