SubAgent

constructor(name: String, description: String, backend: (ToolApprover) -> ChatBackend)(source)

Parameters

backend

builds the delegate's backend for one delegation, given the approver of the enclosing chat (its tools ask the same user).