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: