docs(memory): fix knowledge dir path in collect_resident_knowledge doc
This commit is contained in:
parent
2f84bd32ba
commit
27b84abccc
|
|
@ -23,9 +23,9 @@ pub struct ResidentKnowledgeEntry {
|
|||
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
|
||||
/// `knowledge/` directory yields an empty vec.
|
||||
/// directory yields an empty vec.
|
||||
pub fn collect_resident_knowledge(layout: &WorkspaceLayout) -> Vec<ResidentKnowledgeEntry> {
|
||||
let mut out: Vec<ResidentKnowledgeEntry> = Vec::new();
|
||||
walk_knowledge(layout, |slug, fm| {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user