docs(memory): fix knowledge dir path in collect_resident_knowledge doc
This commit is contained in:
parent
7b8eb3af8d
commit
f7f59dd30c
|
|
@ -23,9 +23,9 @@ pub struct ResidentKnowledgeEntry {
|
||||||
pub description: String,
|
pub description: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Walk `<workspace>/knowledge/*.md` and return entries whose
|
/// Walk `<workspace>/.insomnia/knowledge/*.md` and return entries whose
|
||||||
/// frontmatter has `model_invokation: true`, sorted by slug. A missing
|
/// frontmatter has `model_invokation: true`, sorted by slug. A missing
|
||||||
/// `knowledge/` directory yields an empty vec.
|
/// directory yields an empty vec.
|
||||||
pub fn collect_resident_knowledge(layout: &WorkspaceLayout) -> Vec<ResidentKnowledgeEntry> {
|
pub fn collect_resident_knowledge(layout: &WorkspaceLayout) -> Vec<ResidentKnowledgeEntry> {
|
||||||
let mut out: Vec<ResidentKnowledgeEntry> = Vec::new();
|
let mut out: Vec<ResidentKnowledgeEntry> = Vec::new();
|
||||||
walk_knowledge(layout, |slug, fm| {
|
walk_knowledge(layout, |slug, fm| {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user