Skip to content

Store and visualize use-case, model, token usage #1118

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

maekawataiki
Copy link
Collaborator

Description of Changes

  • Store token usage in Message
  • Aggregate token usage by day
  • Create Stats page to visualize statistics of use-case, model, and token usage
  • Note: Token usage is not counted for Agent, RAG, Flow, Voice Chat, Image Generation

Checklist

  • Modified relevant documentation
  • Verified operation in local environment
  • Executed npm run cdk:test and if there are snapshot differences, execute npm run cdk:test:update-snapshot to update snapshots

Related Issues

#283, #1064

@tbrand tbrand added the minor Changes equivalent to a minor version increment label Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Changes equivalent to a minor version increment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants