MCPcopy
hub / github.com/google/ax / OutputHandler

FuncType OutputHandler

internal/agent/agent.go:27–27  ·  view source on GitHub ↗

OutputHandler is a callback function that handles output content from an agent. It is called for each piece of content the agent generates.

func(outgoing *proto.AgentOutputs) error

Source from the content-addressed store, hash-verified

25// OutputHandler is a callback function that handles output content from an agent.
26// It is called for each piece of content the agent generates.
27type OutputHandler func(outgoing *proto.AgentOutputs) error
28
29type Executor interface {
30 Exec(ctx context.Context, conversationID string, execID string, start *proto.AgentStart, o OutputHandler) (proto.State, error)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected