From a2e69018925d80f3383c3abb4aefdace638ce8ee Mon Sep 17 00:00:00 2001 From: Greyson LaLonde Date: Mon, 5 Jan 2026 22:50:27 -0500 Subject: [PATCH] chore: remove unused authentication field from PushNotificationConfig --- .../src/crewai/a2a/updates/push_notifications/config.py | 5 ----- .../src/crewai/a2a/updates/push_notifications/handler.py | 1 - 2 files changed, 6 deletions(-) diff --git a/lib/crewai/src/crewai/a2a/updates/push_notifications/config.py b/lib/crewai/src/crewai/a2a/updates/push_notifications/config.py index b37ed67d3..c354dd140 100644 --- a/lib/crewai/src/crewai/a2a/updates/push_notifications/config.py +++ b/lib/crewai/src/crewai/a2a/updates/push_notifications/config.py @@ -4,7 +4,6 @@ from __future__ import annotations from pydantic import AnyHttpUrl, BaseModel, Field -from crewai.a2a.auth.schemas import AuthScheme from crewai.a2a.updates.base import PushNotificationResultStore @@ -15,7 +14,6 @@ class PushNotificationConfig(BaseModel): url: Callback URL where agent sends push notifications. id: Unique identifier for this config. token: Token to validate incoming notifications. - authentication: Auth scheme for the callback endpoint. timeout: Max seconds to wait for task completion. interval: Seconds between result polling attempts. result_store: Store for receiving push notification results. @@ -24,9 +22,6 @@ class PushNotificationConfig(BaseModel): url: AnyHttpUrl = Field(description="Callback URL for push notifications") id: str | None = Field(default=None, description="Unique config identifier") token: str | None = Field(default=None, description="Validation token") - authentication: AuthScheme | None = Field( - default=None, description="Authentication for callback endpoint" - ) timeout: float | None = Field( default=300.0, gt=0, description="Max seconds to wait for task completion" ) diff --git a/lib/crewai/src/crewai/a2a/updates/push_notifications/handler.py b/lib/crewai/src/crewai/a2a/updates/push_notifications/handler.py index 8217cf391..933797aee 100644 --- a/lib/crewai/src/crewai/a2a/updates/push_notifications/handler.py +++ b/lib/crewai/src/crewai/a2a/updates/push_notifications/handler.py @@ -53,7 +53,6 @@ def _build_a2a_push_config(config: PushNotificationConfig) -> A2APushNotificatio url=str(config.url), id=config.id, token=config.token, - authentication=None, )