Supervisor Architecture - How do I directly call a tool without any processing by the agent #4951
Unanswered
Curiosity007
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have this hierarchy maintained in my codebase - supervisor, agent a, tool a.
I am using create_supervisor method to create the supervisor with required agents, tools and custom handoff tools.
Now, the problem statement -
Supervisor gets entire message state and knows when to call agent a. Now, this agent a, should call tool a.
The problem I am facing, agent a is doing one layer of prompt processing, and then passing the paraphrased output to tool a.
What I want is, that tool a , should get the data directly, unchanged. Helps with latency, token etc.
How do I accomplish this
Beta Was this translation helpful? Give feedback.
All reactions