NornsSdk.StreamEvent (norns_sdk v0.1.0)

Copy Markdown View Source

A single event delivered to a subscriber by NornsSdk.Client.stream/4.

type is the event name broadcast by the agent (e.g. "llm_response", "tool_call", "tool_result", "completed", "error") and data is the event payload.

Summary

Types

t()

@type t() :: %NornsSdk.StreamEvent{data: map(), type: String.t()}