poc-memory: fix distill placeholder, show link weights in render
- distill.agent: fix {{distill}} → {{nodes}} placeholder so seed
nodes actually resolve
- render: show link strength values in the links section, sorted
by strength descending
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
377e2773bc
commit
4c7c3c762c
2 changed files with 2 additions and 2 deletions
|
|
@ -56,4 +56,4 @@ For each seed node:
|
||||||
|
|
||||||
## Seed nodes
|
## Seed nodes
|
||||||
|
|
||||||
{{distill}}
|
{{nodes}}
|
||||||
|
|
|
||||||
|
|
@ -199,7 +199,7 @@ pub fn cmd_render(key: &[String]) -> Result<(), String> {
|
||||||
neighbors.dedup_by(|a, b| a.0 == b.0);
|
neighbors.dedup_by(|a, b| a.0 == b.0);
|
||||||
let total = neighbors.len();
|
let total = neighbors.len();
|
||||||
let shown: Vec<_> = neighbors.iter().take(15)
|
let shown: Vec<_> = neighbors.iter().take(15)
|
||||||
.map(|(k, _)| format!("`poc-memory render {}`", k))
|
.map(|(k, s)| format!("({:.2}) `poc-memory render {}`", s, k))
|
||||||
.collect();
|
.collect();
|
||||||
print!("\n\n---\nLinks:");
|
print!("\n\n---\nLinks:");
|
||||||
for link in &shown {
|
for link in &shown {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue