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
| 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. |
| 27 | type OutputHandler func(outgoing *proto.AgentOutputs) error |
| 28 | |
| 29 | type Executor interface { |
| 30 | Exec(ctx context.Context, conversationID string, execID string, start *proto.AgentStart, o OutputHandler) (proto.State, error) |
nothing calls this directly
no outgoing calls
no test coverage detected