asToolResultMessage

fun asToolResultMessage(condition: SimpleCondition<ReceivedToolResult> = { true }): FullAgentEdgeBuilder<IncomingOutput, ERROR CLASS: Symbol not found for Message.User, OutgoingInput>(source)

Creates an edge that transforms an intermediate output into a Message.User using the provided transform.

Parameters

condition

A predicate that filters which ReceivedToolResult entries are included in the message.