From 70e5b83a9fc099d358cb52d77ac65b49d22d71ea Mon Sep 17 00:00:00 2001 From: Hermes CI Fix Date: Sat, 18 Jul 2026 18:09:20 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20bot/actions=E5=8E=BB=E9=99=A4=E4=B8=8D?= =?UTF-8?q?=E5=AD=98=E5=9C=A8=E7=9A=84target=5Fvalue=E5=AD=97=E6=AE=B5(?= =?UTF-8?q?=E5=AF=BC=E8=87=B4500)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/api/bot_bridge.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/app/api/bot_bridge.py b/backend/app/api/bot_bridge.py index 1968c4a8..2455a641 100644 --- a/backend/app/api/bot_bridge.py +++ b/backend/app/api/bot_bridge.py @@ -30,9 +30,10 @@ def _load_bot_keys(): raw = os.getenv("CMA_BOT_API_KEYS", "") if not raw: _BOT_API_KEYS = { - "cma-bot-finance-2026": {"role": "finance", "name": "财务BOT"}, - "cma-bot-shop-2026": {"role": "business", "name": "店研学BOT"}, - "cma-bot-admin-2026": {"role": "ceo", "name": "管理BOT"}, + "cma-bot-finance-2026": {"role": "finance", "name": "财务分析Bot", "dimension": "finance"}, + "cma-bot-customer-2026": {"role": "business", "name": "客户分析Bot", "dimension": "customer"}, + "cma-bot-process-2026": {"role": "it", "name": "流程分析Bot", "dimension": "process"}, + "cma-bot-learning-2026": {"role": "ceo", "name": "战略分析Bot", "dimension": "learning"}, } else: try: @@ -321,7 +322,6 @@ def bot_actions( "description": p.description, "kpi_id": p.kpi_id, "assignee": p.assignee, "priority": p.priority, "status": p.status, "progress": p.progress, - "target_value": p.target_value, "due_date": _safe_iso(p.due_date), "created_at": _safe_iso(p.created_at), } for p in plans