a2ui-project / a2ui-project/a2ui

[FEATURE]: Python's agent library should add the version number when creating an A2UI data part

未关闭 适合新手
#2,304 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
P2 status: first-line-handled
主要语言
TypeScript
星标
16.4k
派生
1.3k
平均合并
2 天 13 小时
30 天内合并 PR
134

描述

In [this code](https://github.com/a2ui-project/a2ui/blob/453bfa07b624b5b9877c47c22e235170f3e82f6f/agent_sdks/python/a2ui_agent/src/a2ui/a2a/parts.py#L34) the version number presence in the data is not checked. If it's missing - this library should add the version because it's required in 0.9 and above.

贡献指南

打开贡献指南

调研方向

The issue points to the specific file agent_sdks/python/a2ui_agent/src/a2ui/a2a/parts.py line 34. Start by examining the function that creates the data part and understand the version requirement for A2UI 0.9+. Check if the version field is present; if missing, add it. Run existing tests for the Python agent library to ensure the change doesn't break anything. Verify the change by creating a test data part and confirming the version is included.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
api, backend
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
活跃
描述清晰度
描述清楚
新手友好度
75/100

把新 issue 发到你的邮箱

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