a2aproject / a2aproject/a2a-samples

Usage of deprecated `A2AExpressApp` in the JS examples

未关闭
#427 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
1.8k
派生
751
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。