[memory/RAG] Dead code: src/rag_manager.py is a zero-value wrapper that just delegates to VectorRAG #747
Labels
No labels
area:chat
area:core
area:llm
area:routes
area:tools
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
refactor
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sleepy/odysseus#747
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
File:
src/rag_manager.py— 59 linesRAGManageris a pure delegation class where every method (search,retrieve,rebuild_index,get_stats,add_document,add_documents_batch,index_personal_documents) does nothing but callself.vector_rag.<same_method>().It also has a fragile triple-import fallback chain:
This wrapper adds no logic, no caching, no transformation — just an extra indirection layer. All callers could import
VectorRAGdirectly.Action: Audit all callers of
RAGManagerand replace with directVectorRAGusage, then deletesrc/rag_manager.py.