MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / handle_daily_push

Method handle_daily_push

agents/master-coordinator/main.py:1701–1716  ·  view source on GitHub ↗

处理每日推送

(self)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected