[Feat]: passing call context to unauthenticated card modifier
@ishymko ci sta già lavorando.
Dal 30/6/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Esamina le funzioni modifier delle agent card nella codebase, probabilmente in un file che gestisce gli endpoint o i modifier degli agenti. Confronta le signature dei modifier normali ed estesi. La modifica consiste nell’aggiungere un parametro di contesto della chiamata alla funzione modifier normale. Controlla l’issue #647 per il lavoro correlato. Assicura la compatibilità all’indietro gestendo i modifier con un parametro. Verifica modificando una agent card in modo che utilizzi una parte dinamica dell’URL della richiesta.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is your feature request related to a problem? Please describe.
We are wondering if support can be added for passing the call context to the regular agent card modifier, just as it is for the extended card modifier.
Describe the solution you'd like
Agent card modifiers should be given a second parameter for the call context, matching the signature of extended agent card modifiers.
Describe alternatives you've considered
We can construct our own Application and Adapter classes to override the get agent card endpoint handling, but this is cumbersome and hard to maintain.
Additional context
I guess we're also wondering if this is intentional - i.e. if agent cards should not depend on anything from the call context. In our case, we want to use part of the request URL (which is dynamic) as part of the url field in the response. Also, if we work to add support for this (like in #647), do we have to make the change backwards compatible and support modifiers that don't take in the call context (i.e. only have one parameter for the agent card to be modified)? I think anything goes as long as we're on the 0.X.Y versions (i.e. anything below 1.0), but just want to make sure.
As with #647 I am more than willing to lead development on this.
Code of Conduct
- I agree to follow this project's Code of Conduct
- Lingua principale
- Python
- Stelle
- 2.2k
- Fork
- 496
- Merge medio
- 1g 23h
- PR unite (30g)
- 16
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di a2aproject/a2a-python
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
a2aproject/a2a-python#1261 ·
-
component: server status:awaiting response
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
a2aproject/a2a-python#1237 · 1 commento · 1 assegnatario ·
-
[Bug]: In-memory push store keeps the caller object so later mutations rewrite stored webhooks Apertacomponent: server status:awaiting response status:stale
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
a2aproject/a2a-python#1215 · 2 commenti · 1 assegnatario ·
-
component: server status:awaiting response status:stale
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
a2aproject/a2a-python#1205 · 3 commenti · 1 assegnatario ·
-
component: server status:awaiting response status:stale
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
a2aproject/a2a-python#1204 · 2 commenti · 1 assegnatario ·
Tutte le issue di a2aproject/a2a-python
Issue simili
-
documentation help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
simonw/sqlite-utils#872 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100