-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix MaxCompletionTokens typo #862
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #862 +/- ##
==========================================
+ Coverage 98.46% 99.04% +0.58%
==========================================
Files 24 26 +2
Lines 1364 1461 +97
==========================================
+ Hits 1343 1447 +104
+ Misses 15 8 -7
Partials 6 6 ☔ View full report in Codecov by Sentry. |
hey @sashabaranov could you take a look at this PR 😁 |
Thank you, it seems like this is fixed in an earlier PR! #860 |
@sashabaranov that PR did fix the json tag but leaves many typos, which I also fixed. |
Ah, got it, thanks! |
@sashabaranov fixed |
Currently API calls to o1 models are broken due to a typo in the json tag of
ChatCompletionRequest
This PR corrects the spelling of
MaxCompletionsTokens
toMaxCompletionTokens
and also fixes the json tagmax_completion_tokens
.There already exists a similar PR but it doesn't fix all occurrences of the typo.