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

count_tokens_vision() is not implemented for model gpt-4o. #616

Closed
delfer opened this issue Jul 6, 2024 · 2 comments
Closed

count_tokens_vision() is not implemented for model gpt-4o. #616

delfer opened this issue Jul 6, 2024 · 2 comments

Comments

@delfer
Copy link

delfer commented Jul 6, 2024

2024-07-06 06:16:51,942 - root - ERROR - Exception while handling an update: ⚠️ _Произошла ошибка._ ⚠️
count_tokens_vision() is not implemented for model gpt-4o.
@BiSKonti
Copy link

In openai_helper.py just add "gpt-4o-mini" in GPT_4_VISION_MODELS (line 29).

@n3d1117
Copy link
Owner

n3d1117 commented Dec 28, 2024

Should be fixed now in main branch

@n3d1117 n3d1117 closed this as completed Dec 28, 2024
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

No branches or pull requests

3 participants