-
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
make default model of a constant class variable #1780
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1780 +/- ##
===========================================
+ Coverage 36.96% 61.08% +24.11%
===========================================
Files 62 62
Lines 6528 6529 +1
Branches 1447 1571 +124
===========================================
+ Hits 2413 3988 +1575
+ Misses 3921 2185 -1736
- Partials 194 356 +162
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.
LGTM, and please address gagb's comment
* make default model of a constant class variable * make default model of a constant class variable --------- Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Why are these changes needed?
It involves interactions with OpenAI's API, managing configurations, and handling assistant threads and messages, incorporating a class-level constant for the default model name improves maintainability and clarity of the code. This change allows for a centralized point of reference for the default model, making updates or modifications simpler and more straightforward.
Related issue number
Closes #1777
Checks