Documentation
¶
Overview ¶
Package stream provides event streaming for real-time observability.
Index ¶
Constants ¶
View Source
const ( EventNodeStart = "node_start" EventNodeEnd = "node_end" EventEdgeTransition = "edge_transition" EventToolCall = "tool_call" EventToolResult = "tool_result" EventModelCall = "model_call" EventModelResponse = "model_response" EventCheckpoint = "checkpoint" EventInterrupt = "interrupt" EventCompleted = "completed" EventError = "error" )
Standard event types published during graph and agent execution.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
Broker manages SSE subscribers.
func (*Broker) SSEHandler ¶
func (b *Broker) SSEHandler(subscriptionID string) http.HandlerFunc
SSEHandler returns an HTTP handler that streams events to the client.
func (*Broker) Unsubscribe ¶
Unsubscribe removes a subscription.
Click to show internal directories.
Click to hide internal directories.