@acarmisc/backstage-plugin-litellm 0.8.1 → 0.9.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/api.d.ts +3 -1
- package/dist/components/KeysTable.d.ts +3 -1
- package/dist/format.d.ts +5 -0
- package/dist/index.cjs.js +179 -32
- package/dist/index.cjs.js.map +3 -3
- package/dist/index.esm.js +194 -43
- package/dist/index.esm.js.map +4 -4
- package/dist/types.d.ts +6 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -108,7 +108,8 @@ export interface GenerateKeyRequest {
|
|
|
108
108
|
models?: string[];
|
|
109
109
|
team_id?: string;
|
|
110
110
|
duration?: string;
|
|
111
|
-
|
|
111
|
+
/** Positive number caps spend; null/undefined means unlimited. */
|
|
112
|
+
max_budget?: number | null;
|
|
112
113
|
tpm_limit?: number;
|
|
113
114
|
rpm_limit?: number;
|
|
114
115
|
key_type?: string;
|
|
@@ -128,6 +129,10 @@ export interface GenerateKeyResponse {
|
|
|
128
129
|
expires_at?: string;
|
|
129
130
|
max_budget?: number;
|
|
130
131
|
}
|
|
132
|
+
export interface LiteLlmConfig {
|
|
133
|
+
/** Publicly reachable LiteLLM proxy base URL (for snippet generation). */
|
|
134
|
+
baseUrl: string;
|
|
135
|
+
}
|
|
131
136
|
export interface DateRange {
|
|
132
137
|
start: Date;
|
|
133
138
|
end: Date;
|