集成DesignReview时报错
Bug description 我的程序在集成DesignReview时,报错如下:TypeError: DesignReview.run() missing 1 required positional argument: 'api_design',查了下是 role.py中的代码 async def _act(self) -> Message: logger.info(f"{self._setting}: to do {self.rc.todo}({self.rc.todo.name})") response = await self.rc.todo.run(self.rc.history)只传了一下参数,但DesignReview.run中有两个参数导致的 具体报错信息及代码位置截图显示
Bug solved method
Environment information
- LLM type and model name:
- System version: windows 11
- Python version: python 3.11
- MetaGPT version or branch: master
- packages version:
- installation method:
Screenshots or logs
This issue has no activity in the past 30 days. Please comment on the issue if you have anything to add.
你应该传prompt,而不是那两个参数。
整个MetaGPT框架,agent之间、action之间都是传message。
嗯 好的 谢谢
发件人: Guess @.> 发送时间: 2025年1月16日 22:47 收件人: geekan/MetaGPT @.> 抄送: Luo Min @.>; Author @.> 主题: Re: [geekan/MetaGPT] 集成DesignReview时报错 (Issue #1639)
你应该传prompt,而不是那两个参数
― Reply to this email directly, view it on GitHubhttps://github.com/geekan/MetaGPT/issues/1639#issuecomment-2595924429, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AASE2CBMJT736EJ4NBQ2ZOT2K7A77AVCNFSM6AAAAABTTIV5ECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJVHEZDINBSHE. You are receiving this because you authored the thread.Message ID: @.***>
This issue has no activity in the past 30 days. Please comment on the issue if you have anything to add.
This issue was closed due to 45 days of inactivity. If you feel this issue is still relevant, please reopen the issue to continue the discussion.