Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

streamlit run demo_agent_metagpt.py报错 #56

Open
wenhuiwwh opened this issue Dec 5, 2024 · 1 comment
Open

streamlit run demo_agent_metagpt.py报错 #56

wenhuiwwh opened this issue Dec 5, 2024 · 1 comment

Comments

@wenhuiwwh
Copy link

运行streamlit run demo_agent_metagpt.py报错如下:

File "/data/code/demo_agent_metagpt.py", line 260, in
asyncio.run(main())
File "/home/whwang22/.conda/envs/llm-xuanji/lib/python3.11/asyncio/runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/home/whwang22/.conda/envs/llm-xuanji/lib/python3.11/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/whwang22/.conda/envs/llm-xuanji/lib/python3.11/asyncio/base_events.py", line 654, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/data/code/demo_agent_metagpt.py", line 67, in main
role_intentReg = IntentReg()
^^^^^^^^^^^
File "/data/whwang22/code/3_行业应用/项目式教学项目案例_人情练达大模型/tianji/agents/metagpt_agents/intentRecognition/role.py", line 21, in init
self._init_action([IntentAnalyze])
File "/home/whwang22/.conda/envs/llm-xuanji/lib/python3.11/site-packages/metagpt/roles/role.py", line 249, in _init_action
if not action.private_config:
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'private_config'

@sanbuphy
Copy link
Contributor

sanbuphy commented Dec 6, 2024

你好 已经修复,可以再次尝试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants