From 2dccb75dcbeaffe49cb12e929ee80c1417cde5f5 Mon Sep 17 00:00:00 2001 From: 16337 <1633794139@qq.com> Date: Mon, 23 Mar 2026 11:46:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=EF=BC=9A=E5=90=AF=E7=94=A8?= =?UTF-8?q?=20work=5Forder=5Fclient=20=E5=88=9D=E5=A7=8B=E5=8C=96=EF=BC=8C?= =?UTF-8?q?=E4=BB=8E=20.env=20=E8=AF=BB=E5=8F=96=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/main.py b/app/main.py index ef5e3bf..b6844a2 100644 --- a/app/main.py +++ b/app/main.py @@ -65,10 +65,10 @@ async def lifespan(app: FastAPI): agent = get_agent_dispatcher() agent.init(settings.agent) - # 初始化工单客户端(暂未上线,待本地测试通过后启用) - # from app.services.work_order_client import get_work_order_client - # wo_client = get_work_order_client() - # wo_client.init(settings.work_order) + # 初始化工单客户端 + from app.services.work_order_client import get_work_order_client + wo_client = get_work_order_client() + wo_client.init(settings.work_order) logger.info("AI 告警平台启动完成")