a2aproject / a2aproject/a2a-samples
Usage of deprecated `A2AExpressApp` in the JS examples
未关闭
- 主要语言
- 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 还没有评估数据。