mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-05 00:40:13 +08:00
fix(ci): Export KnowledgeBase alias in kb.py to fix import errors
This commit is contained in:
@@ -13,7 +13,10 @@ if str(project_root) not in sys.path:
|
||||
sys.path.insert(0, str(project_root))
|
||||
|
||||
# Import main function from startup script
|
||||
from src.knowledge.manager import KnowledgeBaseManager as KnowledgeBase
|
||||
from src.knowledge.start_kb import main
|
||||
|
||||
__all__ = ["KnowledgeBase"]
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user