litellm-api 1.0.0 → 1.1.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 +55 -0
- package/dist/components-e9x5e8kj.js +149 -0
- package/dist/components-g21ikhwl.cjs +156 -0
- package/dist/components.cjs +8 -152
- package/dist/components.d.mts +16 -192
- package/dist/components.d.mts.map +1 -1
- package/dist/components.mjs +1 -149
- package/dist/index.cjs +40 -384
- package/dist/index.d.ts +108 -232
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +4 -329
- package/dist/schemas-bqv9j0en.js +178 -0
- package/dist/schemas-j2b24ts2.cjs +228 -0
- package/dist/schemas.cjs +32 -227
- package/dist/schemas.d.mts +9 -7
- package/dist/schemas.d.mts.map +1 -1
- package/dist/schemas.mjs +1 -182
- package/dist/types.d.mts +84 -210
- package/dist/types.d.mts.map +1 -1
- package/package.json +8 -9
package/dist/index.cjs
CHANGED
|
@@ -1,174 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
function _interopNamespace(e) {
|
|
6
|
-
if (e && e.__esModule) return e;
|
|
7
|
-
var n = Object.create(null);
|
|
8
|
-
if (e) {
|
|
9
|
-
Object.keys(e).forEach(function (k) {
|
|
10
|
-
if (k !== 'default') {
|
|
11
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
12
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return e[k]; }
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
n.default = e;
|
|
20
|
-
return n;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
var z__namespace = /*#__PURE__*/_interopNamespace(z);
|
|
24
|
-
|
|
25
|
-
function notEmpty(value) {
|
|
26
|
-
return value !== null && value !== undefined;
|
|
27
|
-
}
|
|
28
|
-
function compactObject(obj) {
|
|
29
|
-
return Object.fromEntries(Object.entries(obj).filter(([, value])=>notEmpty(value)));
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
async function client({ url, method, body, headers, pathParams, queryParams, signal, baseUrl = "", token = null, fetchImpl = fetch }) {
|
|
33
|
-
try {
|
|
34
|
-
const requestHeaders = compactObject({
|
|
35
|
-
"Content-Type": "application/json",
|
|
36
|
-
Authorization: token ? `Bearer ${token}` : undefined,
|
|
37
|
-
...headers
|
|
38
|
-
});
|
|
39
|
-
if (requestHeaders["Content-Type"]?.toLowerCase().includes("multipart/form-data")) {
|
|
40
|
-
delete requestHeaders["Content-Type"];
|
|
41
|
-
}
|
|
42
|
-
const payload = body instanceof FormData ? body : requestHeaders["Content-Type"] === "application/json" ? JSON.stringify(body) : body;
|
|
43
|
-
const fullUrl = `${baseUrl}${resolveUrl(url, queryParams, pathParams)}`;
|
|
44
|
-
const response = await fetchImpl(fullUrl, {
|
|
45
|
-
signal,
|
|
46
|
-
method: method.toUpperCase(),
|
|
47
|
-
body: payload,
|
|
48
|
-
headers: requestHeaders
|
|
49
|
-
});
|
|
50
|
-
if (!response.ok) {
|
|
51
|
-
let error;
|
|
52
|
-
try {
|
|
53
|
-
error = await response.json();
|
|
54
|
-
} catch (e) {
|
|
55
|
-
error = {
|
|
56
|
-
status: "unknown",
|
|
57
|
-
payload: e instanceof Error ? `Unexpected error (${e.message})` : "Unexpected error"
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
throw error;
|
|
61
|
-
}
|
|
62
|
-
if (response.headers?.get("content-type")?.includes("json")) {
|
|
63
|
-
return await response.json();
|
|
64
|
-
} else {
|
|
65
|
-
return await response.text();
|
|
66
|
-
}
|
|
67
|
-
} catch (e) {
|
|
68
|
-
const errorObject = {
|
|
69
|
-
name: "unknown",
|
|
70
|
-
message: e instanceof Error ? `Network error (${e.message})` : "Network error",
|
|
71
|
-
stack: e
|
|
72
|
-
};
|
|
73
|
-
throw errorObject;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
const resolveUrl = (url, queryParams = {}, pathParams = {})=>{
|
|
77
|
-
let query = new URLSearchParams(queryParams).toString();
|
|
78
|
-
if (query) query = `?${query}`;
|
|
79
|
-
return url.replace(/\{\w*\}/g, (key)=>pathParams[key.slice(1, -1)] ?? "") + query;
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @summary Create a Stripe Checkout session for API access
|
|
84
|
-
* @description Returns a Stripe Checkout URL. After payment, you'll receive an API key.
|
|
85
|
-
* @link /billing/checkout
|
|
86
|
-
*/ async function createCheckoutBillingCheckoutPost({ config } = {}) {
|
|
87
|
-
const { client: request = client, ...requestConfig } = config ?? {};
|
|
88
|
-
const data = await request({
|
|
89
|
-
method: "POST",
|
|
90
|
-
url: `/billing/checkout`,
|
|
91
|
-
...requestConfig,
|
|
92
|
-
headers: {
|
|
93
|
-
...requestConfig.headers
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
return data;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* @summary Check your free-tier usage
|
|
100
|
-
* @description See how many requests you've used today (free tier, by IP).
|
|
101
|
-
* @link /billing/usage
|
|
102
|
-
*/ async function checkUsageBillingUsageGet({ config } = {}) {
|
|
103
|
-
const { client: request = client, ...requestConfig } = config ?? {};
|
|
104
|
-
const data = await request({
|
|
105
|
-
method: "GET",
|
|
106
|
-
url: `/billing/usage`,
|
|
107
|
-
...requestConfig,
|
|
108
|
-
headers: {
|
|
109
|
-
...requestConfig.headers
|
|
110
|
-
}
|
|
111
|
-
});
|
|
112
|
-
return data;
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* @summary List the full LiteLLM model catalog
|
|
116
|
-
* @description Returns model pricing, context window sizes, and capability metadata from LiteLLM's built-in catalog. Supports filtering by provider, mode, model name pattern, and pagination.
|
|
117
|
-
* @link /model_catalog
|
|
118
|
-
*/ async function listModelCatalogModelCatalogGet({ queryParams, config } = {}) {
|
|
119
|
-
const { client: request = client, ...requestConfig } = config ?? {};
|
|
120
|
-
const data = await request({
|
|
121
|
-
method: "GET",
|
|
122
|
-
url: `/model_catalog`,
|
|
123
|
-
queryParams,
|
|
124
|
-
...requestConfig,
|
|
125
|
-
headers: {
|
|
126
|
-
...requestConfig.headers
|
|
127
|
-
}
|
|
128
|
-
});
|
|
129
|
-
return data;
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* @summary Get a single model from the catalog
|
|
133
|
-
* @description Returns detailed information for a specific model by its exact ID.
|
|
134
|
-
* @link /model_catalog/{model_id}
|
|
135
|
-
*/ async function getModelCatalogEntryModelCatalogModelIdGet({ pathParams, config } = {}) {
|
|
136
|
-
const { client: request = client, ...requestConfig } = config ?? {};
|
|
137
|
-
if (!pathParams.model_id) {
|
|
138
|
-
throw new Error(`Missing required path parameter: model_id`);
|
|
139
|
-
}
|
|
140
|
-
const data = await request({
|
|
141
|
-
method: "GET",
|
|
142
|
-
url: `/model_catalog/${pathParams.model_id}`,
|
|
143
|
-
...requestConfig,
|
|
144
|
-
headers: {
|
|
145
|
-
...requestConfig.headers
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
return data;
|
|
149
|
-
}
|
|
150
|
-
const operationsByPath = {
|
|
151
|
-
"POST /billing/checkout": createCheckoutBillingCheckoutPost,
|
|
152
|
-
"GET /billing/usage": checkUsageBillingUsageGet,
|
|
153
|
-
"GET /model_catalog": listModelCatalogModelCatalogGet,
|
|
154
|
-
"GET /model_catalog/{model_id}": getModelCatalogEntryModelCatalogModelIdGet
|
|
155
|
-
};
|
|
156
|
-
const operationsByTag = {
|
|
157
|
-
"billing": {
|
|
158
|
-
createCheckoutBillingCheckoutPost,
|
|
159
|
-
checkUsageBillingUsageGet
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
const tagDictionary = {
|
|
163
|
-
"billing": {
|
|
164
|
-
"POST": [
|
|
165
|
-
"createCheckoutBillingCheckoutPost"
|
|
166
|
-
],
|
|
167
|
-
"GET": [
|
|
168
|
-
"checkUsageBillingUsageGet"
|
|
169
|
-
]
|
|
170
|
-
}
|
|
171
|
-
};
|
|
3
|
+
var components = require('./components-g21ikhwl.cjs');
|
|
4
|
+
var schemas = require('./schemas-j2b24ts2.cjs');
|
|
172
5
|
|
|
173
6
|
class LiteLLMApi {
|
|
174
7
|
#baseUrl;
|
|
@@ -188,15 +21,15 @@ class LiteLLMApi {
|
|
|
188
21
|
});
|
|
189
22
|
return new Proxy({}, {
|
|
190
23
|
get: (_target, namespace)=>{
|
|
191
|
-
if (operationsByTag[namespace] === undefined) {
|
|
24
|
+
if (components.operationsByTag[namespace] === undefined) {
|
|
192
25
|
return undefined;
|
|
193
26
|
}
|
|
194
27
|
return new Proxy({}, {
|
|
195
28
|
get: (_target, operation)=>{
|
|
196
|
-
if (operationsByTag[namespace][operation] === undefined) {
|
|
29
|
+
if (components.operationsByTag[namespace][operation] === undefined) {
|
|
197
30
|
return undefined;
|
|
198
31
|
}
|
|
199
|
-
const method = operationsByTag[namespace][operation];
|
|
32
|
+
const method = components.operationsByTag[namespace][operation];
|
|
200
33
|
return async (params)=>{
|
|
201
34
|
return await method({
|
|
202
35
|
...params,
|
|
@@ -211,7 +44,7 @@ class LiteLLMApi {
|
|
|
211
44
|
async request(endpoint, params) {
|
|
212
45
|
const [method = "", url = ""] = endpoint.split(" ");
|
|
213
46
|
const extraParams = params || {};
|
|
214
|
-
const result = await client({
|
|
47
|
+
const result = await components.client({
|
|
215
48
|
...extraParams,
|
|
216
49
|
method,
|
|
217
50
|
url,
|
|
@@ -223,215 +56,38 @@ class LiteLLMApi {
|
|
|
223
56
|
}
|
|
224
57
|
}
|
|
225
58
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
"max_input_tokens": z__namespace.union([
|
|
261
|
-
z__namespace.int(),
|
|
262
|
-
z__namespace.null()
|
|
263
|
-
]).optional(),
|
|
264
|
-
"max_output_tokens": z__namespace.union([
|
|
265
|
-
z__namespace.int(),
|
|
266
|
-
z__namespace.null()
|
|
267
|
-
]).optional(),
|
|
268
|
-
"max_tokens": z__namespace.union([
|
|
269
|
-
z__namespace.int(),
|
|
270
|
-
z__namespace.null()
|
|
271
|
-
]).optional().describe("Legacy combined token limit"),
|
|
272
|
-
"input_cost_per_token": z__namespace.union([
|
|
273
|
-
z__namespace.number(),
|
|
274
|
-
z__namespace.null()
|
|
275
|
-
]).optional(),
|
|
276
|
-
"output_cost_per_token": z__namespace.union([
|
|
277
|
-
z__namespace.number(),
|
|
278
|
-
z__namespace.null()
|
|
279
|
-
]).optional(),
|
|
280
|
-
"cache_read_input_token_cost": z__namespace.union([
|
|
281
|
-
z__namespace.number(),
|
|
282
|
-
z__namespace.null()
|
|
283
|
-
]).optional(),
|
|
284
|
-
"input_cost_per_audio_token": z__namespace.union([
|
|
285
|
-
z__namespace.number(),
|
|
286
|
-
z__namespace.null()
|
|
287
|
-
]).optional(),
|
|
288
|
-
"output_cost_per_reasoning_token": z__namespace.union([
|
|
289
|
-
z__namespace.number(),
|
|
290
|
-
z__namespace.null()
|
|
291
|
-
]).optional(),
|
|
292
|
-
"deprecation_date": z__namespace.union([
|
|
293
|
-
z__namespace.string(),
|
|
294
|
-
z__namespace.null()
|
|
295
|
-
]).optional().describe("ISO date when the model is deprecated (YYYY-MM-DD)"),
|
|
296
|
-
"supports_function_calling": z__namespace.union([
|
|
297
|
-
z__namespace.boolean(),
|
|
298
|
-
z__namespace.null()
|
|
299
|
-
]).optional(),
|
|
300
|
-
"supports_parallel_function_calling": z__namespace.union([
|
|
301
|
-
z__namespace.boolean(),
|
|
302
|
-
z__namespace.null()
|
|
303
|
-
]).optional(),
|
|
304
|
-
"supports_vision": z__namespace.union([
|
|
305
|
-
z__namespace.boolean(),
|
|
306
|
-
z__namespace.null()
|
|
307
|
-
]).optional(),
|
|
308
|
-
"supports_audio_input": z__namespace.union([
|
|
309
|
-
z__namespace.boolean(),
|
|
310
|
-
z__namespace.null()
|
|
311
|
-
]).optional(),
|
|
312
|
-
"supports_audio_output": z__namespace.union([
|
|
313
|
-
z__namespace.boolean(),
|
|
314
|
-
z__namespace.null()
|
|
315
|
-
]).optional(),
|
|
316
|
-
"supports_prompt_caching": z__namespace.union([
|
|
317
|
-
z__namespace.boolean(),
|
|
318
|
-
z__namespace.null()
|
|
319
|
-
]).optional(),
|
|
320
|
-
"supports_reasoning": z__namespace.union([
|
|
321
|
-
z__namespace.boolean(),
|
|
322
|
-
z__namespace.null()
|
|
323
|
-
]).optional(),
|
|
324
|
-
"supports_response_schema": z__namespace.union([
|
|
325
|
-
z__namespace.boolean(),
|
|
326
|
-
z__namespace.null()
|
|
327
|
-
]).optional(),
|
|
328
|
-
"supports_system_messages": z__namespace.union([
|
|
329
|
-
z__namespace.boolean(),
|
|
330
|
-
z__namespace.null()
|
|
331
|
-
]).optional(),
|
|
332
|
-
"supports_web_search": z__namespace.union([
|
|
333
|
-
z__namespace.boolean(),
|
|
334
|
-
z__namespace.null()
|
|
335
|
-
]).optional()
|
|
336
|
-
}).catchall(z__namespace.unknown()).describe("A single model in the catalog.");
|
|
337
|
-
const modelCatalogListResponseSchema = z__namespace.object({
|
|
338
|
-
"object": z__namespace.string().optional().default("list"),
|
|
339
|
-
"data": z__namespace.array(modelCatalogEntrySchema),
|
|
340
|
-
"total_count": z__namespace.int().describe("Total models matching the filters"),
|
|
341
|
-
"has_more": z__namespace.boolean(),
|
|
342
|
-
"page": z__namespace.int(),
|
|
343
|
-
"page_size": z__namespace.int()
|
|
344
|
-
}).describe("Stripe-style list response.");
|
|
345
|
-
const createCheckoutBillingCheckoutPostStatus200Schema = checkoutResponseSchema;
|
|
346
|
-
const createCheckoutBillingCheckoutPostResponseSchema = createCheckoutBillingCheckoutPostStatus200Schema;
|
|
347
|
-
const checkUsageBillingUsageGetStatus200Schema = freeTierResponseSchema;
|
|
348
|
-
const checkUsageBillingUsageGetResponseSchema = checkUsageBillingUsageGetStatus200Schema;
|
|
349
|
-
const listModelCatalogModelCatalogGetQueryProviderSchema = z__namespace.union([
|
|
350
|
-
z__namespace.string(),
|
|
351
|
-
z__namespace.null()
|
|
352
|
-
]).optional().describe("Filter by provider (e.g. 'openai', 'anthropic', 'bedrock'). Case-insensitive.");
|
|
353
|
-
const listModelCatalogModelCatalogGetQueryModeSchema = z__namespace.union([
|
|
354
|
-
z__namespace.string(),
|
|
355
|
-
z__namespace.null()
|
|
356
|
-
]).optional().describe("Filter by mode (e.g. 'chat', 'embedding', 'image_generation').");
|
|
357
|
-
const listModelCatalogModelCatalogGetQueryModelSchema = z__namespace.union([
|
|
358
|
-
z__namespace.string(),
|
|
359
|
-
z__namespace.null()
|
|
360
|
-
]).optional().describe("Filter by model name. Supports substring match or regex (prefix with 're:').");
|
|
361
|
-
const listModelCatalogModelCatalogGetQuerySupportsVisionSchema = z__namespace.union([
|
|
362
|
-
z__namespace.boolean(),
|
|
363
|
-
z__namespace.null()
|
|
364
|
-
]).optional();
|
|
365
|
-
const listModelCatalogModelCatalogGetQuerySupportsFunctionCallingSchema = z__namespace.union([
|
|
366
|
-
z__namespace.boolean(),
|
|
367
|
-
z__namespace.null()
|
|
368
|
-
]).optional();
|
|
369
|
-
const listModelCatalogModelCatalogGetQuerySupportsReasoningSchema = z__namespace.union([
|
|
370
|
-
z__namespace.boolean(),
|
|
371
|
-
z__namespace.null()
|
|
372
|
-
]).optional();
|
|
373
|
-
const listModelCatalogModelCatalogGetQuerySupportsAudioInputSchema = z__namespace.union([
|
|
374
|
-
z__namespace.boolean(),
|
|
375
|
-
z__namespace.null()
|
|
376
|
-
]).optional();
|
|
377
|
-
const listModelCatalogModelCatalogGetQuerySupportsAudioOutputSchema = z__namespace.union([
|
|
378
|
-
z__namespace.boolean(),
|
|
379
|
-
z__namespace.null()
|
|
380
|
-
]).optional();
|
|
381
|
-
const listModelCatalogModelCatalogGetQuerySupportsPromptCachingSchema = z__namespace.union([
|
|
382
|
-
z__namespace.boolean(),
|
|
383
|
-
z__namespace.null()
|
|
384
|
-
]).optional();
|
|
385
|
-
const listModelCatalogModelCatalogGetQuerySupportsResponseSchemaSchema = z__namespace.union([
|
|
386
|
-
z__namespace.boolean(),
|
|
387
|
-
z__namespace.null()
|
|
388
|
-
]).optional();
|
|
389
|
-
const listModelCatalogModelCatalogGetQueryPageSchema = z__namespace.int().min(1).optional().default(1).describe("Page number (1-indexed)");
|
|
390
|
-
const listModelCatalogModelCatalogGetQueryPageSizeSchema = z__namespace.int().min(1).max(500).optional().default(50).describe("Number of results per page (max 500)");
|
|
391
|
-
const listModelCatalogModelCatalogGetStatus200Schema = modelCatalogListResponseSchema.describe("Stripe-style list response.");
|
|
392
|
-
const listModelCatalogModelCatalogGetStatus422Schema = HTTPValidationErrorSchema;
|
|
393
|
-
const listModelCatalogModelCatalogGetResponseSchema = z__namespace.union([
|
|
394
|
-
listModelCatalogModelCatalogGetStatus200Schema,
|
|
395
|
-
listModelCatalogModelCatalogGetStatus422Schema
|
|
396
|
-
]);
|
|
397
|
-
const getModelCatalogEntryModelCatalogModelIdGetPathModelIdSchema = z__namespace.string();
|
|
398
|
-
const getModelCatalogEntryModelCatalogModelIdGetStatus200Schema = modelCatalogEntrySchema.describe("A single model in the catalog.");
|
|
399
|
-
const getModelCatalogEntryModelCatalogModelIdGetStatus422Schema = HTTPValidationErrorSchema;
|
|
400
|
-
const getModelCatalogEntryModelCatalogModelIdGetResponseSchema = z__namespace.union([
|
|
401
|
-
getModelCatalogEntryModelCatalogModelIdGetStatus200Schema,
|
|
402
|
-
getModelCatalogEntryModelCatalogModelIdGetStatus422Schema
|
|
403
|
-
]);
|
|
404
|
-
|
|
405
|
-
exports.HTTPValidationErrorSchema = HTTPValidationErrorSchema;
|
|
59
|
+
exports.operationsByPath = components.operationsByPath;
|
|
60
|
+
exports.operationsByTag = components.operationsByTag;
|
|
61
|
+
exports.tagDictionary = components.tagDictionary;
|
|
62
|
+
exports.HTTPValidationErrorSchema = schemas.HTTPValidationErrorSchema;
|
|
63
|
+
exports.checkUsageBillingUsageGetResponseSchema = schemas.checkUsageBillingUsageGetResponseSchema;
|
|
64
|
+
exports.checkUsageBillingUsageGetStatus200Schema = schemas.checkUsageBillingUsageGetStatus200Schema;
|
|
65
|
+
exports.checkoutResponseSchema = schemas.checkoutResponseSchema;
|
|
66
|
+
exports.createCheckoutBillingCheckoutPostResponseSchema = schemas.createCheckoutBillingCheckoutPostResponseSchema;
|
|
67
|
+
exports.createCheckoutBillingCheckoutPostStatus200Schema = schemas.createCheckoutBillingCheckoutPostStatus200Schema;
|
|
68
|
+
exports.freeTierResponseSchema = schemas.freeTierResponseSchema;
|
|
69
|
+
exports.getModelCatalogEntryModelCatalogModelIdGetErrorSchema = schemas.getModelCatalogEntryModelCatalogModelIdGetErrorSchema;
|
|
70
|
+
exports.getModelCatalogEntryModelCatalogModelIdGetPathModelIdSchema = schemas.getModelCatalogEntryModelCatalogModelIdGetPathModelIdSchema;
|
|
71
|
+
exports.getModelCatalogEntryModelCatalogModelIdGetResponseSchema = schemas.getModelCatalogEntryModelCatalogModelIdGetResponseSchema;
|
|
72
|
+
exports.getModelCatalogEntryModelCatalogModelIdGetStatus200Schema = schemas.getModelCatalogEntryModelCatalogModelIdGetStatus200Schema;
|
|
73
|
+
exports.getModelCatalogEntryModelCatalogModelIdGetStatus422Schema = schemas.getModelCatalogEntryModelCatalogModelIdGetStatus422Schema;
|
|
74
|
+
exports.listModelCatalogModelCatalogGetErrorSchema = schemas.listModelCatalogModelCatalogGetErrorSchema;
|
|
75
|
+
exports.listModelCatalogModelCatalogGetQueryModeSchema = schemas.listModelCatalogModelCatalogGetQueryModeSchema;
|
|
76
|
+
exports.listModelCatalogModelCatalogGetQueryModelSchema = schemas.listModelCatalogModelCatalogGetQueryModelSchema;
|
|
77
|
+
exports.listModelCatalogModelCatalogGetQueryPageSchema = schemas.listModelCatalogModelCatalogGetQueryPageSchema;
|
|
78
|
+
exports.listModelCatalogModelCatalogGetQueryPageSizeSchema = schemas.listModelCatalogModelCatalogGetQueryPageSizeSchema;
|
|
79
|
+
exports.listModelCatalogModelCatalogGetQueryProviderSchema = schemas.listModelCatalogModelCatalogGetQueryProviderSchema;
|
|
80
|
+
exports.listModelCatalogModelCatalogGetQuerySupportsAudioInputSchema = schemas.listModelCatalogModelCatalogGetQuerySupportsAudioInputSchema;
|
|
81
|
+
exports.listModelCatalogModelCatalogGetQuerySupportsAudioOutputSchema = schemas.listModelCatalogModelCatalogGetQuerySupportsAudioOutputSchema;
|
|
82
|
+
exports.listModelCatalogModelCatalogGetQuerySupportsFunctionCallingSchema = schemas.listModelCatalogModelCatalogGetQuerySupportsFunctionCallingSchema;
|
|
83
|
+
exports.listModelCatalogModelCatalogGetQuerySupportsPromptCachingSchema = schemas.listModelCatalogModelCatalogGetQuerySupportsPromptCachingSchema;
|
|
84
|
+
exports.listModelCatalogModelCatalogGetQuerySupportsReasoningSchema = schemas.listModelCatalogModelCatalogGetQuerySupportsReasoningSchema;
|
|
85
|
+
exports.listModelCatalogModelCatalogGetQuerySupportsResponseSchemaSchema = schemas.listModelCatalogModelCatalogGetQuerySupportsResponseSchemaSchema;
|
|
86
|
+
exports.listModelCatalogModelCatalogGetQuerySupportsVisionSchema = schemas.listModelCatalogModelCatalogGetQuerySupportsVisionSchema;
|
|
87
|
+
exports.listModelCatalogModelCatalogGetResponseSchema = schemas.listModelCatalogModelCatalogGetResponseSchema;
|
|
88
|
+
exports.listModelCatalogModelCatalogGetStatus200Schema = schemas.listModelCatalogModelCatalogGetStatus200Schema;
|
|
89
|
+
exports.listModelCatalogModelCatalogGetStatus422Schema = schemas.listModelCatalogModelCatalogGetStatus422Schema;
|
|
90
|
+
exports.modelCatalogEntrySchema = schemas.modelCatalogEntrySchema;
|
|
91
|
+
exports.modelCatalogListResponseSchema = schemas.modelCatalogListResponseSchema;
|
|
92
|
+
exports.validationErrorSchema = schemas.validationErrorSchema;
|
|
406
93
|
exports.LiteLLMApi = LiteLLMApi;
|
|
407
|
-
exports.checkUsageBillingUsageGetResponseSchema = checkUsageBillingUsageGetResponseSchema;
|
|
408
|
-
exports.checkUsageBillingUsageGetStatus200Schema = checkUsageBillingUsageGetStatus200Schema;
|
|
409
|
-
exports.checkoutResponseSchema = checkoutResponseSchema;
|
|
410
|
-
exports.createCheckoutBillingCheckoutPostResponseSchema = createCheckoutBillingCheckoutPostResponseSchema;
|
|
411
|
-
exports.createCheckoutBillingCheckoutPostStatus200Schema = createCheckoutBillingCheckoutPostStatus200Schema;
|
|
412
|
-
exports.freeTierResponseSchema = freeTierResponseSchema;
|
|
413
|
-
exports.getModelCatalogEntryModelCatalogModelIdGetPathModelIdSchema = getModelCatalogEntryModelCatalogModelIdGetPathModelIdSchema;
|
|
414
|
-
exports.getModelCatalogEntryModelCatalogModelIdGetResponseSchema = getModelCatalogEntryModelCatalogModelIdGetResponseSchema;
|
|
415
|
-
exports.getModelCatalogEntryModelCatalogModelIdGetStatus200Schema = getModelCatalogEntryModelCatalogModelIdGetStatus200Schema;
|
|
416
|
-
exports.getModelCatalogEntryModelCatalogModelIdGetStatus422Schema = getModelCatalogEntryModelCatalogModelIdGetStatus422Schema;
|
|
417
|
-
exports.listModelCatalogModelCatalogGetQueryModeSchema = listModelCatalogModelCatalogGetQueryModeSchema;
|
|
418
|
-
exports.listModelCatalogModelCatalogGetQueryModelSchema = listModelCatalogModelCatalogGetQueryModelSchema;
|
|
419
|
-
exports.listModelCatalogModelCatalogGetQueryPageSchema = listModelCatalogModelCatalogGetQueryPageSchema;
|
|
420
|
-
exports.listModelCatalogModelCatalogGetQueryPageSizeSchema = listModelCatalogModelCatalogGetQueryPageSizeSchema;
|
|
421
|
-
exports.listModelCatalogModelCatalogGetQueryProviderSchema = listModelCatalogModelCatalogGetQueryProviderSchema;
|
|
422
|
-
exports.listModelCatalogModelCatalogGetQuerySupportsAudioInputSchema = listModelCatalogModelCatalogGetQuerySupportsAudioInputSchema;
|
|
423
|
-
exports.listModelCatalogModelCatalogGetQuerySupportsAudioOutputSchema = listModelCatalogModelCatalogGetQuerySupportsAudioOutputSchema;
|
|
424
|
-
exports.listModelCatalogModelCatalogGetQuerySupportsFunctionCallingSchema = listModelCatalogModelCatalogGetQuerySupportsFunctionCallingSchema;
|
|
425
|
-
exports.listModelCatalogModelCatalogGetQuerySupportsPromptCachingSchema = listModelCatalogModelCatalogGetQuerySupportsPromptCachingSchema;
|
|
426
|
-
exports.listModelCatalogModelCatalogGetQuerySupportsReasoningSchema = listModelCatalogModelCatalogGetQuerySupportsReasoningSchema;
|
|
427
|
-
exports.listModelCatalogModelCatalogGetQuerySupportsResponseSchemaSchema = listModelCatalogModelCatalogGetQuerySupportsResponseSchemaSchema;
|
|
428
|
-
exports.listModelCatalogModelCatalogGetQuerySupportsVisionSchema = listModelCatalogModelCatalogGetQuerySupportsVisionSchema;
|
|
429
|
-
exports.listModelCatalogModelCatalogGetResponseSchema = listModelCatalogModelCatalogGetResponseSchema;
|
|
430
|
-
exports.listModelCatalogModelCatalogGetStatus200Schema = listModelCatalogModelCatalogGetStatus200Schema;
|
|
431
|
-
exports.listModelCatalogModelCatalogGetStatus422Schema = listModelCatalogModelCatalogGetStatus422Schema;
|
|
432
|
-
exports.modelCatalogEntrySchema = modelCatalogEntrySchema;
|
|
433
|
-
exports.modelCatalogListResponseSchema = modelCatalogListResponseSchema;
|
|
434
|
-
exports.operationsByPath = operationsByPath;
|
|
435
|
-
exports.operationsByTag = operationsByTag;
|
|
436
|
-
exports.tagDictionary = tagDictionary;
|
|
437
|
-
exports.validationErrorSchema = validationErrorSchema;
|