MCPcopy Create free account
hub / github.com/AI45Lab/Code / on_turn_complete

Method on_turn_complete

core/src/memory.rs:344–351  ·  view source on GitHub ↗
(
        &self,
        _session_id: &str,
        prompt: &str,
        response: &str,
    )

Source from the content-addressed store, hash-verified

342 }
343
344 async fn on_turn_complete(
345 &self,
346 _session_id: &str,
347 prompt: &str,
348 response: &str,
349 ) -> anyhow::Result<()> {
350 self.memory.remember_success(prompt, &[], response).await
351 }
352}
353
354// ============================================================================

Callers

nothing calls this directly

Calls 1

remember_successMethod · 0.45

Tested by

no test coverage detected