mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 11:42:44 +08:00
perf: 优化导入
This commit is contained in:
parent
c89623967e
commit
cac8a0a414
|
@ -1,27 +1,7 @@
|
|||
from __future__ import print_function
|
||||
|
||||
import sys
|
||||
|
||||
from .bootutils import files
|
||||
from .bootutils import log
|
||||
from .bootutils import config
|
||||
|
||||
from . import app
|
||||
from ..pipeline import pool
|
||||
from ..pipeline import controller
|
||||
from ..pipeline import stagemgr
|
||||
from ..audit import identifier
|
||||
from ..provider.session import sessionmgr as llm_session_mgr
|
||||
from ..provider.requester import modelmgr as llm_model_mgr
|
||||
from ..provider.sysprompt import sysprompt as llm_prompt_mgr
|
||||
from ..provider.tools import toolmgr as llm_tool_mgr
|
||||
from ..platform import manager as im_mgr
|
||||
from ..command import cmdmgr
|
||||
from ..plugin import manager as plugin_mgr
|
||||
from ..audit.center import v2 as center_v2
|
||||
from ..utils import version, proxy, announce
|
||||
|
||||
from .stages import build_app, load_config, setup_logger
|
||||
from . import stage
|
||||
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ import typing
|
|||
from . import app
|
||||
|
||||
|
||||
preregistered_stages: list[typing.Type[BootingStage]] = {}
|
||||
preregistered_stages: dict[str, typing.Type[BootingStage]] = {}
|
||||
|
||||
def stage_class(
|
||||
name: str
|
||||
|
|
Loading…
Reference in New Issue
Block a user