Skip to content

[.Net][Bug]: GroupChat #2624

Closed
Closed
@xuzeyu91

Description

@xuzeyu91

Describe the bug

I often encounter issues when using group chats
"Sequence contains no matching element"

Steps to reproduce

   var groupChat = new GroupChat(
       admin: admin,
       members: agentList.ToArray()
   );
   userProxyAgent.SendIntroduction("Our group chat is about to start", groupChat);

   groupChatManager = new GroupChatManager(groupChat);

   var conversationHistory = await userProxyAgent.InitiateChatAsync(
         receiver: groupChatManager,
         message: msg,
         maxRound: 30);

This is my code, I used 2 custom GPTAgents, a UserProxyAgent as my input, and an Admin's GPTAgent
This error often occurs when starting a group chat:
Sequence contains no matching element
It seems to have happened earlier, and I'm not sure what logic is contained inside

Model Used

No response

Expected Behavior

No response

Screenshots and logs

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.2Issues which are related to the pre 0.4 codebaseneeds-triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions