-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
This is not really a problem with the example but a problem with handoffs, but I will use one of the provided examples to showcase the bug.
Take for example the flight_assistant
agent, if you ask to book a flight AND a hotel on the same message, as soon as you send the required data for the search_flights
tool, the LLM will call both search_flights
and transfer_to_hotel_assistant
at the same time, causing the bug, because handoff tools are not really "prepared" to be called together with other tools.
This problem can also lead to infinite loops because the output of the non-handoff tool gets ignored when called together with a handoff tool.
Metadata
Metadata
Assignees
Labels
No labels