@acarmisc/backstage-plugin-litellm 0.9.0 → 0.10.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
@@ -47,6 +47,8 @@ export interface ModelInfo {
47
47
  supports_vision?: boolean;
48
48
  input_cost_per_token?: number;
49
49
  output_cost_per_token?: number;
50
+ max_input_tokens?: number;
51
+ max_output_tokens?: number;
50
52
  }
51
53
  export interface UsageModelBreakdown {
52
54
  total_spend: number;
@@ -113,6 +115,10 @@ export interface GenerateKeyRequest {
113
115
  tpm_limit?: number;
114
116
  rpm_limit?: number;
115
117
  key_type?: string;
118
+ /** When true, LiteLLM rotates the key on a schedule. */
119
+ auto_rotate?: boolean;
120
+ /** Rotation interval in days (LiteLLM-enforced when auto_rotate is true). */
121
+ rotation_interval_days?: number;
116
122
  }
117
123
  export interface UpdateKeyRequest {
118
124
  key_alias?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acarmisc/backstage-plugin-litellm",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "backstage": {
5
5
  "role": "frontend-plugin",
6
6
  "pluginId": "litellm",