From 36bee57364f5f4ff11ec2301ee4f07d295475951 Mon Sep 17 00:00:00 2001 From: Audric Schiltknecht Date: Tue, 16 Sep 2025 11:05:09 -0400 Subject: [PATCH] Python: Published HandoffRequest message had no cancellation token attached --- python/semantic_kernel/agents/orchestration/handoffs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/semantic_kernel/agents/orchestration/handoffs.py b/python/semantic_kernel/agents/orchestration/handoffs.py index 569c0598188a..cb9cc5e0dfad 100644 --- a/python/semantic_kernel/agents/orchestration/handoffs.py +++ b/python/semantic_kernel/agents/orchestration/handoffs.py @@ -279,6 +279,7 @@ async def _handle_request_message(self, message: HandoffRequestMessage, cts: Mes await self.publish_message( HandoffRequestMessage(agent_name=self._handoff_agent_name), TopicId(self._internal_topic_type, self.id.key), + cancellation_token=cts.cancellation_token, ) self._handoff_agent_name = None break