Required extensions aren't enforced, so ExtensionSupportRequiredError is never raised

未關閉
#1,467 1 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 2 天內回覆

@rohityan 已經在處理了。

開始於 2026年11月13日。

評估

這個 Issue 還沒有評估資料。

描述

component: server status:awaiting response

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

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

a2aproject/a2a-python 的其他 Issue

查看 a2aproject/a2a-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。