处理每日推送
(self)
| 1699 | reset_existing=reset_existing, |
| 1700 | send_to_feishu=self.send_to_feishu, |
| 1701 | feishu_user_id=self.feishu_user_id, |
| 1702 | chat_id=self.chat_id |
| 1703 | ) |
| 1704 | return {"success": True, "message": "冷启动完成"} |
| 1705 | except Exception as e: |
| 1706 | return {"success": False, "message": str(e)} |
| 1707 | |
| 1708 | def handle_daily_push(self) -> Dict[str, Any]: |
| 1709 | """处理每日推送""" |
| 1710 | print("Intent: Daily Push") |
| 1711 | |
| 1712 | try: |
| 1713 | daily_push_agent = importlib.import_module("deployments.feishu.daily-push-agent.main") |
| 1714 | result = daily_push_agent.daily_push( |
| 1715 | user_id=self.user_id, |
| 1716 | send_to_feishu=self.send_to_feishu, |
| 1717 | feishu_chat_id=self.chat_id |
| 1718 | ) |
| 1719 | if isinstance(result, dict): |
nothing calls this directly
no outgoing calls
no test coverage detected