a2aproject / a2aproject/a2a-samples

Missing dependency and outdated README

未关闭
#397 0 条评论 0 个 reaction 已指派 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 摘要。