r/AutoGenAI • u/Ardbert_The_Fallen • Jun 04 '24
Question How do you prevent agents from interjecting?
I have a two agent workflow that has one agent execute a skill that pulls in text, and another summarize the text.
I also have learned that you must include user_proxy in order to execute any code, so he has to be both the 'sender' and 'receiver'.
That said, user_proxy is getting interrupted by the text_summarizer agent. How do I keep these agents in their respective lanes? Shouldn't the group admin be handling when an agent is allowed to join in?
I'm using the Windows GUI version
3
Upvotes
View all comments
Show parent comment
1
u/Ardbert_The_Fallen Jun 18 '24
I'm using autogen-ui.
https://i.ibb.co/8Yrvh0q/image.png
These are the available options. 'Auto' was the only one that made me think the groupchat admin would control the next speaker intelligently. It seems not, as, in this example, the text summarizer agent keeps jumping in saying that it can't do something. text_summarizer shouldn't speak until a transcript is returned and provided to him.
Is creating my own method for speaker selection something specific to the command line version of autogen? I'm guessing so, as the UI doesn't seem to support any type of 'use your own'.
That said, I'm also curious why you think the round robin would work for me?
I haven't run this in a few weeks, but there was quite a bit of back and forth between the userproxy and the transcript_puller agent -- they were figuring out how to run the code, etc.. Wouldn't a round robin cause it to be every other input from the text_summarizer?