Skip to main content

create

Function create 

Source
pub fn create(keep_recent_turns: usize, summary: String) -> Result<(), String>
Expand description

Create a new directive. Fails when one was created less than MIN_INTERVAL_SECS ago (rate limit — nothing is ever blocked, the agent simply keeps its current, already-compacted context).