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

Method finish

core/src/agent_api/runtime_events.rs:201–207  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

199 }
200
201 pub(super) async fn finish(&self) {
202 self.active_tools.write().await.clear();
203 let mut current = self.current_run_id.lock().await;
204 if current.as_deref() == Some(self.run_id.as_str()) {
205 *current = None;
206 }
207 }
208}
209
210#[cfg(test)]

Callers 3

fmtMethod · 0.45
completeMethod · 0.45
wrapMethod · 0.45

Calls 3

writeMethod · 0.80
clearMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected