ChildRef

org.llm4s.agent.delegation.ChildRef
See theChildRef companion object
@Experimental
final case class ChildRef(threadId: ThreadId, runId: RunId, agent: AgentId, toolCallId: Option[ToolCallId], depth: Int)

The child run a delegated task ran as (design 4.44): its thread, the run that produced the outcome, the subagent's id, the parent's tool call that started it, and its depth - 1 for a child of a top-level thread. A child run with no parent (BoundAgent.run) has depth 0 and no toolCallId.

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product