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

Offen
#1,467 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

@rohityan arbeitet bereits daran.

Seit 13.11.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
2.2k
Forks
540
Ø Merge
2 T. 9 Std.
Gemergte PRs (30 T.)
56

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus a2aproject/a2a-python

Alle Issues in a2aproject/a2a-python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.