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

Function send_text_output

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

Source from the content-addressed store, hash-verified

101}
102
103async fn send_text_output(tx: &mpsc::Sender<AgentEvent>, text: String) {
104 let _ = tx.send(AgentEvent::TextDelta { text: text.clone() }).await;
105 send_end(tx, text).await;
106}
107
108async fn send_end(tx: &mpsc::Sender<AgentEvent>, text: String) {
109 let _ = tx

Callers 1

dispatch_streamingFunction · 0.85

Calls 3

send_endFunction · 0.85
sendMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected