Skip to main content

run_remote

Function run_remote 

Source
pub(crate) fn run_remote(
    state: &AppState,
    who: &str,
    req: AgentEnvRequest,
) -> Result<Value, (StatusCode, String)>
Expand description

env_get or env_set for an agent on another machine (remote_ops::agent_ops): the same rules and write a local call has, recorded under who (slug@machine). The agent must be named: a remote caller has no definition here to default to.