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 cached tokens usage #7

Merged
merged 3 commits into from
Dec 21, 2024
Merged

Add cached tokens usage #7

merged 3 commits into from
Dec 21, 2024

Conversation

mozex
Copy link
Owner

@mozex mozex commented Dec 21, 2024

This PR will add the cached token counts (cache_creation_input_tokens and cache_read_input_tokens) to the response usage

@mozex mozex changed the title Add count tokens resource Add cached tokens usage Dec 21, 2024
@mozex mozex marked this pull request as ready for review December 21, 2024 11:04
@mozex mozex merged commit 5f9c9c7 into main Dec 21, 2024
36 checks passed
@mozex mozex deleted the add_count_token_resource branch December 21, 2024 11:04
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