jmlopez-smith / autogen

Enable Next-Gen Large Language Model Applications. Join our Discord: https://discord.gg/pAbnFJrkgZ
https://microsoft.github.io/autogen/
Creative Commons Attribution 4.0 International
0 stars 0 forks source link

Sweep: add version parameter to GroupChat #3

Open jmlopez-smith opened 11 months ago

jmlopez-smith commented 11 months ago

The class is in autogen/agentchat/groupchat.py file

The version parameter needs to be passed by constructor.

Checklist - [X] ``autogen/agentchat/groupchat.py:GroupChat`` ✅ Commit 96272fc
sweep-smith-test[bot] commented 11 months ago
Sweeping

50%

Actions (click)


❌ Unable to Complete PR

I'm sorry, but it looks like an error has occurred. Try changing the issue description to re-trigger Sweep. If this error persists report it at https://discord.gg/sweep.

For bonus GPT-4 tickets, please report this bug on Discord.


Please look at the generated plan. If something looks wrong, please add more details to your issue.

File Path Proposed Changes
autogen/agentchat/groupchat.py:GroupChat Modify autogen/agentchat/groupchat.py with contents:
• Add a new parameter version to the __init__ method of the GroupChat class. The type of this parameter should be Optional[str] and it should default to None.
• Add a new attribute version to the GroupChat class. The type of this attribute should be Optional[str].
• In the __init__ method of the GroupChat class, assign the version parameter to the version attribute.

🎉 Latest improvements to Sweep:


💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request.