MetaGPT icon indicating copy to clipboard operation
MetaGPT copied to clipboard

AttributeError: 'NoneType' object has no attribute 'profile'

Open xukaizhao opened this issue 9 months ago • 2 comments

在运行“辩论:智能体对抗”的代码时,MetaGPT/examples /debate.py 报错: AttributeError: 'NoneType' object has no attribute 'profile'

添加teamleader能运行,但输出不是辩论内容,而只有一段话。

xukaizhao avatar Mar 19 '25 14:03 xukaizhao

一样的故障,请问解决了吗?

RatexMak avatar Apr 16 '25 02:04 RatexMak

修改配置:MetaGPT/metagpt/const.py 中的 TEAMLEADER_NAME 为自己定义的

# TEAMLEADER_NAME = "Mike"
TEAMLEADER_NAME = "程序员Alice"

stayfoo avatar Apr 26 '25 09:04 stayfoo

修改配置:MetaGPT/metagpt/const.py 中的 TEAMLEADER_NAME 为自己定义的

# TEAMLEADER_NAME = "Mike"
TEAMLEADER_NAME = "程序员Alice"

请问teamleader在这里的作用是什么呢

Xinyuz26 avatar Apr 29 '25 03:04 Xinyuz26

Have you ever fixed it. I tried to modify the const TEAMLEADER_NAME but it didn't work.

qianweijiujiu avatar Apr 29 '25 11:04 qianweijiujiu

修改配置:MetaGPT/metagpt/const.py 中的 TEAMLEADER_NAME 为自己定义的

# TEAMLEADER_NAME = "Mike"
TEAMLEADER_NAME = "程序员Alice"

请问teamleader在这里的作用是什么呢

not work

Zha-Miku avatar May 01 '25 08:05 Zha-Miku

修改配置:MetaGPT/metagpt/const.py 中的 TEAMLEADER_NAME 为自己定义的

# TEAMLEADER_NAME = "Mike"
TEAMLEADER_NAME = "程序员Alice"

I solved this problem by this way.

binquanzzz avatar May 10 '25 06:05 binquanzzz

我用自己的方式解决了这个问题,可以看下我提的issue

RyanOvO avatar May 17 '25 04:05 RyanOvO

This issue has no activity in the past 30 days. Please comment on the issue if you have anything to add.

github-actions[bot] avatar Jun 17 '25 00:06 github-actions[bot]

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.

github-actions[bot] avatar Jul 01 '25 00:07 github-actions[bot]