We have a manager Agent and a number of collaborator agents, including one collaborator that calls a tool to create a PDF document and return it to the chat UI as a PDF.
If we test this in the collaborator agent, the link to Output.PDF is shown as a Document Link button.
If we test this in the Manager agent, which will be the agent users interact with, the response takes significantly longer, painfully longer and we get a long URL string. and do not get the document link button.
Why is the same Answer behaving differently in the Manager agent?
Why are we not getting the document link? Is there an instruction that we can include that will make sure Orchestrate uses the same document link it uses in the collaborator agent?
Why is it so much slower in the Manager agent?
- The collaborator agent took 19 seconds to return the hyperlink and format it as a button.
- The manager agent calling the collaborator took 35 seconds to return the hyperlink.
A more general question is why behavior of our agents in general is different when called from the manager agent? We are getting inconsistent results within an agent, but when we build a collaborator and then add it to the manager, behavior is not the same.
My main question for this case though is why the document link button is not showing up for the task in the manager (main) agent?