Merge branch 'dev' into runny827
feat(training): 新增精益培训视频与周任务管理 # Conflicts: # backend/app/models/__init__.py
This commit is contained in:
1 parent
85d27e9ffa
commit
91b7233872
812 files changed
+73763
-18908
No files matched your search
@@ -17,6 +17,7 @@ from app.services.chat.turn_context import TurnContext
|
||||
# action_type 前缀 → 允许的 agent_code 集合;空集合表示不限制。
|
||||
ACTION_AGENT_CODES: dict[str, tuple[str, ...]] = {
|
||||
"shipping.": ("shipping_notice",),
|
||||
"transfer.": ("in_transit_transfer",),
|
||||
}
|
||||
|
||||
|
||||
@@ -79,5 +80,7 @@ def resolve_action_handler(ctx: TurnContext) -> ChatActionHandler:
|
||||
def ensure_handlers_loaded() -> None:
|
||||
"""延迟导入各领域 handler 模块以完成注册。"""
|
||||
from app.services.shipping_notice import chat_action_extended_handlers as _shipping_extended # noqa: F401
|
||||
from app.services.in_transit_transfer import chat_actions as _transfer_actions # noqa: F401
|
||||
|
||||
_ = _shipping_extended
|
||||
_ = _transfer_actions
|
||||
Reference in new issue
Block a user