Skip to content

Commit 390ff9d

Browse files
phernandezclaude
andcommitted
fix: move ai_assistant_guide.md into package resources to fix #39
This change relocates the AI assistant guide from the static directory into the package resources directory, ensuring it gets properly included in the distribution package and is accessible when installed via pip/uv. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3ed74b4 commit 390ff9d

2 files changed

Lines changed: 414 additions & 3 deletions

File tree

src/basic_memory/mcp/prompts/ai_assistant_guide.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ def ai_assistant_guide() -> str:
1919
A focused guide on Basic Memory usage.
2020
"""
2121
logger.info("Loading AI assistant guide resource")
22-
guide_doc = (
23-
Path(__file__).parent.parent.parent.parent.parent / "static" / "ai_assistant_guide.md"
24-
)
22+
guide_doc = Path(__file__).parent.parent / "resources" / "ai_assistant_guide.md"
2523
content = guide_doc.read_text(encoding="utf-8")
2624
logger.info(f"Loaded AI assistant guide ({len(content)} chars)")
2725
return content

0 commit comments

Comments
 (0)