-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Groupchat send introductions #961
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #961 +/- ##
===========================================
+ Coverage 39.62% 67.81% +28.18%
===========================================
Files 57 57
Lines 6006 6021 +15
Branches 1338 1461 +123
===========================================
+ Hits 2380 4083 +1703
+ Misses 3433 1569 -1864
- Partials 193 369 +176
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@jackgerrits @ekzhu we should consider this PR for generalizing the issue that we also identified for executors + two agents. |
@afourney how do you benchmark that improvements were made? was there a published article? and how are we able to get access to the introduction message? thanks! |
* indentation space microsoft#884 changing indentation of python code blocks * indentation space microsoft#884 changing indentation of python code blocks 2
* Allow the GroupChatManager to send introductions. * Fixed function name. * Added test cases for sending introductions. * Trying to sort out why remote pytest is failing. * Fixed broken plugin behavior. * Update autogen/agentchat/groupchat.py Co-authored-by: Chi Wang <[email protected]> * Updated as per Chi's suggestions. --------- Co-authored-by: Chi Wang <[email protected]> Co-authored-by: Eric Zhu <[email protected]>
Why are these changes needed?
By default, only the GroupChatManager knows the full list of agents participating in a GroupChat discussion. This can be problematic, as an agent may make different choices if it knows who else is present. For example, an assistant my choose to write code to crawl a webpage if there is no web_surfer agent present, but may instead ask the web_surfer to fetch the website when they are present.
This PR adds an optional flag (False by default) for the GroupChatManager to send a round of introductions to agents before a conversation starts. These introductions do not require LLM calls and do not count toward max_round.
Related issue number
N/A
Checks