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

Đang mở
#1,467 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

@rohityan đang làm issue này rồi.

Từ ngày 13/11/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
Python
Star
2.2k
Fork
540
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
56

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của a2aproject/a2a-python

Tất cả issue của a2aproject/a2a-python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.