From d1e93bb1dbc60b9780f96f4aadc2c46c11b159cd Mon Sep 17 00:00:00 2001 From: Axel Suarez Martinez Date: Fri, 3 Apr 2026 15:15:20 -0700 Subject: [PATCH] Adding fix for incorrectly creating an mcs connector --- .../hosting/core/rest_channel_service_client_factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/rest_channel_service_client_factory.py b/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/rest_channel_service_client_factory.py index 3497ef47..1b9b3dc5 100644 --- a/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/rest_channel_service_client_factory.py +++ b/libraries/microsoft-agents-hosting-core/microsoft_agents/hosting/core/rest_channel_service_client_factory.py @@ -134,7 +134,7 @@ async def create_connector_client( context and context.activity.recipient and context.activity.recipient.role == RoleTypes.connector_user - ) or service_url.startswith("https://pvaruntime"): + ): return MCSConnectorClient( endpoint=service_url, )