File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -76,9 +76,8 @@ async def create_runner() -> Runner:
7676
7777 # Get the agent card URL from environment variable *only*
7878 # At this point, we don't know the applications port and the host is unknown when running in k8s or similar
79- # A2A_AGENT_CARD_URL is deprecated but still supported for backwards compatibility
80- agent_card_url = os .environ .get ("AGENT_A2A_RPC_URL" , os .environ .get ("A2A_AGENT_CARD_URL" , None ))
81- logger .debug ("Using agent card url: %s" , agent_card_url )
79+ agent_card_url = os .environ .get ("AGENT_A2A_RPC_URL" , None )
80+ logger .info ("Using agent card url: %s" , agent_card_url )
8281
8382 # Build agent card
8483 card_builder = AgentCardBuilder (
@@ -87,6 +86,7 @@ async def create_runner() -> Runner:
8786 )
8887 # Build the agent card asynchronously
8988 agent_card = await card_builder .build ()
89+ logger .debug ("Built agent card: %s" , agent_card )
9090
9191 # Create the A2A Starlette application
9292 a2a_app = A2AStarletteApplication (
You can’t perform that action at this time.
0 commit comments