a2aproject / a2aproject/a2a-samples

Usage of deprecated `A2AExpressApp` in the JS examples

Aperta
#427 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Jupyter Notebook
Stelle
1.8k
Fork
751
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### What happened?

The `samples/js` samples uses the `A2AExpressApp` which is now deprecated
```
// 4. Create and setup A2AExpressApp
const appBuilder = new A2AExpressApp(requestHandler);
const expressApp = appBuilder.setupRoutes(express());
```

The hint is to use:
```
Deprecated:
Use specific middlewares (jsonRpcHandler, agentCardHandler) directly.
```

TODO:
The examples should be updated to align with the newest package version `v0.3.7`.

### Relevant log output

```shell

```

### Code of Conduct

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.