Skip to content
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

Added new models to token_count_utils #1511

Merged
merged 2 commits into from
Feb 2, 2024
Merged

Conversation

afourney
Copy link
Member

@afourney afourney commented Feb 1, 2024

Why are these changes needed?

Added gpt-4-0125-preview and gpt-4-turbo-preview to token_count_utils.

@codecov-commenter
Copy link

codecov-commenter commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5eaf712) 33.08% compared to head (b31e51d) 45.62%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1511       +/-   ##
===========================================
+ Coverage   33.08%   45.62%   +12.53%     
===========================================
  Files          42       42               
  Lines        5048     5048               
  Branches     1156     1223       +67     
===========================================
+ Hits         1670     2303      +633     
+ Misses       3250     2561      -689     
- Partials      128      184       +56     
Flag Coverage Δ
unittests 45.54% <ø> (+12.50%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@afourney afourney marked this pull request as draft February 2, 2024 00:55
@afourney afourney removed request for a team and qingyun-wu February 2, 2024 00:56
@afourney afourney requested review from cheng-tan and a team February 2, 2024 01:13
@afourney afourney marked this pull request as ready for review February 2, 2024 01:13
@sonichi sonichi added this pull request to the merge queue Feb 2, 2024
Merged via the queue into main with commit b0c1f8d Feb 2, 2024
46 of 56 checks passed
@sonichi sonichi deleted the add_limit_for_new_oai_models branch February 2, 2024 04:40
whiskyboy pushed a commit to whiskyboy/autogen that referenced this pull request Apr 17, 2024
* Added new models to token_count_utils

* Added token costs for new models.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants