Files
inquiry_robot/inquiry-agent/agent/handlers/abnormal.py
T

24 lines
501 B
Python

"""
意图:异常上报(骨架)。
正式:写主账异常时间线;不在此直连 TMS。
"""
from __future__ import annotations
import logging
logger = logging.getLogger(__name__)
def handle_abnormal(*, sender_id: str, inquiry_no: str, reason: str = "") -> None:
"""骨架:仅记日志。"""
if not sender_id:
return
logger.info(
"handler.abnormal stub sender=%s inquiry=%s reason=%s",
sender_id,
inquiry_no,
reason or "-",
)