[Feat]: Update Part objects
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
調査の方向性
Part インターフェースとその実装は io.a2a.spec パッケージにあります。まず、現在の Part、DataPart、FilePart、TextPart クラスを調べます。Part に関する A2A 仕様を確認し、必須フィールド (text, raw, url, data, metadata, filename, mediaType) を理解します。既存のシリアライズ/デシリアライズのテストがないか確認します。目標は、インターフェースと 3 つのクラスを、仕様に準拠した単一の Part クラスに置き換え、Jackson などの JSON ライブラリで動作することを保証することです。
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
Hello!
I am wondering if it's possible to update the Part interface, as well as the DataPart/FilePart/TextPart implementations in io.a2a.spec, in line with the A2A specification of Part?
The main problem I am having with the current implementation is that I am having trouble doing JSON serialization/deserialization with the Part interface. Jackson/fastjson are unable to processes it.
Describe the solution you'd like
- Remove the Part interface, and DataPart/FilePart/TextPart classes.
- Add a single Part class, with text, raw, url, data, metadata, filename, mediaType fields as described in the spec.
Thanks!
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 件 ·
-
難易度 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/plugin
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
kestra-io/plugin-kestra#190 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
apache/rocketmq-dashboard#5064 ·