Add Library RAG project and cleanup root directory
- Add complete Library RAG application (Flask + MCP server) - PDF processing pipeline with OCR and LLM extraction - Weaviate vector database integration (BGE-M3 embeddings) - Flask web interface with search and document management - MCP server for Claude Desktop integration - Comprehensive test suite (134 tests) - Clean up root directory - Remove obsolete documentation files - Remove backup and temporary files - Update autonomous agent configuration - Update prompts - Enhance initializer bis prompt with better instructions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -118,7 +118,12 @@ def main() -> None:
|
||||
|
||||
# Automatically place projects in generations/ directory unless already specified
|
||||
project_dir = args.project_dir
|
||||
if not str(project_dir).startswith("generations/"):
|
||||
|
||||
# Normalize path to handle ./generations/, .\generations\, etc.
|
||||
normalized_parts = Path(project_dir).parts
|
||||
has_generations = "generations" in normalized_parts
|
||||
|
||||
if not has_generations:
|
||||
# Convert relative paths to be under generations/
|
||||
if project_dir.is_absolute():
|
||||
# If absolute path, use as-is
|
||||
@@ -126,6 +131,9 @@ def main() -> None:
|
||||
else:
|
||||
# Prepend generations/ to relative paths
|
||||
project_dir = Path("generations") / project_dir
|
||||
else:
|
||||
# "generations" already in path, normalize and use as-is
|
||||
project_dir = Path(*[p for p in normalized_parts if p != "."])
|
||||
|
||||
# Run the agent
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user