Skip to content

'num_tokens_from_messages() is not implemented for model gemini-2.5-flash. #227

@KaminariOS

Description

@KaminariOS
'num_tokens_from_messages() is not implemented for model gemini-2.5-flash.\n            See https://github.com/openai/openai-python/blob/main/chatml.md for how messages are converted to tokens.'

The link in the error message no longer exists

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions