(self, identity: AgentIdentity, mailbox: FileMailbox,
executor=None)
| 273 | """ |
| 274 | |
| 275 | def __init__(self, identity: AgentIdentity, mailbox: FileMailbox, |
| 276 | executor=None): |
| 277 | self.identity = identity |
| 278 | self.mailbox = mailbox |
| 279 | self.executor = executor or self._default_executor |
| 280 | |
| 281 | def _default_executor(self, task: str) -> str: |
| 282 | """模拟执行任务""" |
nothing calls this directly
no outgoing calls
no test coverage detected