From cb734e18e375776b1a6e34d50920181cde305120 Mon Sep 17 00:00:00 2001 From: Paolo Dettori Date: Tue, 6 Jan 2026 16:02:16 -0500 Subject: [PATCH] fix bug in header logging Signed-off-by: Paolo Dettori --- a2a/weather_service/src/weather_service/agent.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/a2a/weather_service/src/weather_service/agent.py b/a2a/weather_service/src/weather_service/agent.py index 6e872b6..3580f8e 100644 --- a/a2a/weather_service/src/weather_service/agent.py +++ b/a2a/weather_service/src/weather_service/agent.py @@ -94,10 +94,6 @@ async def execute(self, context: RequestContext, event_queue: EventQueue): """ The agent allows to retrieve weather info through a natural language conversational interface """ - - # Log authorization header for debugging - auth_header = context.call_context.get("authorization") if hasattr(context, 'call_context') else None - logger.info(f"🔐 Authorization header received: {auth_header[:50] + '...' if auth_header and len(auth_header) > 50 else auth_header}") # Setup Event Emitter task = context.current_task