fn apply(
state: &AppState,
path: &Path,
loaded: &Loaded,
plan: Plan,
) -> Result<(Loaded, Plan, Extra), SpawnError>Expand description
Makes the agent: its conversation, its memory, then the definition, last. A failure takes back what was put.