-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Tiktoken and cost tracking issues on gpt-4o #2702
Comments
@sonichi do we not use the updated version of the tiktoken? |
We don't restrict the tiktoken version. So @Nathan-Intergral could you elaborate the old version comment? |
@sonichi Yeah the version is not restricted, its just that the version you download as part of the dependencies don't work right now, not a big deal. As i said in the original post, i simply upgraded the dependency in my personal project to fix the issue. The only real issue is the second one mentioned in token_count_utils.py |
Also I have been further testing with gpt-4o and i seem to be getting this error fairly often.
here is the full stacktrace:
i wasnt able to get the printed response returned but id be happy to try to get it if you could point me where i should put a print line |
Different version different capabilities for All AI cause the will great if enterprise version if free, still need knowledment. Learn more to model Lang |
Got it. Thanks |
Discussed in #2701
Originally posted by Nathan-Intergral May 16, 2024
Hey all,
I understand gpt-4o has just come out so apologies if you are already on it, just wanted to bring it to your attention. Of course you guys are on an older version of tiktoken which doesnt support gpt-4o yet, so the chain crashes when you try to run a GroupChat instance, i was able to fix this by just upgrading the dependency myself on my side.
Another issue is that your token_count_utils.py doesnt have gpt-4o of course so cost calculations dont work right now.
Any chance I could get a time estimate on when you will have a release updating these? Thanks!
The text was updated successfully, but these errors were encountered: