-
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
Testbed can now read the OPENAI_API_KEY in addition to OAI_CONFIG_LIST #848
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #848 +/- ##
==========================================
- Coverage 29.81% 25.34% -4.48%
==========================================
Files 27 26 -1
Lines 3448 3717 +269
Branches 780 847 +67
==========================================
- Hits 1028 942 -86
- Misses 2346 2702 +356
+ Partials 74 73 -1
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.
Looks good to me.
Thanks
…_LIST (microsoft#848) Co-authored-by: Victor Dibia <[email protected]>
* fix bug related to _choice_ * remove py 3.6 * sanitize config * optimize test
…_LIST (microsoft#848) Co-authored-by: Victor Dibia <[email protected]>
Why are these changes needed?
Previously, the Testbed would only provide the OAI_CONFIG_LIST to Docker containers when running scenarios. This commit also provides the OPENAI_API_KEY environment variable.
This additional key will become useful when loading configurations provided by the Autogen Assistant, which builds its own config_list, but depends on the OPENAI_API_KEY for the api_key.
Related issue number
N/A
Checks