Description
Please read this first
- Have you read the docs?Agents SDK docs YES
- Have you searched for related issues? Others may have had similar requests YES
Question
Hi, thanks for the great job!
In my situation, user chat with assistant agent and when assistant agent collect enough information, it will send a message like "hold on, i will back soon", at the same time, hand off to a search agent, the search agent finish rest task. here is my question:
-
the assistant agent can't guarantee send a message and handoff to the search agent. it usually send a message " hold on ..." but not hand off to search agent or direct handoff to search agent without send a message
-
sometime, the assistant agent will generate a message "hold on ..." and "transfer_to_search_agent..." to the user, which is not right. I hope "transfer_to_search_agent..." will never show to the user because it's work mechanism of my multi-agent system.
I have try to write the rule in my prompt and strict output_type of assistant agent, but still failed.