Skip to content

feat(usage): aggregated tag daily activity endpoint + UI fallback; MCP optional; tests included #13446

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 3 commits into
base: main
Choose a base branch
from

Conversation

colesmcintosh
Copy link
Collaborator

Title

feat(usage): aggregated tag daily activity endpoint + UI fallback; MCP optional; tests included

Relevant issues

Pre-Submission checklist

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🆕 New Feature

Changes

  • Backend: add GET /tag/daily/activity/aggregated returning unpaginated daily tag activity in same shape as paginated.
  • UI: update tagDailyActivityCall to prefer aggregated endpoint and fallback to paginated when unavailable.
  • Common: make MCP field optional in breakdown aggregation.
  • Tests: add in tests/test_litellm/:
    • test_common_daily_activity_mcp_optional.py
    • test_tag_aggregated_endpoint.py

UI Demo

Loom: https://www.loom.com/share/94ce3a87ae0f4d46a673535bff558c5b?sid=1253422e-27ca-4e93-86ea-99b3dd0cfb97

…ck; make MCP field optional in daily activity; gitignore local seed script
Copy link

vercel bot commented Aug 8, 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 Aug 9, 2025 1:35am

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