-
Notifications
You must be signed in to change notification settings - Fork 5k
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
[Bug]: Example04_Dynamic_GroupChat_Coding_Task throwing exception #2970
Comments
@teeshajain17 Your api-key is exposed in your previous screenshot, I just update the image to remove the api-key part. In the meantime, please deprecate your current api-key ASAP |
Sure. Thanks |
@teeshajain17 Maybe try a better llm (gpt-4) and see if the error persist? Example-04 is one of the "challenging" tasks that may require a more powerful LLM to complete. |
Okay. let me try that. |
It worked. Thanks! Could you suggest a simple example that demonstrates the functionality of the group chat feature and can be accomplished by GPT-3.5? |
@teeshajain17 Am working on it, you can track progress in #2859. Also feel free to add sample request under that issue |
@LittleLittleCloud Can I help in any way? I would love to contribute. |
@teeshajain17 Of course, I can add you as reviewer once the PR is ready. In the meantime the remaining imcomplete samples are the below two, let me know which one you want to take. Also feel free to edit the task list by adding the sample you want to create and assign that sample to yourself. |
I'm unsure about what to do exactly and how to create these sample examples because I've just started learning Autogen. However, please include me as a reviewer in the pull request. |
Describe the bug
I was running this example in my system and it is throwing error.
https://github.com/microsoft/autogen/blob/ca4f7176169d5f40b5e7570aab7dce4a37bd088f/dotnet/sample/AutoGen.BasicSamples/Example04_Dynamic_GroupChat_Coding_Task.cs
Steps to reproduce
No response
Model Used
gpt-3.5
Expected Behavior
It shouldn't throw exception
Screenshots and logs
Details:
System.InvalidOperationException
d__0.MoveNext() in C:\Users\91701\source\repos\TestAutoGen\TestAutoGen\Program.cs:line 7HResult=0x80131509
Message=Sequence contains no matching element
Source=System.Linq
StackTrace:
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.First[TSource](IEnumerable
1 source, Func
2 predicate)at AutoGen.Core.GroupChat.d__10.MoveNext()
at AutoGen.Core.GroupChat.d__12.MoveNext()
at AutoGen.Core.AgentExtension.d__6.MoveNext()
at AutoGen.Core.AgentExtension.d__2.MoveNext()
at AutoGen.Core.AgentExtension.d__3.MoveNext()
at Example04_Dynamic_GroupChat_Coding_Task.d__0.MoveNext() in C:\Users\91701\source\repos\TestAutoGen\TestAutoGen\Example04_Dynamic_GroupChat_Coding_Task.cs:line 250
at Program.
Additional Information
No response
The text was updated successfully, but these errors were encountered: