package a2a-client

All checked builds pass
  1. Overview
  2. Docs
A2A (Agent2Agent) protocol client for OCaml 5 / Eio (v1.0, v0.3 compatible)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.3.0.tar.gz
md5=7bf58c1e200b0edbe84dc0f5d305dd2c
sha512=6c4f24e96ddea9a9c8664916323f1f8f3f970cf7714de2182cf849c8c0a983539b0364d019daf3648f42b1d90c357f69993b68c9df8117319709e2f415832c12

doc/a2a-client.testing/A2a_client_testing/Step/index.html

Module A2a_client_testing.StepSource

One step of a streamed response.

Sourcetype t

One SSE event carrying the response.

Sourceval error : A2a_client.Error.Code.t -> string -> t

One SSE event carrying an agent error.

Sourceval raw : string -> t

Bytes as they are, e.g. a comment line or a malformed event.

Sourceval sleep : float -> t

Pause for that many seconds of the clock given to agent.

Sourceval drop : t

The connection breaks: reading fails with an exception.

Sourceval hang : t

Nothing more arrives, until the reader is cancelled.