Skip to main content

build_agent_for_reload

Function build_agent_for_reload 

Source
pub fn build_agent_for_reload(
    world: &mut World,
    deps: SpawnDeps<'_>,
    args: &SpawnArgs,
) -> Result<Entity, String>
Expand description

Like build_agent, but skips the required-at-spawn region gate - used by restart recovery, which reloads a run that already passed the gate when first spawned and whose context window is restored from a snapshot after this call.