Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Feat]: Callback for completed sendMessage request

オープン
#310 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java
領域
api, backend

調査の方向性

クライアントコードのsendMessageメソッドとイベント処理システムを確認します。ClientEvent型がどのように定義され、consumerがどのように追加されるかを理解します。プロジェクト内に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時間
マージ済み PR(30日)
48

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

a2aproject/a2a-java のほかの issue

a2aproject/a2a-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。