a2aproject / a2aproject/a2a-samples

Missing dependency and outdated README

オープン
#397 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
1.8k
フォーク
751
PR マージ指標
30日以内にマージされた PR はありません

説明

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
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。