Skip to content

Conversation

@dot-agi
Copy link
Member

@dot-agi dot-agi commented Mar 25, 2025

Minor fix for tokenizing the "o" series models and calculating their costs.

Resolves false positive KeyError when model does not implement num_tokens_from_messages().

@dot-agi dot-agi merged commit 7f1b905 into main Mar 25, 2025
1 of 2 checks passed
@dot-agi dot-agi deleted the fix/openai-o-models-costs branch May 11, 2025 00:27
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.

2 participants