Skip to main content

should_inject_memory

Function should_inject_memory 

Source
pub fn should_inject_memory(
    graph: &PheromoneGraph,
    runs_since_last_inject: u32,
    min_runs_between_inject: u32,
) -> bool
Expand description

Whether enough runs have passed to inject memory into the prompt.