kin525 commited on
Commit
debb1a8
·
verified ·
1 Parent(s): 71fdfee

Update core/__init__.py

Browse files
Files changed (1) hide show
  1. core/__init__.py +8 -0
core/__init__.py CHANGED
@@ -35,11 +35,19 @@ except ImportError:
35
  N8N_CONNECTOR_AVAILABLE = False
36
  print("警告: N8NConnector 不可用")
37
 
 
 
 
 
 
 
 
38
  __all__ = [
39
  "LocalEmbedder",
40
  "FileProcessor",
41
  "RAGEngine",
42
  "N8NConnector"
 
43
  ]
44
 
45
  print(f"✅ 核心模組加載成功 - 版本 {__version__}")
 
35
  N8N_CONNECTOR_AVAILABLE = False
36
  print("警告: N8NConnector 不可用")
37
 
38
+ try:
39
+ from .telegram_bot import TelegramBot
40
+ TELEGRAM_BOT_AVAILABLE = True
41
+ except ImportError:
42
+ TELEGRAM_BOT_AVAILABLE = False
43
+ print("警告: TelegramBot 不可用")
44
+
45
  __all__ = [
46
  "LocalEmbedder",
47
  "FileProcessor",
48
  "RAGEngine",
49
  "N8NConnector"
50
+ "TelegramBot" # 添加这一行
51
  ]
52
 
53
  print(f"✅ 核心模組加載成功 - 版本 {__version__}")