adk-python
adk-python copied to clipboard
[BUG]: why there is no option for custom agent card url for a vertex ai A2A agent
I am cofigured agent card for my A2A agent by providing url in this way,
agent = AgentCard( name="agent-name", description="A helpful assistant agent that can answer questions.", url="https://custom.url.com/", )
then i deployed the agent.
But when i am fetching the agent card, getting url in this format(I am not getting url i mentioned while creation)
f"{base_url}/{api_version}/{self.api_resource.name}/a2a"
here is the codeblock which is setting this value https://github.com/googleapis/python-aiplatform/blob/b3bae32b8577974a113ad1dc3effb5d3a3db4fe0/vertexai/_genai/_agent_engines_utils.py#L1812
Are we not able to set custom url for in agentCard?