Remove dead code: append_text, needs_assistant_marker, target param

append_text was the TextDelta streaming handler — replaced by
append_streaming on Agent entries. needs_assistant_marker tracked
turn boundaries for the old message path. target removed from
Agent::turn — routing now determined by entry content.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
ProofOfConcept 2026-04-05 22:40:38 -04:00
parent f390fa1617
commit 36d698a3e1
4 changed files with 3 additions and 37 deletions

View file

@ -310,7 +310,7 @@ impl Mind {
let agent = self.agent.clone();
let result_tx = self.turn_tx.clone();
self.shared.lock().unwrap().turn_handle = Some(tokio::spawn(async move {
let result = Agent::turn(agent, &input, target).await;
let result = Agent::turn(agent, &input).await;
let _ = result_tx.send((result, target)).await;
}));
}