Required extensions aren't enforced, so ExtensionSupportRequiredError is never raised
維護者通常 2 天內回覆
@rohityan 已經在處理了。
開始於 2026年11月13日。
評估
這個 Issue 還沒有評估資料。
描述
The spec says that when an extension is marked required: true in the Agent Card and the client doesn't declare it, the agent MUST return ExtensionSupportRequiredError (§3.3.4, and again in §4.6.3). a2a-python defines the error and maps it on every transport, but nothing in src/ raises it, so a request without a required extension goes through.
The requested extensions are already parsed into the call context, so the check would fit next to validate_input_modes (#1269) as an opt-in flag on DefaultRequestHandler, off by default so existing servers don't change. a2a-go already does this check.
I'd like to take this if that shape works for you.
- 主要語言
- Python
- 星號
- 2.2k
- 分支
- 540
- 平均合併
- 2 天 9 小時
- 30 天內合併 PR
- 56
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
a2aproject/a2a-python 的其他 Issue
-
[Bug]: `A2A-Version` validation ignores minor versions and the query parameter可能已有人在做 @rohityan 於 82 天前認領。 未關閉component: server status:awaiting response status:stale
難度 2/5 1-3 小時 新手友好度 75/100
a2aproject/a2a-python#1204 · 4 則留言 · 已指派 1 人 ·
維護者通常 2 天內回覆
-
[Bug]: REST task/request id sanitization可能重新可做 關聯的 PR 已關閉且未合併。 未關閉maintainers-only
難度 2/5 1-3 小時 新手友好度 65/100
a2aproject/a2a-python#805 · 1 則留言 ·
維護者通常 2 天內回覆
-
[Bug]: JSON-RPC client ignores the JSON-RPC error body when the HTTP status is not 2xx可能已有人在做 @rohityan 今天認領。 未關閉
a2aproject/a2a-python#1475 · 已指派 2 人 ·
維護者通常 2 天內回覆
-
[Feat]: validate_input_modes: match media ranges such as image/* declared in the agent card可能已有人在做 @rohityan 於 2 天前認領。 未關閉
a2aproject/a2a-python#1468 · 已指派 2 人 ·
維護者通常 2 天內回覆
-
[Bug]: ListTasks prints unset fields on every task (history: [] with historyLength=0, empty mediaType/filename on parts)可能已有人在做 @rohityan 於 3 天前認領。 未關閉
a2aproject/a2a-python#1461 · 已指派 1 人 ·
維護者通常 2 天內回覆
查看 a2aproject/a2a-python 的全部 Issue
相似的 Issue
-
area:security effort:S priority:P3 status:needs-triage type:chore
難度 2/5 1-3 小時 新手友好度 78/100
randomparity/kdive#3657 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
aws/mcp-proxy-for-aws#476 ·
維護者通常 1 天內回覆
-
fix(cli): a --root that does not exist exits 0 with 'Scanned 0 file(s)', so a wrong path in CI passes silently可能已有人在做 @arpanjot-coding 今天認領。 未關閉area: runtime automation bug cli code-scanning consistency developer-experience difficulty: easy github-actions good first issue help wanted json-output priority: P3 python sarif silent-failure static-analysis tests
難度 2/5 1-3 小時 新手友好度 82/100
-
ContainsOnly raises TypeError for unhashable input with set-based choices可能已有人在做 @prathamchoksi 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 84/100
marshmallow-code/marshmallow#3115 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆