[Feat]: Callback for completed sendMessage request
还没有人认领这个 Issue。
评估
调研方向
查看客户端代码中的 sendMessage 方法和事件处理系统。了解 ClientEvent 类型是如何定义的,以及消费者是如何添加的。检查项目中是否已有 completable futures 或响应式接口的现有模式。确定对于不同结果(已完成、失败、中断),'finalized' 分别意味着什么。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
When I implement the a2a client and send a message/prompt to the remote agent (LLM), then I want to know when my request has been handled completely. With the hello world example server, I get one message event and that is all. In case of streaming I have no reliable way to determine if I should expect further events or if the connection has already been closed.
Describe the solution you'd like
I just need a reliable event/callback/notification that is triggered when the processing of my request has finalized (completed, failed, connection interrupted...). It could be another consumer that I can add as a third consumer parameter, it could be a new kind of ClientEvent, the sendMessage method could return a CompletableFuture object, there could be a reactive interface using Mono/Flux from Project Reactor...
Describe alternatives you've considered
No response
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- 主要语言
- Java
- 星标
- 495
- 派生
- 174
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 48
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
a2aproject/a2a-java 的其他 Issue
-
[Bug]: NullPointerException in A2ACommonFieldMapper when a struct field has an explicit null value 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
a2aproject/a2a-java#1160 · 1 条评论 · 2 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 75/100
a2aproject/a2a-java#1142 · 已指派 1 人 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
a2aproject/a2a-java#1012 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
a2aproject/a2a-java#464 · 1 条评论 ·
-
sample
难度 2/5 1-3 小时 新手友好度 70/100
a2aproject/a2a-java#375 · 5 条评论 · 已指派 1 人 ·
查看 a2aproject/a2a-java 的全部 Issue
相似的 Issue
-
area-deployment area-integrations triage:bot-seen
难度 2/5 半天 新手友好度 86/100
-
难度 2/5 1-3 小时 新手友好度 75/100
apache/flink-agents#1156 ·
-
area/connectors autoteam community connectors/source/shopify needs-triage team/use type/bug
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 85/100