diff --git a/apim-apk-agent/internal/messaging/notification_listener.go b/apim-apk-agent/internal/messaging/notification_listener.go index 0276842f..08c4a4df 100644 --- a/apim-apk-agent/internal/messaging/notification_listener.go +++ b/apim-apk-agent/internal/messaging/notification_listener.go @@ -130,9 +130,7 @@ func processNotificationEvent(conf *config.Config, notification *msg.EventNotifi handlePolicyEvents(decodedByte, eventType, c) } } else if strings.Contains(eventType, aiProviderEventType) { - if AgentMode == "CPtoDP" { - handleAIProviderEvents(decodedByte, eventType, c) - } + handleAIProviderEvents(decodedByte, eventType, c) } // other events will ignore including HEALTH_CHECK event return nil