Skip to main content

agent_config_with

Function agent_config_with 

Source
pub fn agent_config_with(
    config: &ServerConfig,
    command_usage: &[String],
) -> Result<SupervisorConfig, StartError>
Expand description

The supervising agent’s configuration, as Server::start_with_usage composes it: agent_config’s, handing each turn the usage, out of command_usage, of TURN_READS and of each action the configured envelope grants the agent — what a check acts with, and no command it cannot ask for.

§Errors

The same as agent_config.