Skip to content

Anthropic - Token tracking for Passthrough Batch API calls #11388

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

Merged
merged 4 commits into from
Jun 4, 2025

Conversation

krrishdholakia
Copy link
Contributor

@krrishdholakia krrishdholakia commented Jun 4, 2025

new transformation config for anthropic batches

  • feat(anthropic/batches): working token tracking for anthropic batch calls via /anthropic passthrough route

  • fix(anthropic_passthrough_logging_handler.py): ruff check fixes

Copy link

vercel bot commented Jun 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 4, 2025 5:12am

@krrishdholakia krrishdholakia changed the title Litellm dev 06 03 2025 p3 Anthropic - Token tracking for Passthrough Batch API calls Jun 4, 2025
@krrishdholakia krrishdholakia merged commit e74ff23 into main Jun 4, 2025
40 of 46 checks passed
stefan-- pushed a commit to stefan--/litellm that referenced this pull request Jun 12, 2025
* fix(vertex_ai/common_utils.py): Close BerriAI#11383

* feat(anthropic/batches): transformation.py

new transformation config for anthropic batches

* feat(anthropic/batches): working token tracking for anthropic batch calls via `/anthropic` passthrough route

* fix(anthropic_passthrough_logging_handler.py): ruff check fixes
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.

[Bug]: Vertex AI any_of issues for Description and Default
1 participant