perf: definitions

This commit is contained in:
Junyan Qin
2025-07-10 16:45:59 +08:00
parent ac03a2dceb
commit 75c3ddde19
6 changed files with 112 additions and 79 deletions
+2 -5
View File
@@ -27,7 +27,7 @@ from ..storage import mgr as storagemgr
from ..utils import logcache
from . import taskmgr
from . import entities as core_entities
from pkg.rag.knowledge.RAG_Manager import RAG_Manager
from ..rag.knowledge import mgr as rag_mgr
class Application:
@@ -48,7 +48,6 @@ class Application:
model_mgr: llm_model_mgr.ModelManager = None
# TODO 移动到 pipeline 里
tool_mgr: llm_tool_mgr.ToolManager = None
@@ -101,7 +100,6 @@ class Application:
storage_mgr: storagemgr.StorageMgr = None
# ========= HTTP Services =========
user_service: user_service.UserService = None
@@ -114,8 +112,7 @@ class Application:
bot_service: bot_service.BotService = None
knowledge_base_service: RAG_Manager = None
knowledge_base_service: rag_mgr.RAGManager = None
def __init__(self):
pass