DelegationPlan

org.llm4s.agent.delegation.DelegationPlan
See theDelegationPlan companion object
@Experimental
final case class DelegationPlan

What an agent's subagents run with (design 4.45), as Agent.delegation gives it: a plain data value, built by AgentBuilder.build() from the same inputs the subagents are compiled from, so it shows what runs. Its toString is one line per subagent and nested subagent, for logs.

Value parameters

subagents

every subagent of every agent of the family, in the order each agent declares them

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def find(parent: AgentId, id: AgentId): Option[SubagentPlan]

The subagent id of the family's agent parent; a nested subagent is found in its parent's subagents.

The subagent id of the family's agent parent; a nested subagent is found in its parent's subagents.

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product