" 第一次用ModelScope创空间,创建后发布失败,这个问题该如何修复?
失败日志 [2024-08-05 16:30:25] 2024-08-05 16:30:25,525 - modelscope - INFO - Loading ast index from /mnt/workspace/.cache/modelscope/ast_indexer
[2024-08-05 16:30:26] Traceback (most recent call last):
[2024-08-05 16:30:26] File ""app.py"", line 13, in
[2024-08-05 16:30:26] from user_core import init_user_chatbot_agent
[2024-08-05 16:30:26] File ""/home/studio_service/PROJECT/user_core.py"", line 7, in
[2024-08-05 16:30:26] from modelscope_agent.agents.role_play import RolePlay
[2024-08-05 16:30:26] File ""/opt/conda/lib/python3.8/site-packages/modelscope_agent/agents/init.py"", line 3, in
[2024-08-05 16:30:26] from .multi_role_play import MultiRolePlay
[2024-08-05 16:30:26] File ""/opt/conda/lib/python3.8/site-packages/modelscope_agent/agents/multi_role_play.py"", line 6, in
[2024-08-05 16:30:26] from modelscope_agent.agent_env_util import AgentEnvMixin
[2024-08-05 16:30:26] File ""/opt/conda/lib/python3.8/site-packages/modelscope_agent/agent_env_util.py"", line 6, in
[2024-08-05 16:30:26] from modelscope_agent.environment import Environment
[2024-08-05 16:30:26] File ""/opt/conda/lib/python3.8/site-packages/modelscope_agent/environment.py"", line 9, in
[2024-08-05 16:30:26] class Environment:
[2024-08-05 16:30:26] File ""/opt/conda/lib/python3.8/site-packages/modelscope_agent/environment.py"", line 14, in Environment
[2024-08-05 16:30:26] messages_list_map: dict[str, list] = {}
[2024-08-05 16:30:26] TypeError: 'type' object is not subscriptable
[2024-08-05 16:30:28] [2024-08-05 16:30:28,311][ERROR] project_working_process exit code 1
[2024-08-05 16:30:28] [2024-08-05 16:30:28,311][INFO] change status to FAILED "
ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352