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

feat: record token usage #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: record token usage #29

wants to merge 1 commit into from

Conversation

Joilence
Copy link

@Joilence Joilence commented Mar 10, 2025

Changes:

  • Add complete response into response.response_json
  • Record token usage using response.set_usage()

simonw-llm docs:

Converse API docs:

Close #28

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.

feat: record token usage
1 participant