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

Image tokens calculation: add for GPT-4v, 4o, 4o-mini #57

Merged
merged 7 commits into from
Oct 20, 2024

Conversation

BabyCNM
Copy link
Collaborator

@BabyCNM BabyCNM commented Oct 5, 2024

We never calculate the number of tokens for images in the past.

Now, we can include this feature for all existing GPT models.

Why are these changes needed?

Related issue number

Checks

Copy link

@qingyun-wu qingyun-wu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thank you!

@qingyun-wu qingyun-wu added this pull request to the merge queue Oct 20, 2024
Merged via the queue into autogenhub:main with commit a81a6a7 Oct 20, 2024
154 of 164 checks passed
odoochain pushed a commit to odoochain/autogen that referenced this pull request Nov 10, 2024
* Fix function tools

* lint
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.

3 participants