a2a-client.testing
A2a_client_testing.Step
One step of a streamed response.
a2a-client
type t
val event : A2a_client.Stream_response.t -> t
One SSE event carrying the response.
val error : A2a_client.Error.Code.t -> string -> t
One SSE event carrying an agent error.
val raw : string -> t
Bytes as they are, e.g. a comment line or a malformed event.
val sleep : float -> t
Pause for that many seconds of the clock given to agent.
agent
val drop : t
The connection breaks: reading fails with an exception.
val hang : t
Nothing more arrives, until the reader is cancelled.