File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88from __future__ import annotations
99
1010from importlib import import_module
11- from typing import Any
11+ from typing import TYPE_CHECKING , Any
1212
1313from astrbot .core .message .message_event_result import (
1414 EventResultType ,
1717
1818from .stage_order import STAGES_ORDER
1919
20+ if TYPE_CHECKING :
21+ from .content_safety_check .stage import ContentSafetyCheckStage
22+ from .preprocess_stage .stage import PreProcessStage
23+ from .process_stage .stage import ProcessStage
24+ from .rate_limit_check .stage import RateLimitStage
25+ from .respond .stage import RespondStage
26+ from .result_decorate .stage import ResultDecorateStage
27+ from .session_status_check .stage import SessionStatusCheckStage
28+ from .waking_check .stage import WakingCheckStage
29+ from .whitelist_check .stage import WhitelistCheckStage
30+
2031_LAZY_EXPORTS = {
2132 "ContentSafetyCheckStage" : (
2233 "astrbot.core.pipeline.content_safety_check.stage" ,
You can’t perform that action at this time.
0 commit comments