From 8d09b184777dd4a366dc99bab736f8d3347d2d6f Mon Sep 17 00:00:00 2001 From: OG T Date: Fri, 3 Apr 2026 19:44:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(group-chat):=20=E7=A7=BB=E9=99=A4=E9=9B=99A?= =?UTF-8?q?I=E4=BA=92=E7=9B=B8=E8=A9=95=E8=AB=96=20=E2=80=94=20=E5=96=AE?= =?UTF-8?q?=E7=8D=A8@=E5=8F=AA=E6=9C=89=E8=A9=B2AI=E5=9B=9E=E8=A6=86?= =?UTF-8?q?=EF=BC=8C=E9=9B=99AI=E8=B7=AF=E5=BE=91=E4=B8=8D=E5=86=8D?= =?UTF-8?q?=E4=BA=92=E8=A9=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- apps/api/src/services/telegram_gateway.py | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/apps/api/src/services/telegram_gateway.py b/apps/api/src/services/telegram_gateway.py index 158f52e8..036f1a59 100644 --- a/apps/api/src/services/telegram_gateway.py +++ b/apps/api/src/services/telegram_gateway.py @@ -3182,27 +3182,6 @@ class TelegramGateway: reply_to_message_id=message_id, ) - # 互相評論:OpenClaw 看 Nemo 的回應,Nemo 看 OpenClaw 的回應 - if oc_result and nemo_result and not isinstance(oc_result, Exception) and not isinstance(nemo_result, Exception): - oc_comment_task = asyncio.create_task( - chat_mgr._call_openclaw( - f"{context}\nNemoClaw 說:{nemo_result[:300]}\n你有什麼補充或不同看法?簡短回應。", - clean_text, - ) - ) - nemo_comment_task = asyncio.create_task( - chat_mgr._call_nemotron( - f"{context}\nOpenClaw 說:{oc_result[:300]}\n你有什麼補充或不同看法?簡短回應。", - clean_text, - ) - ) - oc_comment, nemo_comment = await asyncio.gather(oc_comment_task, nemo_comment_task, return_exceptions=True) - - if oc_comment and not isinstance(oc_comment, Exception): - await self.send_as_openclaw(text=f"🦞 OpenClaw 補充\n\n{oc_comment}", reply_to_message_id=message_id) - if nemo_comment and not isinstance(nemo_comment, Exception): - await self.send_as_nemotron(text=f"🤖 NemoClaw 補充\n\n{nemo_comment}", reply_to_message_id=message_id) - logger.info("group_message_handled", user_id=user_id, text=text[:50]) async def _send_chat_action(self, chat_id: int, action: str) -> None: