@acarmisc/backstage-plugin-litellm 0.19.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -9,6 +9,8 @@ export interface UserInfo {
9
9
  current_spend?: number;
10
10
  soft_limit?: number;
11
11
  hard_limit?: number;
12
+ /** Spend-reset period for max_budget, e.g. "30d". */
13
+ budget_duration?: string;
12
14
  /** Backstage-computed: true when the user belongs to litellm.audit.group */
13
15
  can_view_audit?: boolean;
14
16
  }
@@ -52,6 +54,7 @@ export interface VirtualKey {
52
54
  expires_at?: string;
53
55
  spend: number;
54
56
  max_budget?: number;
57
+ budget_duration?: string;
55
58
  tpm_limit?: number;
56
59
  rpm_limit?: number;
57
60
  models?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acarmisc/backstage-plugin-litellm",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin",
6
6
  "pluginId": "litellm",