-
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
2147 - Fix notebook bug to make a copy of configs for each agent #2176
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2176 +/- ##
=======================================
Coverage 37.83% 37.83%
=======================================
Files 77 77
Lines 7766 7766
Branches 1663 1663
=======================================
Hits 2938 2938
Misses 4579 4579
Partials 249 249
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. there are also other notebooks having similar issues. Do you want to handle them in a separate PR? #2139
Can we do it in another ticket so we can close this one. I will setup another ticket to go through the rest of the tutorials, thanks! On Mar 28, 2024, at 11:00 AM, Eric Zhu ***@***.***> wrote:
@ekzhu requested changes on this pull request.
Thanks for the PR. there are also other notebooks having similar issues. Do you want to handle them in a separate PR? #2139
In notebook/agentchat_groupchat_RAG.ipynb:
@@ -117,27 +117,30 @@
" description=\"Assistant who has extra content retrieval power for solving difficult problems.\",\n",
")\n",
"\n",
+ "coder_llm_config=llm_config.copy()\n",
Instead of making a copy which is not obvious from a quick skim of the code, we should create separate llm_cong in the constructor, and have them share the same config_list in a separate cell in the beginning.
E.g.,
AssistantAgent(
name = "product manager",
llm_config={"config_list": config_list},
)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Yes. That's my suggestion earlier as well. Let's finish this PR quickly and open a different one for the rest of the notebooks. BTW you can run |
* try fix groupchat llm_config * Update agentchat_groupchat_RAG.ipynb * use better config options * formatting --------- Co-authored-by: i <[email protected]> Co-authored-by: Li Jiang <[email protected]> Co-authored-by: Jason <[email protected]> Co-authored-by: Eric Zhu <[email protected]>
…rosoft#2176) * try fix groupchat llm_config * Update agentchat_groupchat_RAG.ipynb * use better config options * formatting --------- Co-authored-by: i <[email protected]> Co-authored-by: Li Jiang <[email protected]> Co-authored-by: Jason <[email protected]> Co-authored-by: Eric Zhu <[email protected]>
Fix notebook bug to make a copy of configs for each agent.
Why are these changes needed?
Related issue number
"Closes #2147"
Checks