a2aproject / a2aproject/a2a-samples

Missing dependency and outdated README

Abierto
#397 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Jupyter Notebook
Estrellas
1.8k
Forks
751
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.