From 7c0c376e0f13465b8cc44e8e6f16056095c71dae Mon Sep 17 00:00:00 2001 From: ProofOfConcept Date: Thu, 26 Mar 2026 14:22:21 -0400 Subject: [PATCH] render: use backtick-quoted keys and tool call format in link footer Links now display as \`key\` instead of bare text, and overflow shows memory_links() tool call format instead of CLI command. Co-Authored-By: Kent Overstreet --- src/hippocampus/memory.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hippocampus/memory.rs b/src/hippocampus/memory.rs index b66b1ef..93170d8 100644 --- a/src/hippocampus/memory.rs +++ b/src/hippocampus/memory.rs @@ -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}) {}", strength, target)); + out.push_str(&format!("\n ({:.2}) `{}`", strength, target)); } if total > 15 { - out.push_str(&format!("\n ... and {} more (memory_links key={})", + out.push_str(&format!("\n ... and {} more (memory_links({{\"{}\"}}))", total - 15, self.key)); } }