complete abstract method

Streams a completion. The stream emits a AgentSdkTrailed for every event in order — text in LlmTextDeltas — and a AgentSdkLiveness whenever the far end is alive and says nothing the trail records. It closes on completion, after LlmRunEnded when the far end reported its end, and emits a LlmTransportException as its error.

Cancelling the subscription aborts the remote completion. The transport applies no stall bound — the provider does, over this stream, for every transport alike (see the library comment).

Implementation

Stream<AgentSdkCompletionEvent> complete(AgentSdkCompletionRequest request);