From 9468ec9b9643dfad32bf3fafd119c0cec9657a7c Mon Sep 17 00:00:00 2001 From: Leela Karthik Uttarkar Date: Thu, 5 Feb 2026 23:38:00 +0530 Subject: [PATCH] Rename function clean_conversation_for_handoff to clean_conversation --- .../core/agent_framework/_workflows/_orchestrator_helpers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/packages/core/agent_framework/_workflows/_orchestrator_helpers.py b/python/packages/core/agent_framework/_workflows/_orchestrator_helpers.py index 0d74f53c39..77c7178db6 100644 --- a/python/packages/core/agent_framework/_workflows/_orchestrator_helpers.py +++ b/python/packages/core/agent_framework/_workflows/_orchestrator_helpers.py @@ -12,8 +12,7 @@ logger = logging.getLogger(__name__) - -def clean_conversation_for_handoff(conversation: list[ChatMessage]) -> list[ChatMessage]: +def clean_conversation(conversation: list[ChatMessage]) -> list[ChatMessage]: """Remove tool-related content from conversation for clean handoffs. During handoffs, tool calls can cause API errors because: