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

agentfabric #594

Open
1 of 3 tasks
DBDYHR opened this issue Oct 22, 2024 · 0 comments
Open
1 of 3 tasks

agentfabric #594

DBDYHR opened this issue Oct 22, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@DBDYHR
Copy link

DBDYHR commented Oct 22, 2024

Initial Checks

  • 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 DBDYHR added the bug Something isn't working label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants