@acarmisc/backstage-plugin-litellm 0.10.1 → 0.11.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/components/KeysTable.d.ts +7 -0
- package/dist/index.cjs.js +75 -18
- package/dist/index.cjs.js.map +2 -2
- package/dist/index.esm.js +75 -18
- package/dist/index.esm.js.map +2 -2
- package/dist/types.d.ts +8 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export interface UserInfo {
|
|
|
14
14
|
}
|
|
15
15
|
export interface TeamMember {
|
|
16
16
|
user_id: string;
|
|
17
|
+
user_email?: string;
|
|
17
18
|
role: 'admin' | 'user';
|
|
18
19
|
}
|
|
19
20
|
export interface TeamInfo {
|
|
@@ -134,6 +135,13 @@ export interface GenerateKeyResponse {
|
|
|
134
135
|
export interface LiteLlmConfig {
|
|
135
136
|
/** Publicly reachable LiteLLM proxy base URL (for snippet generation). */
|
|
136
137
|
baseUrl: string;
|
|
138
|
+
/** Controls for the "Generate New Key" form, set via litellm.keyGeneration in app-config.yaml. */
|
|
139
|
+
keyGeneration?: {
|
|
140
|
+
/** When false (default), the "Unlimited budget" checkbox is hidden and a budget is always required. */
|
|
141
|
+
allowUnlimitedBudget: boolean;
|
|
142
|
+
/** When true (default), a team must be selected before a key can be generated. */
|
|
143
|
+
teamRequired: boolean;
|
|
144
|
+
};
|
|
137
145
|
}
|
|
138
146
|
export interface DateRange {
|
|
139
147
|
start: Date;
|