Open notintricate opened 4 months ago
@notintricate Hi there! 👋
The vision model name has been updated. You just need to change it to gpt-4o. This should resolve your issue.
Exception while handling an update:
count_tokens_vision() is not implemented for model gpt-4o.
Exception while handling an update: count_tokens_vision() is not implemented for model gpt-4o.
Hello! You can simply add your new model to the tuple to avoid this exception. https://github.com/n3d1117/chatgpt-telegram-bot/blob/02b2b97e9dddfbe78e7f9dc6565ebf4d83b5d684/bot/openai_helper.py#L698
here is initialization https://github.com/n3d1117/chatgpt-telegram-bot/blob/02b2b97e9dddfbe78e7f9dc6565ebf4d83b5d684/bot/openai_helper.py#L29
Also you cat wait for this PR merging https://github.com/n3d1117/chatgpt-telegram-bot/pull/583
can't make vision working