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

Function send_end

core/src/agent_api/command_runtime.rs:108–117  ·  view source on GitHub ↗
(tx: &mpsc::Sender<AgentEvent>, text: String)

Source from the content-addressed store, hash-verified

106}
107
108async fn send_end(tx: &mpsc::Sender<AgentEvent>, text: String) {
109 let _ = tx
110 .send(AgentEvent::End {
111 text,
112 usage: crate::llm::TokenUsage::default(),
113 verification_summary: empty_verification_summary(),
114 meta: None,
115 })
116 .await;
117}
118
119fn empty_verification_summary() -> Box<crate::verification::VerificationSummary> {
120 Box::new(crate::verification::VerificationSummary::from_reports(&[]))

Callers 1

send_text_outputFunction · 0.85

Calls 2

sendMethod · 0.45

Tested by

no test coverage detected