Skip to main content

start_agent_without_eviction

Function start_agent_without_eviction 

Source
pub(crate) async fn start_agent_without_eviction(
    state: &AppState,
    agent_id: &str,
) -> Result<String, String>
Expand description

start_agent that never stops another agent to make room: over the cap or the commit limit it is refused (Err("capacity: ...")). Restart resume starts the agents that were running this way.