@acarmisc/backstage-plugin-litellm 0.25.0 → 0.26.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/README.md +3 -2
- package/dist/SearchInput.d.ts +1 -0
- package/dist/components/GenerateKeyDialog.d.ts +8 -7
- package/dist/components/KeyFormDialog.d.ts +42 -0
- package/dist/components/KeysTable.d.ts +4 -5
- package/dist/components/SearchInput.d.ts +9 -0
- package/dist/index.cjs.js +210 -217
- package/dist/index.cjs.js.map +4 -4
- package/dist/index.d.ts +2 -0
- package/dist/index.esm.js +209 -216
- package/dist/index.esm.js.map +4 -4
- package/dist/types.d.ts +4 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -65,6 +65,8 @@ export interface VirtualKey {
|
|
|
65
65
|
rpm_limit?: number;
|
|
66
66
|
models?: string[];
|
|
67
67
|
user_id?: string;
|
|
68
|
+
/** Team the key is bound to, when any (used to scope the model picker). */
|
|
69
|
+
team_id?: string;
|
|
68
70
|
blocked?: boolean;
|
|
69
71
|
}
|
|
70
72
|
export interface ModelInfo {
|
|
@@ -148,7 +150,8 @@ export interface GenerateKeyRequest {
|
|
|
148
150
|
export interface UpdateKeyRequest {
|
|
149
151
|
key_alias?: string;
|
|
150
152
|
models?: string[];
|
|
151
|
-
|
|
153
|
+
/** Positive number caps spend; null clears it (unlimited, gated by allowUnlimitedBudget). */
|
|
154
|
+
max_budget?: number | null;
|
|
152
155
|
tpm_limit?: number;
|
|
153
156
|
rpm_limit?: number;
|
|
154
157
|
team_id?: string;
|