-
Notifications
You must be signed in to change notification settings - Fork 322
Closed
Labels
Description
Is your feature request related to a problem? Please describe.
Right now, we need to supply a URL in the agent card, which means you already know its host and port. This is fine for static ports, but especially in small demos or e2e tests is less elegant.
Describe the solution you'd like
it would be nice to use port=0 and resolve AgentCard.url based on the bound port. This could be automatic, for example, to backfill it when absent with the uvicorn address
Describe alternatives you've considered
search for an open port and use that, or patch A2AStarletteApplication or JSONRPCHandler
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct