MetaGPT
MetaGPT copied to clipboard
Human Engagement不生效
我尝试运行博客站关于Human Engagement的源代码,在运行到
team.hire(
[
SimpleCoder(),
SimpleTester(),
SimpleReviewer(),
SimpleReviewer(is_human=True)
]
)
中的SimpleReviewer(is_human=True) 系统并没有停止进程提供用户输入,而是直接使用了 PROMPT_TEMPLATE: str = """ Context: {context} Review the test cases and provide one critical comments: """
name: str = "SimpleWriteReview"
默认的prompt请求llm
team.hire(
[
SimpleCoder(),
SimpleTester(),
SimpleReviewer(is_human=True)
]
)
Try this.
team.hire( [ SimpleCoder(), SimpleTester(), SimpleReviewer(is_human=True) ] )Try this. 试试这个。
Thank you for your response. I have tried it but it doesn't work. Do I need to rewrite the _act method? I saw it mentioned on a blog site, have you successfully run it before?
@garylin2099 Can you take a look at this question? It doesn't seem to be what it was designed to do
fixed in https://github.com/geekan/MetaGPT/pull/717