a2aproject / a2aproject/a2a-samples

Missing dependency and outdated README

Đang mở
#397 0 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ả

Branch: main
README.md for the github-agent sample `samples/python/agents/github-agent` is outdated:
```
uv run . http://localhost:10007
> Using CPython 3.13.9
> Creating virtual environment at: ...
> Built a2a-sample-client-cli ...
> Usage: . [OPTIONS]
> Try '. --help' for help. > Error: Got unexpected extra argument (http://localhost:10007)
```

Missing dependency: fastapi
```
class A2AFastAPI(FastAPI):
raise TypeError(f"Cannot subclass {self!r}") TypeError: Cannot subclass typing.Any
in .venv\lib\site-packages\a2a\server\apps\jsonrpc\fastapi_app.py", line 28
```

Culprit
```
try:
from fastapi import FastAPI
_package_fastapi_installed = True
except ImportError:
FastAPI = Any # missing dependency is harder to debug this way!
_package_fastapi_installed = False
```

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.