An agent delegating a task to another agent #190
Unanswered
arturgomesc
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
-
I am creating a chatbot for salespeople who want to register a new task in an existing opportunity in my company's CRM. Creating an opportunity involves three steps, each of which makes an API call. To do this, I created an Agent for each of these steps, each of which uses the API call as a tool. Each Agent must be critical of the information the user provides, judging whether the response from the API call is valid and should move on to the next step.
However, I am having difficulty finding a way for one agent to delegate the next step to another. How can I do this? Any additional configuration, classifier prompt?
Here is some Python code that I used to try to do this using ChainAgent, but it always automatically passes the task from one Agent to another, without the first Agent defining whether to advance to the next Agent or not.
Beta Was this translation helpful? Give feedback.
All reactions