bobooscar

Results 1 comments of bobooscar

> `Engineer`并未订阅`RunCode`消息,因此即使消息发给了`Engineer`,在`_observe`阶段也会被忽略掉。 建议参考Product Manager给Engineer转bug单的流程,将需要Engineer重写的代码作为bug单转给Engineer。参见`metagpt/actions/write_prd.py`的`_handle_bugfix`: > > ```python > async def _handle_bugfix(self, req: Document) -> Message: > # ... bugfix logic ... > await self.repo.docs.save(filename=BUGFIX_FILENAME, content=req.content) > await self.repo.docs.save(filename=REQUIREMENT_FILENAME, content="") >...