8000 Add support for response_cost for LiteLLM model for non streaming response by thetushargoyal · Pull Request #198 · google/adk-python · GitHub
[go: up one dir, main page]

Skip to content

Add support for response_cost for LiteLLM model for non streaming response #198

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

Closed
wants to merge 4 commits into from

Conversation

thetushargoyal
Copy link

No description provided.

@Adithya-Krishnan-AK
Copy link

This is helpful feature to add, is it possible to extend to include usage_metadata with input and output token details from LiteLLM.

@thetushargoyal
Copy link
Author

@Adithya-Krishnan-AK > This is helpful feature to add, is it possible to extend to include usage_metadata with input and output token details from LiteLLM.

definitely, this can be added. @hangfei @Jacksunwei can I take up this issue officially and add full end to end support for this. I can send a plan before starting and once approved can start working on it.

@hangfei hangfei requested a review from selcukgun May 30, 2025 21:45
@hangfei
Copy link
Collaborator
hangfei commented May 30, 2025

@thetushargoyal thanks for your contribution. This is supported with latest wheel. If you still see any issues, please re-open.

@hangfei hangfei closed this May 30, 2025
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.

3 participants
0