agent_supervisor
Root supervisor for the agent daemon. Coordinates service and gateway supervisors for startup/shutdown/health.
Types
pub type State {
State(
services: supervisor.SupervisorState,
gateways: supervisor.SupervisorState,
)
}
Constructors
-
State( services: supervisor.SupervisorState, gateways: supervisor.SupervisorState, )
Values
pub fn start(
db_path: String,
conn: sqlight.Connection,
completions_client: completions.Client,
tool_defs: List(completions.ToolDefinition),
tools: List(tool.Tool),
max_rounds: Int,
persona: String,
user_key: String,
) -> Result(State, String)
Start the full supervision tree.