pub async fn extract_memories_background(
messages: Vec<Message>,
state: Arc<Mutex<ExtractionState>>,
llm: Arc<dyn Provider>,
model: String,
)Expand description
Run memory extraction as a background task.
Called at the end of each successful turn. Fire-and-forget: errors are logged but never surface to the user.