You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, I created a query_agent that can invoke tools. There is also an assistants_agent that has control over the conversation.
If I use handoffs = [query_agent] in the assistants_agent, it can invoke tools well and pass the correct parameters, but this causes the assistants_agent to lose control of the conversation.
I tried using tools = [query_agent.as_tool] in the assistants_agent, but the performance of invoking tools deteriorated, and the parameters passed were not always correct.
Is this normal? How can I solve it?
The text was updated successfully, but these errors were encountered:
Since assistants_agent might handle other sub-tasks and needs to output the results of those sub-tasks, I have to give it control of the conversation.
Maybe I can pass the output of assistants_agent to query_agent as well, and let query_agent make the final output ?
Although I solved this problem, I still want to know why they behave differently. When using 'query_agent.as_tool', the instructions in query_agent do not seem to take effect.
hi, I created a query_agent that can invoke tools. There is also an assistants_agent that has control over the conversation.
If I use handoffs = [query_agent] in the assistants_agent, it can invoke tools well and pass the correct parameters, but this causes the assistants_agent to lose control of the conversation.
I tried using tools = [query_agent.as_tool] in the assistants_agent, but the performance of invoking tools deteriorated, and the parameters passed were not always correct.
hi, I created a
query_agent
that can invoke tools. There is also anassistants_agent
that has control over the conversation.If I use
handoffs = [query_agent]
in theassistants_agent
, it can invoke tools well and pass the correct parameters, but this causes theassistants_agent
to lose control of the conversation.I tried using
tools = [query_agent.as_tool]
in theassistants_agent
, but the performance of invoking tools deteriorated, and the parameters passed were not always correct.Is this normal? How can I solve it?
The text was updated successfully, but these errors were encountered: