Repository navigation
feat(grid): bring back grid usage with its spend chart - #187
Closed
youngzheng-oss wants to merge 1 commit into
Closed
youngzheng-oss wants to merge 1 commit into
youngzheng-oss wants to merge 1 commit into
Conversation
Reverts "Fold grid usage into grid route usage" (b6516e5 in #169), which dropped the command showing your spend in each team against your limit there, the daily chart, and the per-model list with the top five models and "other" (#167). grid route usage never grew a chart or a limit line, so this restores grid usage as it was, on the Grid API: teams from GET /v1/teams and your settings in each from GET /v1/grid/team_settings/users/me. The usage test helpers go back to command.grid_usage_test.go, which grid route usage's tests share. Claude-Session: https://claude.ai/code/session_01NWBCrJFG8msRVeZnny39uT
Contributor
Author
|
Closing: wrong approach. The chart belongs in |
Collaborator
|
Deleting branch (can be restored if needed) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Brings back
baseten grid usage, which #169 removed inadvertentlyTeams come from
GET /v1/teamsand your settings in each fromGET /v1/grid/team_settings/users/me, so the removed user-teams endpoint is not used.Against prod with a team admin account:
How
git revert b6516e5, which applied cleanly. The three restored files are byte-identical to the tree before the removal.