(tx: &mpsc::Sender<AgentEvent>, text: String)
| 106 | } |
| 107 | |
| 108 | async 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 | |
| 119 | fn empty_verification_summary() -> Box<crate::verification::VerificationSummary> { |
| 120 | Box::new(crate::verification::VerificationSummary::from_reports(&[])) |
no test coverage detected