ms-agent icon indicating copy to clipboard operation
ms-agent copied to clipboard

agentfabric

Open DBDYHR opened this issue 1 year ago • 0 comments

Initial Checks

  • [X] I have searched GitHub for a duplicate issue and I'm sure this is something new
  • [ ] I have read and followed the docs & demos and still think this is a bug
  • [ ] I am confident that the issue is with modelscope-agent (not my code, or another library in the ecosystem)

What happened + What you expected to happen

ModelScope 按照官方文档下载部署,打开http://127.0.0.1:7860/就是这样的结果,后台报错: ERROR: Exception in ASGI application Traceback (most recent call last): File "/home/anaconda3/envs/ModelScope/lib/python3.10/site-packages/pydantic/type_adapter.py", line 270, in _init_core_attrs self._core_schema = _getattr_no_parents(self._type, '__pydantic_core_schema__') File "/home/anaconda3/envs/ModelScope/lib/python3.10/site-packages/pydantic/type_adapter.py", line 112, in _getattr_no_parents raise AttributeError(attribute) AttributeError: __pydantic_core_schema__

During handling of the above exception, another exception occurred: 希望能有解决的办法

Versions / Dependencies

master pip install -r requirements.txt & pip install -r apps/agentfabric/requirements.txt

Reproduction script

just export PYTHONPATH=$PYTHONPATH:/path/to/your/modelscope-agent export DASHSCOPE_API_KEY=your_api_key cd modelscope-agent/apps/agentfabric python app.py

Issue Severity

None

DBDYHR avatar Oct 22 '24 14:10 DBDYHR