Problem
We cannot pass path in the while exposing a remote a2a agent.
a2a_app = to_a2a(
root_agent,
port=8007,
)
Solution
We should be able to pass path, so that we can have different url for different agent.
a2a_app = to_a2a(
root_agent,
port=8007,
path="/analysis-agent"
)
OR
We should be able to http url, If it is present host and port configurations are ignored.
a2a_app = to_a2a(
root_agent,
port=8007,
path="/analysis-agent"
)
Name - http_url
Type - str | None
Description - The public HTTP URL where this agent will be accessible. If provided, this overrides the generated URL from host/port
Default - None
Impact on your work
It would be easy to route request from ingress.
when we have multiple agents in a namespace and single ingress
Problem
We cannot pass path in the while exposing a remote a2a agent.
Solution
We should be able to pass path, so that we can have different url for different agent.
OR
We should be able to http url, If it is present host and port configurations are ignored.
Name - http_url
Type - str | None
Description - The public HTTP URL where this agent will be accessible. If provided, this overrides the generated URL from host/port
Default - None
Impact on your work
It would be easy to route request from ingress.
when we have multiple agents in a namespace and single ingress