render: show plain node keys in link footer, not CLI commands

Links now show just the key name instead of `poc-memory render KEY`.
The agent uses memory_render tool calls, not bash commands.

Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
ProofOfConcept 2026-03-25 02:15:46 -04:00
parent 9127e61c69
commit 9a09a665fb

View file

@ -66,10 +66,10 @@ impl MemoryNode {
let total = footer.len();
out.push_str("\n\n---\nLinks:");
for (target, strength) in footer.iter().take(15) {
out.push_str(&format!("\n ({:.2}) `poc-memory render {}`", strength, target));
out.push_str(&format!("\n ({:.2}) {}", strength, target));
}
if total > 15 {
out.push_str(&format!("\n ... and {} more (`poc-memory graph link {}`)",
out.push_str(&format!("\n ... and {} more (memory_links key={})",
total - 15, self.key));
}
}