ExAthena.Streaming.Event (ExAthena v0.4.5)

Copy Markdown View Source

A single streaming event.

Summary

Types

t()

@type t() :: %ExAthena.Streaming.Event{
  data: term(),
  index: non_neg_integer() | nil,
  type: type()
}

type()

@type type() ::
  :start
  | :text_delta
  | :tool_call_start
  | :tool_call_delta
  | :tool_call_end
  | :usage
  | :stop
  | :error