处理必读清单命令
(self, command: str)
| 1884 | user_id=self.user_id, |
| 1885 | send_to_feishu=self.send_to_feishu, |
| 1886 | feishu_chat_id=self.chat_id, |
| 1887 | role_name=self.role_name, |
| 1888 | ) |
| 1889 | return result |
| 1890 | except Exception as e: |
| 1891 | return {"success": False, "message": str(e)} |
| 1892 | |
| 1893 | def handle_must_read(self, command: str) -> Dict[str, Any]: |
| 1894 | """处理必读清单命令""" |
| 1895 | print(f"Intent: Must Read - {command!r}") |
| 1896 | |
| 1897 | try: |
| 1898 | must_read_manager = importlib.import_module("agents.must-read-manager.main") |
| 1899 | result = must_read_manager.process_must_read_command( |
| 1900 | user_id=self.user_id, |
| 1901 | command_text=command, |
| 1902 | send_to_feishu=self.send_to_feishu, |
| 1903 | feishu_user_id=self.feishu_user_id, |
| 1904 | chat_id=self.chat_id |