Skip to content

Commit 2907aa3

Browse files
committed
refactor: Simplify logging
1 parent 1dd9adc commit 2907aa3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

adk/agenticlayer/agent_to_a2a.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,8 @@ async def create_runner() -> Runner:
7878
# At this point, we don't know the applications port and the host is unknown when running in k8s or similar
7979
# A2A_AGENT_CARD_URL is deprecated but still supported for backwards compatibility
8080
agent_card_url = os.environ.get("AGENT_A2A_RPC_URL", os.environ.get("A2A_AGENT_CARD_URL", None))
81-
logger.debug(f"Using agent card url: {agent_card_url}")
81+
logger.debug("Using agent card url: %s", agent_card_url)
8282

83-
logger.debug("Setting up A2A app")
8483
# Build agent card
8584
card_builder = AgentCardBuilder(
8685
agent=agent,

0 commit comments

Comments
 (0)