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

Method on_turn_complete

core/src/agent/tests.rs:1347–1360  ·  view source on GitHub ↗
(
        &self,
        session_id: &str,
        prompt: &str,
        response: &str,
    )

Source from the content-addressed store, hash-verified

1345 }
1346
1347 async fn on_turn_complete(
1348 &self,
1349 session_id: &str,
1350 prompt: &str,
1351 response: &str,
1352 ) -> anyhow::Result<()> {
1353 let mut calls = self.on_turn_calls.write().await;
1354 calls.push((
1355 session_id.to_string(),
1356 prompt.to_string(),
1357 response.to_string(),
1358 ));
1359 Ok(())
1360 }
1361}
1362
1363#[tokio::test]

Callers 1

notify_turn_completeMethod · 0.45

Calls 1

writeMethod · 0.80

Tested by

no test coverage detected