MetaGPT icon indicating copy to clipboard operation
MetaGPT copied to clipboard

Human Engagement不生效

Open Yevanchen opened this issue 1 year ago • 2 comments
trafficstars

image 我尝试运行博客站关于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

Yevanchen avatar Jan 25 '24 04:01 Yevanchen

team.hire(
[
SimpleCoder(),
SimpleTester(),
SimpleReviewer(is_human=True)
]
)

Try this.

voidking avatar Jan 29 '24 03:01 voidking

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?

Yevanchen avatar Jan 29 '24 08:01 Yevanchen

@garylin2099 Can you take a look at this question? It doesn't seem to be what it was designed to do

geekan avatar Mar 21 '24 06:03 geekan

fixed in https://github.com/geekan/MetaGPT/pull/717

garylin2099 avatar Mar 21 '24 07:03 garylin2099