Skip to main content

store_failure_memory

Function store_failure_memory 

Source
pub async fn store_failure_memory(
    task_id: &str,
    attempt: u32,
    agent: &str,
    model: Option<&str>,
    error: &str,
    store: &Option<Arc<TaskStore>>,
    repo: &str,
)
Expand description

Store a memory entry for a failed attempt (without a full AgentResponse).