a2aproject / a2aproject/a2a-samples

in the demo/ui ; There is an error when running "uv run main.py"

Đang mở
#551 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
1.8k
Fork
751
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### What happened?

in the demo/ui ;
when i am running “uv run main.py”
Display error message:
Traceback (most recent call last):
File "D:\myFile\a2a-samples-main\demo\ui\main.py", line 13, in
from components.api_key_dialog import api_key_dialog
File "D:\myFile\a2a-samples-main\demo\ui\components\api_key_dialog.py", line 5, in
from state.host_agent_service import UpdateApiKey
File "D:\myFile\a2a-samples-main\demo\ui\state\host_agent_service.py", line 9, in
from a2a.types import FileWithBytes, Message, Part, Role, Task, TaskState
ImportError: cannot import name 'FileWithBytes' from 'a2a.types' (d:\myFile\a2a-samples-main\.venv\Lib\site-packages\a2a\types\__init__.py)

### Relevant log output

```shell

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.