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

Add short circuit on missing token costs #606

Merged
merged 1 commit into from
Jan 26, 2025
Merged

Conversation

krschacht
Copy link
Contributor

As Stephen pointed out in #595 there is an issue if token cost fields are nil. Detect this and short-circuit the calculation.

@krschacht krschacht merged commit f31e2da into main Jan 26, 2025
6 checks passed
@krschacht krschacht deleted the fix-token-cost-missing branch January 26, 2025 17:15
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.

1 participant