@orq-ai/node 3.8.0-rc.6 → 3.8.0-rc.8
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/FUNCTIONS.md +3 -5
- package/README.md +91 -95
- package/bin/mcp-server.js +1609 -229
- package/bin/mcp-server.js.map +46 -40
- package/docs/sdks/knowledge/README.md +1 -1
- package/docs/sdks/orq/README.md +138 -0
- package/funcs/getV2ModelsLitellmModels.d.ts +17 -0
- package/funcs/getV2ModelsLitellmModels.d.ts.map +1 -0
- package/funcs/getV2ModelsLitellmModels.js +105 -0
- package/funcs/getV2ModelsLitellmModels.js.map +1 -0
- package/funcs/knowledgeCreateChunks.d.ts +1 -1
- package/funcs/knowledgeCreateChunks.d.ts.map +1 -1
- package/funcs/knowledgeCreateChunks.js +1 -1
- package/funcs/knowledgeCreateChunks.js.map +1 -1
- package/funcs/postV2ModelsLitellmImport.d.ts +17 -0
- package/funcs/postV2ModelsLitellmImport.d.ts.map +1 -0
- package/funcs/postV2ModelsLitellmImport.js +117 -0
- package/funcs/postV2ModelsLitellmImport.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +5 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/getV2ModelsLitellmModels.d.ts +3 -0
- package/mcp-server/tools/getV2ModelsLitellmModels.d.ts.map +1 -0
- package/mcp-server/tools/getV2ModelsLitellmModels.js +26 -0
- package/mcp-server/tools/getV2ModelsLitellmModels.js.map +1 -0
- package/mcp-server/tools/postV2ModelsLitellmImport.d.ts +9 -0
- package/mcp-server/tools/postV2ModelsLitellmImport.d.ts.map +1 -0
- package/mcp-server/tools/postV2ModelsLitellmImport.js +65 -0
- package/mcp-server/tools/postV2ModelsLitellmImport.js.map +1 -0
- package/models/operations/createchunk.d.ts +28 -28
- package/models/operations/createchunk.d.ts.map +1 -1
- package/models/operations/createchunk.js +35 -33
- package/models/operations/createchunk.js.map +1 -1
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +2 -2
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +16 -16
- package/models/operations/createprompt.d.ts +6 -0
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +2 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/deploymentgetconfig.d.ts +15 -15
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +18 -18
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +3 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +1 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +3 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +1 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getallprompts.d.ts +3 -0
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +1 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getevals.js +28 -28
- package/models/operations/getoneprompt.d.ts +3 -0
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +1 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +3 -0
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +1 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2modelslitellmmodels.d.ts +185 -0
- package/models/operations/getv2modelslitellmmodels.d.ts.map +1 -0
- package/models/operations/getv2modelslitellmmodels.js +349 -0
- package/models/operations/getv2modelslitellmmodels.js.map +1 -0
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +2 -2
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listpromptversions.d.ts +3 -0
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +1 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/postv2modelslitellmimport.d.ts +1333 -0
- package/models/operations/postv2modelslitellmimport.d.ts.map +1 -0
- package/models/operations/postv2modelslitellmimport.js +1400 -0
- package/models/operations/postv2modelslitellmimport.js.map +1 -0
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +2 -2
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +2 -2
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +16 -16
- package/models/operations/updateprompt.d.ts +6 -0
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +2 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/package.json +1 -1
- package/sdk/knowledge.d.ts +1 -1
- package/sdk/knowledge.d.ts.map +1 -1
- package/sdk/sdk.d.ts +16 -1
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +21 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/getV2ModelsLitellmModels.ts +143 -0
- package/src/funcs/knowledgeCreateChunks.ts +4 -4
- package/src/funcs/postV2ModelsLitellmImport.ts +167 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +5 -1
- package/src/mcp-server/tools/getV2ModelsLitellmModels.ts +30 -0
- package/src/mcp-server/tools/postV2ModelsLitellmImport.ts +38 -0
- package/src/models/operations/createchunk.ts +54 -44
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +2 -2
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +16 -16
- package/src/models/operations/createprompt.ts +2 -0
- package/src/models/operations/deploymentgetconfig.ts +30 -24
- package/src/models/operations/deploymentinvoke.ts +1 -0
- package/src/models/operations/deployments.ts +1 -0
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getallprompts.ts +1 -0
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/getoneprompt.ts +1 -0
- package/src/models/operations/getpromptversion.ts +1 -0
- package/src/models/operations/getv2modelslitellmmodels.ts +530 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +2 -2
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listpromptversions.ts +1 -0
- package/src/models/operations/postv2modelslitellmimport.ts +2408 -0
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +2 -2
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +2 -2
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +16 -16
- package/src/models/operations/updateprompt.ts +2 -0
- package/src/sdk/knowledge.ts +1 -1
- package/src/sdk/sdk.ts +37 -1
package/bin/mcp-server.js
CHANGED
|
@@ -34272,9 +34272,9 @@ var init_config = __esm(() => {
|
|
|
34272
34272
|
SDK_METADATA = {
|
|
34273
34273
|
language: "typescript",
|
|
34274
34274
|
openapiDocVersion: "2.0",
|
|
34275
|
-
sdkVersion: "3.8.0-rc.
|
|
34276
|
-
genVersion: "2.623.
|
|
34277
|
-
userAgent: "speakeasy-sdk/typescript 3.8.0-rc.
|
|
34275
|
+
sdkVersion: "3.8.0-rc.8",
|
|
34276
|
+
genVersion: "2.623.4",
|
|
34277
|
+
userAgent: "speakeasy-sdk/typescript 3.8.0-rc.8 2.623.4 2.0 @orq-ai/node"
|
|
34278
34278
|
};
|
|
34279
34279
|
});
|
|
34280
34280
|
|
|
@@ -35990,7 +35990,7 @@ var init_cleardataset = __esm(() => {
|
|
|
35990
35990
|
});
|
|
35991
35991
|
|
|
35992
35992
|
// src/models/operations/createchunk.ts
|
|
35993
|
-
var CreateChunkStatus, CreateChunkMetadata$inboundSchema, CreateChunkMetadata$outboundSchema, CreateChunkMetadata$,
|
|
35993
|
+
var CreateChunkStatus, CreateChunkMetadata$inboundSchema, CreateChunkMetadata$outboundSchema, CreateChunkMetadata$, CreateChunkRequestBody$inboundSchema, CreateChunkRequestBody$outboundSchema, CreateChunkRequestBody$, CreateChunkRequest$inboundSchema, CreateChunkRequest$outboundSchema, CreateChunkRequest$, CreateChunkKnowledgeMetadata$inboundSchema, CreateChunkKnowledgeMetadata$outboundSchema, CreateChunkKnowledgeMetadata$, CreateChunkStatus$inboundSchema, CreateChunkStatus$outboundSchema, CreateChunkStatus$, CreateChunkResponseBody$inboundSchema, CreateChunkResponseBody$outboundSchema, CreateChunkResponseBody$;
|
|
35994
35994
|
var init_createchunk = __esm(() => {
|
|
35995
35995
|
init_esm();
|
|
35996
35996
|
init_primitives();
|
|
@@ -36007,24 +36007,24 @@ var init_createchunk = __esm(() => {
|
|
|
36007
36007
|
CreateChunkMetadata$.inboundSchema = CreateChunkMetadata$inboundSchema;
|
|
36008
36008
|
CreateChunkMetadata$.outboundSchema = CreateChunkMetadata$outboundSchema;
|
|
36009
36009
|
})(CreateChunkMetadata$ ||= {});
|
|
36010
|
-
|
|
36010
|
+
CreateChunkRequestBody$inboundSchema = objectType({
|
|
36011
36011
|
text: stringType(),
|
|
36012
36012
|
embedding: arrayType(numberType()).optional(),
|
|
36013
36013
|
metadata: recordType(unionType([stringType(), numberType(), booleanType()])).optional()
|
|
36014
36014
|
});
|
|
36015
|
-
|
|
36015
|
+
CreateChunkRequestBody$outboundSchema = objectType({
|
|
36016
36016
|
text: stringType(),
|
|
36017
36017
|
embedding: arrayType(numberType()).optional(),
|
|
36018
36018
|
metadata: recordType(unionType([stringType(), numberType(), booleanType()])).optional()
|
|
36019
36019
|
});
|
|
36020
|
-
((
|
|
36021
|
-
|
|
36022
|
-
|
|
36023
|
-
})(
|
|
36020
|
+
((CreateChunkRequestBody$) => {
|
|
36021
|
+
CreateChunkRequestBody$.inboundSchema = CreateChunkRequestBody$inboundSchema;
|
|
36022
|
+
CreateChunkRequestBody$.outboundSchema = CreateChunkRequestBody$outboundSchema;
|
|
36023
|
+
})(CreateChunkRequestBody$ ||= {});
|
|
36024
36024
|
CreateChunkRequest$inboundSchema = objectType({
|
|
36025
36025
|
knowledge_id: stringType(),
|
|
36026
36026
|
datasource_id: stringType(),
|
|
36027
|
-
RequestBody: arrayType(lazyType(() =>
|
|
36027
|
+
RequestBody: arrayType(lazyType(() => CreateChunkRequestBody$inboundSchema)).optional()
|
|
36028
36028
|
}).transform((v2) => {
|
|
36029
36029
|
return remap(v2, {
|
|
36030
36030
|
knowledge_id: "knowledgeId",
|
|
@@ -36035,7 +36035,7 @@ var init_createchunk = __esm(() => {
|
|
|
36035
36035
|
CreateChunkRequest$outboundSchema = objectType({
|
|
36036
36036
|
knowledgeId: stringType(),
|
|
36037
36037
|
datasourceId: stringType(),
|
|
36038
|
-
requestBody: arrayType(lazyType(() =>
|
|
36038
|
+
requestBody: arrayType(lazyType(() => CreateChunkRequestBody$outboundSchema)).optional()
|
|
36039
36039
|
}).transform((v2) => {
|
|
36040
36040
|
return remap(v2, {
|
|
36041
36041
|
knowledgeId: "knowledge_id",
|
|
@@ -36059,7 +36059,7 @@ var init_createchunk = __esm(() => {
|
|
|
36059
36059
|
CreateChunkStatus$.inboundSchema = CreateChunkStatus$inboundSchema;
|
|
36060
36060
|
CreateChunkStatus$.outboundSchema = CreateChunkStatus$outboundSchema;
|
|
36061
36061
|
})(CreateChunkStatus$ ||= {});
|
|
36062
|
-
|
|
36062
|
+
CreateChunkResponseBody$inboundSchema = objectType({
|
|
36063
36063
|
_id: stringType(),
|
|
36064
36064
|
text: stringType(),
|
|
36065
36065
|
metadata: recordType(unionType([stringType(), numberType(), booleanType()])).optional(),
|
|
@@ -36076,7 +36076,7 @@ var init_createchunk = __esm(() => {
|
|
|
36076
36076
|
update_by_id: "updateById"
|
|
36077
36077
|
});
|
|
36078
36078
|
});
|
|
36079
|
-
|
|
36079
|
+
CreateChunkResponseBody$outboundSchema = objectType({
|
|
36080
36080
|
id: stringType(),
|
|
36081
36081
|
text: stringType(),
|
|
36082
36082
|
metadata: recordType(unionType([stringType(), numberType(), booleanType()])).optional(),
|
|
@@ -36093,10 +36093,10 @@ var init_createchunk = __esm(() => {
|
|
|
36093
36093
|
updateById: "update_by_id"
|
|
36094
36094
|
});
|
|
36095
36095
|
});
|
|
36096
|
-
((
|
|
36097
|
-
|
|
36098
|
-
|
|
36099
|
-
})(
|
|
36096
|
+
((CreateChunkResponseBody$) => {
|
|
36097
|
+
CreateChunkResponseBody$.inboundSchema = CreateChunkResponseBody$inboundSchema;
|
|
36098
|
+
CreateChunkResponseBody$.outboundSchema = CreateChunkResponseBody$outboundSchema;
|
|
36099
|
+
})(CreateChunkResponseBody$ ||= {});
|
|
36100
36100
|
});
|
|
36101
36101
|
|
|
36102
36102
|
// src/models/operations/createcontact.ts
|
|
@@ -36146,7 +36146,7 @@ var init_createcontact = __esm(() => {
|
|
|
36146
36146
|
tags: arrayType(stringType()).optional(),
|
|
36147
36147
|
metadata: recordType(anyType()).optional(),
|
|
36148
36148
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36149
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
36149
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-10T02:00:58.492Z").transform((v2) => new Date(v2))
|
|
36150
36150
|
}).transform((v2) => {
|
|
36151
36151
|
return remap(v2, {
|
|
36152
36152
|
_id: "id",
|
|
@@ -36166,7 +36166,7 @@ var init_createcontact = __esm(() => {
|
|
|
36166
36166
|
tags: arrayType(stringType()).optional(),
|
|
36167
36167
|
metadata: recordType(anyType()).optional(),
|
|
36168
36168
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36169
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
36169
|
+
updated: dateType().default(() => new Date("2025-06-10T02:00:58.492Z")).transform((v2) => v2.toISOString())
|
|
36170
36170
|
}).transform((v2) => {
|
|
36171
36171
|
return remap(v2, {
|
|
36172
36172
|
id: "_id",
|
|
@@ -36238,7 +36238,7 @@ var init_createdataset = __esm(() => {
|
|
|
36238
36238
|
updated_by_id: stringType().optional(),
|
|
36239
36239
|
metadata: lazyType(() => CreateDatasetMetadata$inboundSchema),
|
|
36240
36240
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
36241
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
36241
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-10T02:00:58.492Z").transform((v2) => new Date(v2))
|
|
36242
36242
|
}).transform((v2) => {
|
|
36243
36243
|
return remap(v2, {
|
|
36244
36244
|
_id: "id",
|
|
@@ -36258,7 +36258,7 @@ var init_createdataset = __esm(() => {
|
|
|
36258
36258
|
updatedById: stringType().optional(),
|
|
36259
36259
|
metadata: lazyType(() => CreateDatasetMetadata$outboundSchema),
|
|
36260
36260
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
36261
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
36261
|
+
updated: dateType().default(() => new Date("2025-06-10T02:00:58.492Z")).transform((v2) => v2.toISOString())
|
|
36262
36262
|
}).transform((v2) => {
|
|
36263
36263
|
return remap(v2, {
|
|
36264
36264
|
id: "_id",
|
|
@@ -37480,7 +37480,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
37480
37480
|
created_by_id: stringType().optional(),
|
|
37481
37481
|
updated_by_id: stringType().optional(),
|
|
37482
37482
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
37483
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
37483
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-10T02:00:58.492Z").transform((v2) => new Date(v2))
|
|
37484
37484
|
}).transform((v2) => {
|
|
37485
37485
|
return remap(v2, {
|
|
37486
37486
|
_id: "id",
|
|
@@ -37507,7 +37507,7 @@ var init_createdatasetitem = __esm(() => {
|
|
|
37507
37507
|
createdById: stringType().optional(),
|
|
37508
37508
|
updatedById: stringType().optional(),
|
|
37509
37509
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
37510
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
37510
|
+
updated: dateType().default(() => new Date("2025-06-10T02:00:58.492Z")).transform((v2) => v2.toISOString())
|
|
37511
37511
|
}).transform((v2) => {
|
|
37512
37512
|
return remap(v2, {
|
|
37513
37513
|
id: "_id",
|
|
@@ -37729,7 +37729,7 @@ var init_createdatasource = __esm(() => {
|
|
|
37729
37729
|
CreateDatasourceStatus$.outboundSchema = CreateDatasourceStatus$outboundSchema;
|
|
37730
37730
|
})(CreateDatasourceStatus$ ||= {});
|
|
37731
37731
|
CreateDatasourceResponseBody$inboundSchema = objectType({
|
|
37732
|
-
_id: stringType().default("
|
|
37732
|
+
_id: stringType().default("01JXBS3PNZABSQ810ZP2DZRBSC"),
|
|
37733
37733
|
display_name: stringType(),
|
|
37734
37734
|
description: stringType().optional(),
|
|
37735
37735
|
status: CreateDatasourceStatus$inboundSchema,
|
|
@@ -37752,7 +37752,7 @@ var init_createdatasource = __esm(() => {
|
|
|
37752
37752
|
});
|
|
37753
37753
|
});
|
|
37754
37754
|
CreateDatasourceResponseBody$outboundSchema = objectType({
|
|
37755
|
-
id: stringType().default("
|
|
37755
|
+
id: stringType().default("01JXBS3PNZABSQ810ZP2DZRBSC"),
|
|
37756
37756
|
displayName: stringType(),
|
|
37757
37757
|
description: stringType().optional(),
|
|
37758
37758
|
status: CreateDatasourceStatus$outboundSchema,
|
|
@@ -38520,8 +38520,8 @@ var init_createeval = __esm(() => {
|
|
|
38520
38520
|
ResponseBodyPython$inboundSchema = objectType({
|
|
38521
38521
|
_id: stringType(),
|
|
38522
38522
|
description: stringType(),
|
|
38523
|
-
created: stringType().default("2025-06-
|
|
38524
|
-
updated: stringType().default("2025-06-
|
|
38523
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38524
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38525
38525
|
guardrail_config: unionType([
|
|
38526
38526
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
38527
38527
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema)
|
|
@@ -38538,8 +38538,8 @@ var init_createeval = __esm(() => {
|
|
|
38538
38538
|
ResponseBodyPython$outboundSchema = objectType({
|
|
38539
38539
|
id: stringType(),
|
|
38540
38540
|
description: stringType(),
|
|
38541
|
-
created: stringType().default("2025-06-
|
|
38542
|
-
updated: stringType().default("2025-06-
|
|
38541
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38542
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38543
38543
|
guardrailConfig: unionType([
|
|
38544
38544
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema),
|
|
38545
38545
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema)
|
|
@@ -38632,8 +38632,8 @@ var init_createeval = __esm(() => {
|
|
|
38632
38632
|
ResponseBodyHTTP$inboundSchema = objectType({
|
|
38633
38633
|
_id: stringType(),
|
|
38634
38634
|
description: stringType(),
|
|
38635
|
-
created: stringType().default("2025-06-
|
|
38636
|
-
updated: stringType().default("2025-06-
|
|
38635
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38636
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38637
38637
|
guardrail_config: unionType([
|
|
38638
38638
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
38639
38639
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema)
|
|
@@ -38653,8 +38653,8 @@ var init_createeval = __esm(() => {
|
|
|
38653
38653
|
ResponseBodyHTTP$outboundSchema = objectType({
|
|
38654
38654
|
id: stringType(),
|
|
38655
38655
|
description: stringType(),
|
|
38656
|
-
created: stringType().default("2025-06-
|
|
38657
|
-
updated: stringType().default("2025-06-
|
|
38656
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38657
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38658
38658
|
guardrailConfig: unionType([
|
|
38659
38659
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema),
|
|
38660
38660
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema)
|
|
@@ -38744,8 +38744,8 @@ var init_createeval = __esm(() => {
|
|
|
38744
38744
|
ResponseBodyJSON$inboundSchema = objectType({
|
|
38745
38745
|
_id: stringType(),
|
|
38746
38746
|
description: stringType(),
|
|
38747
|
-
created: stringType().default("2025-06-
|
|
38748
|
-
updated: stringType().default("2025-06-
|
|
38747
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38748
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38749
38749
|
guardrail_config: unionType([
|
|
38750
38750
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
38751
38751
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema)
|
|
@@ -38762,8 +38762,8 @@ var init_createeval = __esm(() => {
|
|
|
38762
38762
|
ResponseBodyJSON$outboundSchema = objectType({
|
|
38763
38763
|
id: stringType(),
|
|
38764
38764
|
description: stringType(),
|
|
38765
|
-
created: stringType().default("2025-06-
|
|
38766
|
-
updated: stringType().default("2025-06-
|
|
38765
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38766
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38767
38767
|
guardrailConfig: unionType([
|
|
38768
38768
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
38769
38769
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema)
|
|
@@ -38850,8 +38850,8 @@ var init_createeval = __esm(() => {
|
|
|
38850
38850
|
ResponseBodyLLM$inboundSchema = objectType({
|
|
38851
38851
|
_id: stringType(),
|
|
38852
38852
|
description: stringType(),
|
|
38853
|
-
created: stringType().default("2025-06-
|
|
38854
|
-
updated: stringType().default("2025-06-
|
|
38853
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38854
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38855
38855
|
guardrail_config: unionType([
|
|
38856
38856
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
38857
38857
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema)
|
|
@@ -38869,8 +38869,8 @@ var init_createeval = __esm(() => {
|
|
|
38869
38869
|
ResponseBodyLLM$outboundSchema = objectType({
|
|
38870
38870
|
id: stringType(),
|
|
38871
38871
|
description: stringType(),
|
|
38872
|
-
created: stringType().default("2025-06-
|
|
38873
|
-
updated: stringType().default("2025-06-
|
|
38872
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38873
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
38874
38874
|
guardrailConfig: unionType([
|
|
38875
38875
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
38876
38876
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema)
|
|
@@ -39264,7 +39264,8 @@ var init_createprompt = __esm(() => {
|
|
|
39264
39264
|
Nvidia: "nvidia",
|
|
39265
39265
|
Jina: "jina",
|
|
39266
39266
|
Togetherai: "togetherai",
|
|
39267
|
-
Elevenlabs: "elevenlabs"
|
|
39267
|
+
Elevenlabs: "elevenlabs",
|
|
39268
|
+
Litellm: "litellm"
|
|
39268
39269
|
};
|
|
39269
39270
|
CreatePromptRole = {
|
|
39270
39271
|
System: "system",
|
|
@@ -39376,7 +39377,8 @@ var init_createprompt = __esm(() => {
|
|
|
39376
39377
|
Nvidia: "nvidia",
|
|
39377
39378
|
Jina: "jina",
|
|
39378
39379
|
Togetherai: "togetherai",
|
|
39379
|
-
Elevenlabs: "elevenlabs"
|
|
39380
|
+
Elevenlabs: "elevenlabs",
|
|
39381
|
+
Litellm: "litellm"
|
|
39380
39382
|
};
|
|
39381
39383
|
CreatePromptPromptsRole = {
|
|
39382
39384
|
System: "system",
|
|
@@ -41756,7 +41758,7 @@ var init_deploymentcreatemetric = __esm(() => {
|
|
|
41756
41758
|
});
|
|
41757
41759
|
|
|
41758
41760
|
// src/models/operations/deploymentgetconfig.ts
|
|
41759
|
-
var DeploymentGetConfigPrefixMessagesDeploymentsRequestRole, DeploymentGetConfig2DeploymentsRequestRequestBodyType, DeploymentGetConfig2DeploymentsRequestType, DeploymentGetConfigPrefixMessagesDeploymentsRole, PrefixMessagesType, DeploymentGetConfigPrefixMessagesRole, DeploymentGetConfig2DeploymentsType, DeploymentGetConfig2Type, Format, TwoType, Detail, Type, PrefixMessagesRole, Role, DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type, DeploymentGetConfigMessagesDeploymentsRequestRole, MessagesType, DeploymentGetConfigMessagesDeploymentsRole, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType, TwoFormat, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type, TwoDetail, DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType, DeploymentGetConfigMessagesRole, MessagesRole, DeploymentGetConfigType, DeploymentGetConfigRole, DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType, DeploymentGetConfig2DeploymentsResponse200Type, DeploymentGetConfig2DeploymentsResponseType, DeploymentGetConfigDeploymentsResponseType, DeploymentGetConfigFormat, DeploymentGetConfigResponseFormatType, DeploymentGetConfigResponseFormatDeploymentsType, DeploymentGetConfigPhotoRealVersion, DeploymentGetConfigEncodingFormat, DeploymentGetConfigReasoningEffort, DeploymentGetConfigDeploymentsType, Inputs$inboundSchema, Inputs$outboundSchema, Inputs$, DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema, DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema, DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$, DeploymentGetConfigPrefixMessagesContent$inboundSchema, DeploymentGetConfigPrefixMessagesContent$outboundSchema, DeploymentGetConfigPrefixMessagesContent$, ToolMessage$inboundSchema, ToolMessage$outboundSchema, ToolMessage$, DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyType$, RefusalContentPart$inboundSchema, RefusalContentPart$outboundSchema, RefusalContentPart$, DeploymentGetConfig2DeploymentsRequestType$inboundSchema, DeploymentGetConfig2DeploymentsRequestType$outboundSchema, DeploymentGetConfig2DeploymentsRequestType$, TextContentPart$inboundSchema, TextContentPart$outboundSchema, TextContentPart$, Content2$inboundSchema, Content2$outboundSchema, Content2$, PrefixMessagesContent$inboundSchema, PrefixMessagesContent$outboundSchema, PrefixMessagesContent$, DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema, DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema, DeploymentGetConfigPrefixMessagesDeploymentsRole$, Audio$inboundSchema, Audio$outboundSchema, Audio$, PrefixMessagesType$inboundSchema, PrefixMessagesType$outboundSchema, PrefixMessagesType$, FunctionT$inboundSchema, FunctionT$outboundSchema, FunctionT$, ToolCalls$inboundSchema, ToolCalls$outboundSchema, ToolCalls$, AssistantMessage$inboundSchema, AssistantMessage$outboundSchema, AssistantMessage$, DeploymentGetConfigPrefixMessagesRole$inboundSchema, DeploymentGetConfigPrefixMessagesRole$outboundSchema, DeploymentGetConfigPrefixMessagesRole$, DeploymentGetConfig2DeploymentsType$inboundSchema, DeploymentGetConfig2DeploymentsType$outboundSchema, DeploymentGetConfig2DeploymentsType$, FileT$inboundSchema, FileT$outboundSchema, FileT$, Four$inboundSchema, Four$outboundSchema, Four$, DeploymentGetConfig2Type$inboundSchema, DeploymentGetConfig2Type$outboundSchema, DeploymentGetConfig2Type$, Format$inboundSchema, Format$outboundSchema, Format$, InputAudio$inboundSchema, InputAudio$outboundSchema, InputAudio$, Three$inboundSchema, Three$outboundSchema, Three$, TwoType$inboundSchema, TwoType$outboundSchema, TwoType$, Detail$inboundSchema, Detail$outboundSchema, Detail$, ImageUrl$inboundSchema, ImageUrl$outboundSchema, ImageUrl$, Two2$inboundSchema, Two2$outboundSchema, Two2$, Type$inboundSchema, Type$outboundSchema, Type$, One$inboundSchema, One$outboundSchema, One$, Two$inboundSchema, Two$outboundSchema, Two$, Content$inboundSchema, Content$outboundSchema, Content$, UserMessage$inboundSchema, UserMessage$outboundSchema, UserMessage$, PrefixMessagesRole$inboundSchema, PrefixMessagesRole$outboundSchema, PrefixMessagesRole$, SystemMessage$inboundSchema, SystemMessage$outboundSchema, SystemMessage$, Role$inboundSchema, Role$outboundSchema, Role$, DeveloperMessage$inboundSchema, DeveloperMessage$outboundSchema, DeveloperMessage$, PrefixMessages$inboundSchema, PrefixMessages$outboundSchema, PrefixMessages$, DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$inboundSchema, DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$outboundSchema, DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$, DeploymentGetConfigMessagesDeploymentsContent$inboundSchema, DeploymentGetConfigMessagesDeploymentsContent$outboundSchema, DeploymentGetConfigMessagesDeploymentsContent$, MessagesToolMessage$inboundSchema, MessagesToolMessage$outboundSchema, MessagesToolMessage$, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$, TwoRefusalContentPart$inboundSchema, TwoRefusalContentPart$outboundSchema, TwoRefusalContentPart$, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$, TwoTextContentPart$inboundSchema, TwoTextContentPart$outboundSchema, TwoTextContentPart$, DeploymentGetConfigContentDeployments2$inboundSchema, DeploymentGetConfigContentDeployments2$outboundSchema, DeploymentGetConfigContentDeployments2$, DeploymentGetConfigMessagesContent$inboundSchema, DeploymentGetConfigMessagesContent$outboundSchema, DeploymentGetConfigMessagesContent$, DeploymentGetConfigMessagesDeploymentsRequestRole$inboundSchema, DeploymentGetConfigMessagesDeploymentsRequestRole$outboundSchema, DeploymentGetConfigMessagesDeploymentsRequestRole$, MessagesAudio$inboundSchema, MessagesAudio$outboundSchema, MessagesAudio$, MessagesType$inboundSchema, MessagesType$outboundSchema, MessagesType$, MessagesFunction$inboundSchema, MessagesFunction$outboundSchema, MessagesFunction$, MessagesToolCalls$inboundSchema, MessagesToolCalls$outboundSchema, MessagesToolCalls$, MessagesAssistantMessage$inboundSchema, MessagesAssistantMessage$outboundSchema, MessagesAssistantMessage$, DeploymentGetConfigMessagesDeploymentsRole$inboundSchema, DeploymentGetConfigMessagesDeploymentsRole$outboundSchema, DeploymentGetConfigMessagesDeploymentsRole$, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$, TwoFile$inboundSchema, TwoFile$outboundSchema, TwoFile$, Two4$inboundSchema, Two4$outboundSchema, Two4$, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType$, TwoFormat$inboundSchema, TwoFormat$outboundSchema, TwoFormat$, TwoInputAudio$inboundSchema, TwoInputAudio$outboundSchema, TwoInputAudio$, Two3$inboundSchema, Two3$outboundSchema, Two3$, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$, TwoDetail$inboundSchema, TwoDetail$outboundSchema, TwoDetail$, TwoImageUrl$inboundSchema, TwoImageUrl$outboundSchema, TwoImageUrl$, DeploymentGetConfig22$inboundSchema, DeploymentGetConfig22$outboundSchema, DeploymentGetConfig22$, DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$, Two1$inboundSchema, Two1$outboundSchema, Two1$, DeploymentGetConfigContent2$inboundSchema, DeploymentGetConfigContent2$outboundSchema, DeploymentGetConfigContent2$, MessagesContent$inboundSchema, MessagesContent$outboundSchema, MessagesContent$, MessagesUserMessage$inboundSchema, MessagesUserMessage$outboundSchema, MessagesUserMessage$, DeploymentGetConfigMessagesRole$inboundSchema, DeploymentGetConfigMessagesRole$outboundSchema, DeploymentGetConfigMessagesRole$, MessagesSystemMessage$inboundSchema, MessagesSystemMessage$outboundSchema, MessagesSystemMessage$, MessagesRole$inboundSchema, MessagesRole$outboundSchema, MessagesRole$, MessagesDeveloperMessage$inboundSchema, MessagesDeveloperMessage$outboundSchema, MessagesDeveloperMessage$, Messages$inboundSchema, Messages$outboundSchema, Messages$, Metadata$inboundSchema, Metadata$outboundSchema, Metadata$, Documents$inboundSchema, Documents$outboundSchema, Documents$, InvokeOptions$inboundSchema, InvokeOptions$outboundSchema, InvokeOptions$, Thread$inboundSchema, Thread$outboundSchema, Thread$, OrExists$inboundSchema, OrExists$outboundSchema, OrExists$, DeploymentGetConfigOrNin$inboundSchema, DeploymentGetConfigOrNin$outboundSchema, DeploymentGetConfigOrNin$, OrNin$inboundSchema, OrNin$outboundSchema, OrNin$, DeploymentGetConfigOrIn$inboundSchema, DeploymentGetConfigOrIn$outboundSchema, DeploymentGetConfigOrIn$, OrIn$inboundSchema, OrIn$outboundSchema, OrIn$, OrLte$inboundSchema, OrLte$outboundSchema, OrLte$, OrLt$inboundSchema, OrLt$outboundSchema, OrLt$, OrGte$inboundSchema, OrGte$outboundSchema, OrGte$, Or3$inboundSchema, Or3$outboundSchema, Or3$, DeploymentGetConfigOrNe$inboundSchema, DeploymentGetConfigOrNe$outboundSchema, DeploymentGetConfigOrNe$, OrNe$inboundSchema, OrNe$outboundSchema, OrNe$, DeploymentGetConfigOrEq$inboundSchema, DeploymentGetConfigOrEq$outboundSchema, DeploymentGetConfigOrEq$, OrEq$inboundSchema, OrEq$outboundSchema, OrEq$, KnowledgeFilterOr$inboundSchema, KnowledgeFilterOr$outboundSchema, KnowledgeFilterOr$, Or$inboundSchema, Or$outboundSchema, Or$, AndExists$inboundSchema, AndExists$outboundSchema, AndExists$, DeploymentGetConfigAndNin$inboundSchema, DeploymentGetConfigAndNin$outboundSchema, DeploymentGetConfigAndNin$, AndNin$inboundSchema, AndNin$outboundSchema, AndNin$, DeploymentGetConfigAndIn$inboundSchema, DeploymentGetConfigAndIn$outboundSchema, DeploymentGetConfigAndIn$, AndIn$inboundSchema, AndIn$outboundSchema, AndIn$, AndLte$inboundSchema, AndLte$outboundSchema, AndLte$, AndLt$inboundSchema, AndLt$outboundSchema, AndLt$, AndGte$inboundSchema, AndGte$outboundSchema, AndGte$, And3$inboundSchema, And3$outboundSchema, And3$, DeploymentGetConfigAndNe$inboundSchema, DeploymentGetConfigAndNe$outboundSchema, DeploymentGetConfigAndNe$, AndNe$inboundSchema, AndNe$outboundSchema, AndNe$, DeploymentGetConfigAndEq$inboundSchema, DeploymentGetConfigAndEq$outboundSchema, DeploymentGetConfigAndEq$, AndEq$inboundSchema, AndEq$outboundSchema, AndEq$, KnowledgeFilterAnd$inboundSchema, KnowledgeFilterAnd$outboundSchema, KnowledgeFilterAnd$, And$inboundSchema, And$outboundSchema, And$, Exists$inboundSchema, Exists$outboundSchema, Exists$, OneNin$inboundSchema, OneNin$outboundSchema, OneNin$, Nin$inboundSchema, Nin$outboundSchema, Nin$, OneIn$inboundSchema, OneIn$outboundSchema, OneIn$, In$inboundSchema, In$outboundSchema, In$, Lte$inboundSchema, Lte$outboundSchema, Lte$, Lt$inboundSchema, Lt$outboundSchema, Lt$, Gte$inboundSchema, Gte$outboundSchema, Gte$, One3$inboundSchema, One3$outboundSchema, One3$, OneNe$inboundSchema, OneNe$outboundSchema, OneNe$, Ne$inboundSchema, Ne$outboundSchema, Ne$, OneEq$inboundSchema, OneEq$outboundSchema, OneEq$, Eq$inboundSchema, Eq$outboundSchema, Eq$, KnowledgeFilter1$inboundSchema, KnowledgeFilter1$outboundSchema, KnowledgeFilter1$, KnowledgeFilter$inboundSchema, KnowledgeFilter$outboundSchema, KnowledgeFilter$, DeploymentGetConfigRequestBody$inboundSchema, DeploymentGetConfigRequestBody$outboundSchema, DeploymentGetConfigRequestBody$, DeploymentGetConfigType$inboundSchema, DeploymentGetConfigType$outboundSchema, DeploymentGetConfigType$, DeploymentGetConfigRole$inboundSchema, DeploymentGetConfigRole$outboundSchema, DeploymentGetConfigRole$, DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$inboundSchema, DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$outboundSchema, DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$, DeploymentGetConfig2File$inboundSchema, DeploymentGetConfig2File$outboundSchema, DeploymentGetConfig2File$, DeploymentGetConfig23$inboundSchema, DeploymentGetConfig23$outboundSchema, DeploymentGetConfig23$, DeploymentGetConfig2DeploymentsResponse200Type$inboundSchema, DeploymentGetConfig2DeploymentsResponse200Type$outboundSchema, DeploymentGetConfig2DeploymentsResponse200Type$, DeploymentGetConfig2ImageUrl$inboundSchema, DeploymentGetConfig2ImageUrl$outboundSchema, DeploymentGetConfig2ImageUrl$, DeploymentGetConfig2Deployments2$inboundSchema, DeploymentGetConfig2Deployments2$outboundSchema, DeploymentGetConfig2Deployments2$, DeploymentGetConfig2DeploymentsResponseType$inboundSchema, DeploymentGetConfig2DeploymentsResponseType$outboundSchema, DeploymentGetConfig2DeploymentsResponseType$, DeploymentGetConfig21$inboundSchema, DeploymentGetConfig21$outboundSchema, DeploymentGetConfig21$, DeploymentGetConfigContentDeploymentsResponse2$inboundSchema, DeploymentGetConfigContentDeploymentsResponse2$outboundSchema, DeploymentGetConfigContentDeploymentsResponse2$, DeploymentGetConfigContent$inboundSchema, DeploymentGetConfigContent$outboundSchema, DeploymentGetConfigContent$, DeploymentGetConfigDeploymentsResponseType$inboundSchema, DeploymentGetConfigDeploymentsResponseType$outboundSchema, DeploymentGetConfigDeploymentsResponseType$, DeploymentGetConfigDeploymentsFunction$inboundSchema, DeploymentGetConfigDeploymentsFunction$outboundSchema, DeploymentGetConfigDeploymentsFunction$, DeploymentGetConfigToolCalls$inboundSchema, DeploymentGetConfigToolCalls$outboundSchema, DeploymentGetConfigToolCalls$, DeploymentGetConfigMessages$inboundSchema, DeploymentGetConfigMessages$outboundSchema, DeploymentGetConfigMessages$, DeploymentGetConfigFormat$inboundSchema, DeploymentGetConfigFormat$outboundSchema, DeploymentGetConfigFormat$, DeploymentGetConfigResponseFormatType$inboundSchema, DeploymentGetConfigResponseFormatType$outboundSchema, DeploymentGetConfigResponseFormatType$, DeploymentGetConfigResponseFormat2$inboundSchema, DeploymentGetConfigResponseFormat2$outboundSchema, DeploymentGetConfigResponseFormat2$, DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema, DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema, DeploymentGetConfigResponseFormatDeploymentsType$, DeploymentGetConfigResponseFormatJsonSchema$inboundSchema, DeploymentGetConfigResponseFormatJsonSchema$outboundSchema, DeploymentGetConfigResponseFormatJsonSchema$, DeploymentGetConfigResponseFormat1$inboundSchema, DeploymentGetConfigResponseFormat1$outboundSchema, DeploymentGetConfigResponseFormat1$, DeploymentGetConfigResponseFormat$inboundSchema, DeploymentGetConfigResponseFormat$outboundSchema, DeploymentGetConfigResponseFormat$, DeploymentGetConfigPhotoRealVersion$inboundSchema, DeploymentGetConfigPhotoRealVersion$outboundSchema, DeploymentGetConfigPhotoRealVersion$, DeploymentGetConfigEncodingFormat$inboundSchema, DeploymentGetConfigEncodingFormat$outboundSchema, DeploymentGetConfigEncodingFormat$, DeploymentGetConfigReasoningEffort$inboundSchema, DeploymentGetConfigReasoningEffort$outboundSchema, DeploymentGetConfigReasoningEffort$, ParametersT$inboundSchema, ParametersT$outboundSchema, ParametersT$, DeploymentGetConfigDeploymentsType$inboundSchema, DeploymentGetConfigDeploymentsType$outboundSchema, DeploymentGetConfigDeploymentsType$, DeploymentGetConfigFunction$inboundSchema, DeploymentGetConfigFunction$outboundSchema, DeploymentGetConfigFunction$, Tools$inboundSchema, Tools$outboundSchema, Tools$, DeploymentGetConfigResponseBody$inboundSchema, DeploymentGetConfigResponseBody$outboundSchema, DeploymentGetConfigResponseBody$;
|
|
41761
|
+
var DeploymentGetConfigPrefixMessagesDeploymentsRequestRole, DeploymentGetConfig2DeploymentsRequestRequestBodyType, DeploymentGetConfig2DeploymentsRequestType, DeploymentGetConfigPrefixMessagesDeploymentsRole, PrefixMessagesType, DeploymentGetConfigPrefixMessagesRole, DeploymentGetConfig2DeploymentsType, DeploymentGetConfig2Type, Format, TwoType, Detail, Type, PrefixMessagesRole, Role, DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type, DeploymentGetConfigMessagesDeploymentsRequestRole, MessagesType, DeploymentGetConfigMessagesDeploymentsRole, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType, TwoFormat, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type, TwoDetail, DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType, DeploymentGetConfigMessagesRole, MessagesRole, DeploymentGetConfigType, DeploymentGetConfigRole, DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType, DeploymentGetConfig2DeploymentsResponse200Type, DeploymentGetConfig2DeploymentsResponseType, DeploymentGetConfigDeploymentsResponseType, DeploymentGetConfigFormat, DeploymentGetConfigResponseFormatType, DeploymentGetConfigResponseFormatDeploymentsType, DeploymentGetConfigPhotoRealVersion, DeploymentGetConfigEncodingFormat, DeploymentGetConfigReasoningEffort, DeploymentGetConfigDeploymentsType, Inputs$inboundSchema, Inputs$outboundSchema, Inputs$, DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$inboundSchema, DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$outboundSchema, DeploymentGetConfigPrefixMessagesDeploymentsRequestRole$, DeploymentGetConfigPrefixMessagesContent$inboundSchema, DeploymentGetConfigPrefixMessagesContent$outboundSchema, DeploymentGetConfigPrefixMessagesContent$, ToolMessage$inboundSchema, ToolMessage$outboundSchema, ToolMessage$, DeploymentGetConfig2DeploymentsRequestRequestBodyType$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyType$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyType$, RefusalContentPart$inboundSchema, RefusalContentPart$outboundSchema, RefusalContentPart$, DeploymentGetConfig2DeploymentsRequestType$inboundSchema, DeploymentGetConfig2DeploymentsRequestType$outboundSchema, DeploymentGetConfig2DeploymentsRequestType$, TextContentPart$inboundSchema, TextContentPart$outboundSchema, TextContentPart$, Content2$inboundSchema, Content2$outboundSchema, Content2$, PrefixMessagesContent$inboundSchema, PrefixMessagesContent$outboundSchema, PrefixMessagesContent$, DeploymentGetConfigPrefixMessagesDeploymentsRole$inboundSchema, DeploymentGetConfigPrefixMessagesDeploymentsRole$outboundSchema, DeploymentGetConfigPrefixMessagesDeploymentsRole$, Audio$inboundSchema, Audio$outboundSchema, Audio$, PrefixMessagesType$inboundSchema, PrefixMessagesType$outboundSchema, PrefixMessagesType$, FunctionT$inboundSchema, FunctionT$outboundSchema, FunctionT$, ToolCalls$inboundSchema, ToolCalls$outboundSchema, ToolCalls$, AssistantMessage$inboundSchema, AssistantMessage$outboundSchema, AssistantMessage$, DeploymentGetConfigPrefixMessagesRole$inboundSchema, DeploymentGetConfigPrefixMessagesRole$outboundSchema, DeploymentGetConfigPrefixMessagesRole$, DeploymentGetConfig2DeploymentsType$inboundSchema, DeploymentGetConfig2DeploymentsType$outboundSchema, DeploymentGetConfig2DeploymentsType$, FileT$inboundSchema, FileT$outboundSchema, FileT$, Four$inboundSchema, Four$outboundSchema, Four$, DeploymentGetConfig2Type$inboundSchema, DeploymentGetConfig2Type$outboundSchema, DeploymentGetConfig2Type$, Format$inboundSchema, Format$outboundSchema, Format$, InputAudio$inboundSchema, InputAudio$outboundSchema, InputAudio$, Three$inboundSchema, Three$outboundSchema, Three$, TwoType$inboundSchema, TwoType$outboundSchema, TwoType$, Detail$inboundSchema, Detail$outboundSchema, Detail$, ImageUrl$inboundSchema, ImageUrl$outboundSchema, ImageUrl$, Two2$inboundSchema, Two2$outboundSchema, Two2$, Type$inboundSchema, Type$outboundSchema, Type$, One$inboundSchema, One$outboundSchema, One$, Two$inboundSchema, Two$outboundSchema, Two$, Content$inboundSchema, Content$outboundSchema, Content$, UserMessage$inboundSchema, UserMessage$outboundSchema, UserMessage$, PrefixMessagesRole$inboundSchema, PrefixMessagesRole$outboundSchema, PrefixMessagesRole$, SystemMessage$inboundSchema, SystemMessage$outboundSchema, SystemMessage$, Role$inboundSchema, Role$outboundSchema, Role$, DeveloperMessage$inboundSchema, DeveloperMessage$outboundSchema, DeveloperMessage$, PrefixMessages$inboundSchema, PrefixMessages$outboundSchema, PrefixMessages$, DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$inboundSchema, DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$outboundSchema, DeploymentGetConfigMessagesDeploymentsRequestRequestBodyRole$, DeploymentGetConfigMessagesDeploymentsContent$inboundSchema, DeploymentGetConfigMessagesDeploymentsContent$outboundSchema, DeploymentGetConfigMessagesDeploymentsContent$, MessagesToolMessage$inboundSchema, MessagesToolMessage$outboundSchema, MessagesToolMessage$, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4ContentType$, TwoRefusalContentPart$inboundSchema, TwoRefusalContentPart$outboundSchema, TwoRefusalContentPart$, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages4Type$, TwoTextContentPart$inboundSchema, TwoTextContentPart$outboundSchema, TwoTextContentPart$, DeploymentGetConfigContentDeployments2$inboundSchema, DeploymentGetConfigContentDeployments2$outboundSchema, DeploymentGetConfigContentDeployments2$, DeploymentGetConfigMessagesContent$inboundSchema, DeploymentGetConfigMessagesContent$outboundSchema, DeploymentGetConfigMessagesContent$, DeploymentGetConfigMessagesDeploymentsRequestRole$inboundSchema, DeploymentGetConfigMessagesDeploymentsRequestRole$outboundSchema, DeploymentGetConfigMessagesDeploymentsRequestRole$, MessagesAudio$inboundSchema, MessagesAudio$outboundSchema, MessagesAudio$, MessagesType$inboundSchema, MessagesType$outboundSchema, MessagesType$, MessagesFunction$inboundSchema, MessagesFunction$outboundSchema, MessagesFunction$, MessagesToolCalls$inboundSchema, MessagesToolCalls$outboundSchema, MessagesToolCalls$, MessagesAssistantMessage$inboundSchema, MessagesAssistantMessage$outboundSchema, MessagesAssistantMessage$, DeploymentGetConfigMessagesDeploymentsRole$inboundSchema, DeploymentGetConfigMessagesDeploymentsRole$outboundSchema, DeploymentGetConfigMessagesDeploymentsRole$, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Content4Type$, TwoFile$inboundSchema, TwoFile$outboundSchema, TwoFile$, Two4$inboundSchema, Two4$outboundSchema, Two4$, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3ContentType$, TwoFormat$inboundSchema, TwoFormat$outboundSchema, TwoFormat$, TwoInputAudio$inboundSchema, TwoInputAudio$outboundSchema, TwoInputAudio$, Two3$inboundSchema, Two3$outboundSchema, Two3$, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessages3Type$, TwoDetail$inboundSchema, TwoDetail$outboundSchema, TwoDetail$, TwoImageUrl$inboundSchema, TwoImageUrl$outboundSchema, TwoImageUrl$, DeploymentGetConfig22$inboundSchema, DeploymentGetConfig22$outboundSchema, DeploymentGetConfig22$, DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$inboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$outboundSchema, DeploymentGetConfig2DeploymentsRequestRequestBodyMessagesType$, Two1$inboundSchema, Two1$outboundSchema, Two1$, DeploymentGetConfigContent2$inboundSchema, DeploymentGetConfigContent2$outboundSchema, DeploymentGetConfigContent2$, MessagesContent$inboundSchema, MessagesContent$outboundSchema, MessagesContent$, MessagesUserMessage$inboundSchema, MessagesUserMessage$outboundSchema, MessagesUserMessage$, DeploymentGetConfigMessagesRole$inboundSchema, DeploymentGetConfigMessagesRole$outboundSchema, DeploymentGetConfigMessagesRole$, MessagesSystemMessage$inboundSchema, MessagesSystemMessage$outboundSchema, MessagesSystemMessage$, MessagesRole$inboundSchema, MessagesRole$outboundSchema, MessagesRole$, MessagesDeveloperMessage$inboundSchema, MessagesDeveloperMessage$outboundSchema, MessagesDeveloperMessage$, Messages$inboundSchema, Messages$outboundSchema, Messages$, Metadata$inboundSchema, Metadata$outboundSchema, Metadata$, Documents$inboundSchema, Documents$outboundSchema, Documents$, InvokeOptions$inboundSchema, InvokeOptions$outboundSchema, InvokeOptions$, Thread$inboundSchema, Thread$outboundSchema, Thread$, OrExists$inboundSchema, OrExists$outboundSchema, OrExists$, DeploymentGetConfigOrNin$inboundSchema, DeploymentGetConfigOrNin$outboundSchema, DeploymentGetConfigOrNin$, OrNin$inboundSchema, OrNin$outboundSchema, OrNin$, DeploymentGetConfigOrIn$inboundSchema, DeploymentGetConfigOrIn$outboundSchema, DeploymentGetConfigOrIn$, OrIn$inboundSchema, OrIn$outboundSchema, OrIn$, OrLte$inboundSchema, OrLte$outboundSchema, OrLte$, OrLt$inboundSchema, OrLt$outboundSchema, OrLt$, OrGte$inboundSchema, OrGte$outboundSchema, OrGte$, Or3$inboundSchema, Or3$outboundSchema, Or3$, DeploymentGetConfigOrNe$inboundSchema, DeploymentGetConfigOrNe$outboundSchema, DeploymentGetConfigOrNe$, OrNe$inboundSchema, OrNe$outboundSchema, OrNe$, DeploymentGetConfigOrEq$inboundSchema, DeploymentGetConfigOrEq$outboundSchema, DeploymentGetConfigOrEq$, OrEq$inboundSchema, OrEq$outboundSchema, OrEq$, KnowledgeFilterOr$inboundSchema, KnowledgeFilterOr$outboundSchema, KnowledgeFilterOr$, Or$inboundSchema, Or$outboundSchema, Or$, AndExists$inboundSchema, AndExists$outboundSchema, AndExists$, DeploymentGetConfigAndNin$inboundSchema, DeploymentGetConfigAndNin$outboundSchema, DeploymentGetConfigAndNin$, AndNin$inboundSchema, AndNin$outboundSchema, AndNin$, DeploymentGetConfigAndIn$inboundSchema, DeploymentGetConfigAndIn$outboundSchema, DeploymentGetConfigAndIn$, AndIn$inboundSchema, AndIn$outboundSchema, AndIn$, AndLte$inboundSchema, AndLte$outboundSchema, AndLte$, AndLt$inboundSchema, AndLt$outboundSchema, AndLt$, AndGte$inboundSchema, AndGte$outboundSchema, AndGte$, And3$inboundSchema, And3$outboundSchema, And3$, DeploymentGetConfigAndNe$inboundSchema, DeploymentGetConfigAndNe$outboundSchema, DeploymentGetConfigAndNe$, AndNe$inboundSchema, AndNe$outboundSchema, AndNe$, DeploymentGetConfigAndEq$inboundSchema, DeploymentGetConfigAndEq$outboundSchema, DeploymentGetConfigAndEq$, AndEq$inboundSchema, AndEq$outboundSchema, AndEq$, KnowledgeFilterAnd$inboundSchema, KnowledgeFilterAnd$outboundSchema, KnowledgeFilterAnd$, And$inboundSchema, And$outboundSchema, And$, Exists$inboundSchema, Exists$outboundSchema, Exists$, OneNin$inboundSchema, OneNin$outboundSchema, OneNin$, Nin$inboundSchema, Nin$outboundSchema, Nin$, OneIn$inboundSchema, OneIn$outboundSchema, OneIn$, In$inboundSchema, In$outboundSchema, In$, Lte$inboundSchema, Lte$outboundSchema, Lte$, Lt$inboundSchema, Lt$outboundSchema, Lt$, Gte$inboundSchema, Gte$outboundSchema, Gte$, One3$inboundSchema, One3$outboundSchema, One3$, OneNe$inboundSchema, OneNe$outboundSchema, OneNe$, Ne$inboundSchema, Ne$outboundSchema, Ne$, OneEq$inboundSchema, OneEq$outboundSchema, OneEq$, Eq$inboundSchema, Eq$outboundSchema, Eq$, KnowledgeFilter1$inboundSchema, KnowledgeFilter1$outboundSchema, KnowledgeFilter1$, KnowledgeFilter$inboundSchema, KnowledgeFilter$outboundSchema, KnowledgeFilter$, DeploymentGetConfigRequestBody$inboundSchema, DeploymentGetConfigRequestBody$outboundSchema, DeploymentGetConfigRequestBody$, DeploymentGetConfigType$inboundSchema, DeploymentGetConfigType$outboundSchema, DeploymentGetConfigType$, DeploymentGetConfigRole$inboundSchema, DeploymentGetConfigRole$outboundSchema, DeploymentGetConfigRole$, DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$inboundSchema, DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$outboundSchema, DeploymentGetConfig2DeploymentsResponse200ApplicationJSONType$, DeploymentGetConfig2File$inboundSchema, DeploymentGetConfig2File$outboundSchema, DeploymentGetConfig2File$, DeploymentGetConfig23$inboundSchema, DeploymentGetConfig23$outboundSchema, DeploymentGetConfig23$, DeploymentGetConfig2DeploymentsResponse200Type$inboundSchema, DeploymentGetConfig2DeploymentsResponse200Type$outboundSchema, DeploymentGetConfig2DeploymentsResponse200Type$, DeploymentGetConfig2ImageUrl$inboundSchema, DeploymentGetConfig2ImageUrl$outboundSchema, DeploymentGetConfig2ImageUrl$, DeploymentGetConfig2Deployments2$inboundSchema, DeploymentGetConfig2Deployments2$outboundSchema, DeploymentGetConfig2Deployments2$, DeploymentGetConfig2DeploymentsResponseType$inboundSchema, DeploymentGetConfig2DeploymentsResponseType$outboundSchema, DeploymentGetConfig2DeploymentsResponseType$, DeploymentGetConfig21$inboundSchema, DeploymentGetConfig21$outboundSchema, DeploymentGetConfig21$, DeploymentGetConfigContentDeploymentsResponse2$inboundSchema, DeploymentGetConfigContentDeploymentsResponse2$outboundSchema, DeploymentGetConfigContentDeploymentsResponse2$, DeploymentGetConfigContent$inboundSchema, DeploymentGetConfigContent$outboundSchema, DeploymentGetConfigContent$, DeploymentGetConfigDeploymentsResponseType$inboundSchema, DeploymentGetConfigDeploymentsResponseType$outboundSchema, DeploymentGetConfigDeploymentsResponseType$, DeploymentGetConfigDeploymentsFunction$inboundSchema, DeploymentGetConfigDeploymentsFunction$outboundSchema, DeploymentGetConfigDeploymentsFunction$, DeploymentGetConfigToolCalls$inboundSchema, DeploymentGetConfigToolCalls$outboundSchema, DeploymentGetConfigToolCalls$, DeploymentGetConfigMessages$inboundSchema, DeploymentGetConfigMessages$outboundSchema, DeploymentGetConfigMessages$, DeploymentGetConfigFormat$inboundSchema, DeploymentGetConfigFormat$outboundSchema, DeploymentGetConfigFormat$, DeploymentGetConfigResponseFormatType$inboundSchema, DeploymentGetConfigResponseFormatType$outboundSchema, DeploymentGetConfigResponseFormatType$, DeploymentGetConfigResponseFormat2$inboundSchema, DeploymentGetConfigResponseFormat2$outboundSchema, DeploymentGetConfigResponseFormat2$, DeploymentGetConfigResponseFormatDeploymentsType$inboundSchema, DeploymentGetConfigResponseFormatDeploymentsType$outboundSchema, DeploymentGetConfigResponseFormatDeploymentsType$, DeploymentGetConfigResponseFormatJsonSchema$inboundSchema, DeploymentGetConfigResponseFormatJsonSchema$outboundSchema, DeploymentGetConfigResponseFormatJsonSchema$, DeploymentGetConfigResponseFormat1$inboundSchema, DeploymentGetConfigResponseFormat1$outboundSchema, DeploymentGetConfigResponseFormat1$, DeploymentGetConfigResponseFormat$inboundSchema, DeploymentGetConfigResponseFormat$outboundSchema, DeploymentGetConfigResponseFormat$, DeploymentGetConfigPhotoRealVersion$inboundSchema, DeploymentGetConfigPhotoRealVersion$outboundSchema, DeploymentGetConfigPhotoRealVersion$, DeploymentGetConfigEncodingFormat$inboundSchema, DeploymentGetConfigEncodingFormat$outboundSchema, DeploymentGetConfigEncodingFormat$, DeploymentGetConfigReasoningEffort$inboundSchema, DeploymentGetConfigReasoningEffort$outboundSchema, DeploymentGetConfigReasoningEffort$, DeploymentGetConfigParameters$inboundSchema, DeploymentGetConfigParameters$outboundSchema, DeploymentGetConfigParameters$, DeploymentGetConfigDeploymentsType$inboundSchema, DeploymentGetConfigDeploymentsType$outboundSchema, DeploymentGetConfigDeploymentsType$, DeploymentGetConfigFunction$inboundSchema, DeploymentGetConfigFunction$outboundSchema, DeploymentGetConfigFunction$, Tools$inboundSchema, Tools$outboundSchema, Tools$, DeploymentGetConfigResponseBody$inboundSchema, DeploymentGetConfigResponseBody$outboundSchema, DeploymentGetConfigResponseBody$;
|
|
41760
41762
|
var init_deploymentgetconfig = __esm(() => {
|
|
41761
41763
|
init_esm();
|
|
41762
41764
|
init_primitives();
|
|
@@ -43859,7 +43861,7 @@ var init_deploymentgetconfig = __esm(() => {
|
|
|
43859
43861
|
DeploymentGetConfigReasoningEffort$.inboundSchema = DeploymentGetConfigReasoningEffort$inboundSchema;
|
|
43860
43862
|
DeploymentGetConfigReasoningEffort$.outboundSchema = DeploymentGetConfigReasoningEffort$outboundSchema;
|
|
43861
43863
|
})(DeploymentGetConfigReasoningEffort$ ||= {});
|
|
43862
|
-
|
|
43864
|
+
DeploymentGetConfigParameters$inboundSchema = objectType({
|
|
43863
43865
|
temperature: numberType().optional(),
|
|
43864
43866
|
maxTokens: numberType().optional(),
|
|
43865
43867
|
topK: numberType().optional(),
|
|
@@ -43885,7 +43887,7 @@ var init_deploymentgetconfig = __esm(() => {
|
|
|
43885
43887
|
encoding_format: "encodingFormat"
|
|
43886
43888
|
});
|
|
43887
43889
|
});
|
|
43888
|
-
|
|
43890
|
+
DeploymentGetConfigParameters$outboundSchema = objectType({
|
|
43889
43891
|
temperature: numberType().optional(),
|
|
43890
43892
|
maxTokens: numberType().optional(),
|
|
43891
43893
|
topK: numberType().optional(),
|
|
@@ -43911,10 +43913,10 @@ var init_deploymentgetconfig = __esm(() => {
|
|
|
43911
43913
|
encodingFormat: "encoding_format"
|
|
43912
43914
|
});
|
|
43913
43915
|
});
|
|
43914
|
-
((
|
|
43915
|
-
|
|
43916
|
-
|
|
43917
|
-
})(
|
|
43916
|
+
((DeploymentGetConfigParameters$) => {
|
|
43917
|
+
DeploymentGetConfigParameters$.inboundSchema = DeploymentGetConfigParameters$inboundSchema;
|
|
43918
|
+
DeploymentGetConfigParameters$.outboundSchema = DeploymentGetConfigParameters$outboundSchema;
|
|
43919
|
+
})(DeploymentGetConfigParameters$ ||= {});
|
|
43918
43920
|
DeploymentGetConfigDeploymentsType$inboundSchema = nativeEnumType(DeploymentGetConfigDeploymentsType);
|
|
43919
43921
|
DeploymentGetConfigDeploymentsType$outboundSchema = DeploymentGetConfigDeploymentsType$inboundSchema;
|
|
43920
43922
|
((DeploymentGetConfigDeploymentsType$) => {
|
|
@@ -43954,7 +43956,7 @@ var init_deploymentgetconfig = __esm(() => {
|
|
|
43954
43956
|
type: DeploymentGetConfigType$inboundSchema.optional(),
|
|
43955
43957
|
version: stringType(),
|
|
43956
43958
|
messages: arrayType(lazyType(() => DeploymentGetConfigMessages$inboundSchema)),
|
|
43957
|
-
parameters: lazyType(() =>
|
|
43959
|
+
parameters: lazyType(() => DeploymentGetConfigParameters$inboundSchema),
|
|
43958
43960
|
tools: arrayType(lazyType(() => Tools$inboundSchema)).optional()
|
|
43959
43961
|
});
|
|
43960
43962
|
DeploymentGetConfigResponseBody$outboundSchema = objectType({
|
|
@@ -43964,7 +43966,7 @@ var init_deploymentgetconfig = __esm(() => {
|
|
|
43964
43966
|
type: DeploymentGetConfigType$outboundSchema.optional(),
|
|
43965
43967
|
version: stringType(),
|
|
43966
43968
|
messages: arrayType(lazyType(() => DeploymentGetConfigMessages$outboundSchema)),
|
|
43967
|
-
parameters: lazyType(() =>
|
|
43969
|
+
parameters: lazyType(() => DeploymentGetConfigParameters$outboundSchema),
|
|
43968
43970
|
tools: arrayType(lazyType(() => Tools$outboundSchema)).optional()
|
|
43969
43971
|
});
|
|
43970
43972
|
((DeploymentGetConfigResponseBody$) => {
|
|
@@ -44002,7 +44004,8 @@ var init_deploymentinvoke = __esm(() => {
|
|
|
44002
44004
|
Nvidia: "nvidia",
|
|
44003
44005
|
Jina: "jina",
|
|
44004
44006
|
Togetherai: "togetherai",
|
|
44005
|
-
Elevenlabs: "elevenlabs"
|
|
44007
|
+
Elevenlabs: "elevenlabs",
|
|
44008
|
+
Litellm: "litellm"
|
|
44006
44009
|
};
|
|
44007
44010
|
DeploymentInvokeMessageDeploymentsType = {
|
|
44008
44011
|
Image: "image"
|
|
@@ -44424,7 +44427,8 @@ var init_deployments = __esm(() => {
|
|
|
44424
44427
|
Nvidia: "nvidia",
|
|
44425
44428
|
Jina: "jina",
|
|
44426
44429
|
Togetherai: "togetherai",
|
|
44427
|
-
Elevenlabs: "elevenlabs"
|
|
44430
|
+
Elevenlabs: "elevenlabs",
|
|
44431
|
+
Litellm: "litellm"
|
|
44428
44432
|
};
|
|
44429
44433
|
DeploymentsRole = {
|
|
44430
44434
|
System: "system",
|
|
@@ -48562,7 +48566,7 @@ var init_fileget = __esm(() => {
|
|
|
48562
48566
|
bytes: numberType(),
|
|
48563
48567
|
file_name: stringType(),
|
|
48564
48568
|
workspace_id: stringType(),
|
|
48565
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48569
|
+
created: stringType().datetime({ offset: true }).default("2025-06-10T02:01:01.525Z").transform((v2) => new Date(v2))
|
|
48566
48570
|
}).transform((v2) => {
|
|
48567
48571
|
return remap(v2, {
|
|
48568
48572
|
_id: "id",
|
|
@@ -48578,7 +48582,7 @@ var init_fileget = __esm(() => {
|
|
|
48578
48582
|
bytes: numberType(),
|
|
48579
48583
|
fileName: stringType(),
|
|
48580
48584
|
workspaceId: stringType(),
|
|
48581
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48585
|
+
created: dateType().default(() => new Date("2025-06-10T02:01:01.525Z")).transform((v2) => v2.toISOString())
|
|
48582
48586
|
}).transform((v2) => {
|
|
48583
48587
|
return remap(v2, {
|
|
48584
48588
|
id: "_id",
|
|
@@ -48649,7 +48653,7 @@ var init_filelist = __esm(() => {
|
|
|
48649
48653
|
bytes: numberType(),
|
|
48650
48654
|
file_name: stringType(),
|
|
48651
48655
|
workspace_id: stringType(),
|
|
48652
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48656
|
+
created: stringType().datetime({ offset: true }).default("2025-06-10T02:01:01.525Z").transform((v2) => new Date(v2))
|
|
48653
48657
|
}).transform((v2) => {
|
|
48654
48658
|
return remap(v2, {
|
|
48655
48659
|
_id: "id",
|
|
@@ -48665,7 +48669,7 @@ var init_filelist = __esm(() => {
|
|
|
48665
48669
|
bytes: numberType(),
|
|
48666
48670
|
fileName: stringType(),
|
|
48667
48671
|
workspaceId: stringType(),
|
|
48668
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48672
|
+
created: dateType().default(() => new Date("2025-06-10T02:01:01.525Z")).transform((v2) => v2.toISOString())
|
|
48669
48673
|
}).transform((v2) => {
|
|
48670
48674
|
return remap(v2, {
|
|
48671
48675
|
id: "_id",
|
|
@@ -48797,7 +48801,7 @@ var init_fileupload = __esm(() => {
|
|
|
48797
48801
|
bytes: numberType(),
|
|
48798
48802
|
file_name: stringType(),
|
|
48799
48803
|
workspace_id: stringType(),
|
|
48800
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48804
|
+
created: stringType().datetime({ offset: true }).default("2025-06-10T02:01:01.525Z").transform((v2) => new Date(v2))
|
|
48801
48805
|
}).transform((v2) => {
|
|
48802
48806
|
return remap(v2, {
|
|
48803
48807
|
_id: "id",
|
|
@@ -48813,7 +48817,7 @@ var init_fileupload = __esm(() => {
|
|
|
48813
48817
|
bytes: numberType(),
|
|
48814
48818
|
fileName: stringType(),
|
|
48815
48819
|
workspaceId: stringType(),
|
|
48816
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48820
|
+
created: dateType().default(() => new Date("2025-06-10T02:01:01.525Z")).transform((v2) => v2.toISOString())
|
|
48817
48821
|
}).transform((v2) => {
|
|
48818
48822
|
return remap(v2, {
|
|
48819
48823
|
id: "_id",
|
|
@@ -48893,7 +48897,8 @@ var init_getallprompts = __esm(() => {
|
|
|
48893
48897
|
Nvidia: "nvidia",
|
|
48894
48898
|
Jina: "jina",
|
|
48895
48899
|
Togetherai: "togetherai",
|
|
48896
|
-
Elevenlabs: "elevenlabs"
|
|
48900
|
+
Elevenlabs: "elevenlabs",
|
|
48901
|
+
Litellm: "litellm"
|
|
48897
48902
|
};
|
|
48898
48903
|
GetAllPromptsRole = {
|
|
48899
48904
|
System: "system",
|
|
@@ -49815,8 +49820,8 @@ var init_getevals = __esm(() => {
|
|
|
49815
49820
|
Typescript$inboundSchema = objectType({
|
|
49816
49821
|
_id: stringType(),
|
|
49817
49822
|
description: stringType(),
|
|
49818
|
-
created: stringType().default("2025-06-
|
|
49819
|
-
updated: stringType().default("2025-06-
|
|
49823
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
49824
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
49820
49825
|
guardrail_config: unionType([
|
|
49821
49826
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
49822
49827
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema)
|
|
@@ -49833,8 +49838,8 @@ var init_getevals = __esm(() => {
|
|
|
49833
49838
|
Typescript$outboundSchema = objectType({
|
|
49834
49839
|
id: stringType(),
|
|
49835
49840
|
description: stringType(),
|
|
49836
|
-
created: stringType().default("2025-06-
|
|
49837
|
-
updated: stringType().default("2025-06-
|
|
49841
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
49842
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
49838
49843
|
guardrailConfig: unionType([
|
|
49839
49844
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema),
|
|
49840
49845
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema)
|
|
@@ -49927,8 +49932,8 @@ var init_getevals = __esm(() => {
|
|
|
49927
49932
|
Ragas$inboundSchema = objectType({
|
|
49928
49933
|
_id: stringType(),
|
|
49929
49934
|
description: stringType(),
|
|
49930
|
-
created: stringType().default("2025-06-
|
|
49931
|
-
updated: stringType().default("2025-06-
|
|
49935
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
49936
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
49932
49937
|
guardrail_config: unionType([
|
|
49933
49938
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
49934
49939
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema)
|
|
@@ -49947,8 +49952,8 @@ var init_getevals = __esm(() => {
|
|
|
49947
49952
|
Ragas$outboundSchema = objectType({
|
|
49948
49953
|
id: stringType(),
|
|
49949
49954
|
description: stringType(),
|
|
49950
|
-
created: stringType().default("2025-06-
|
|
49951
|
-
updated: stringType().default("2025-06-
|
|
49955
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
49956
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
49952
49957
|
guardrailConfig: unionType([
|
|
49953
49958
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
49954
49959
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema)
|
|
@@ -50499,8 +50504,8 @@ var init_getevals = __esm(() => {
|
|
|
50499
50504
|
DataFunction$inboundSchema = objectType({
|
|
50500
50505
|
_id: stringType(),
|
|
50501
50506
|
description: stringType(),
|
|
50502
|
-
created: stringType().default("2025-06-
|
|
50503
|
-
updated: stringType().default("2025-06-
|
|
50507
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50508
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50504
50509
|
guardrail_config: unionType([
|
|
50505
50510
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
50506
50511
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema)
|
|
@@ -50543,8 +50548,8 @@ var init_getevals = __esm(() => {
|
|
|
50543
50548
|
DataFunction$outboundSchema = objectType({
|
|
50544
50549
|
id: stringType(),
|
|
50545
50550
|
description: stringType(),
|
|
50546
|
-
created: stringType().default("2025-06-
|
|
50547
|
-
updated: stringType().default("2025-06-
|
|
50551
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50552
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50548
50553
|
guardrailConfig: unionType([
|
|
50549
50554
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
50550
50555
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema)
|
|
@@ -50657,8 +50662,8 @@ var init_getevals = __esm(() => {
|
|
|
50657
50662
|
DataPython$inboundSchema = objectType({
|
|
50658
50663
|
_id: stringType(),
|
|
50659
50664
|
description: stringType(),
|
|
50660
|
-
created: stringType().default("2025-06-
|
|
50661
|
-
updated: stringType().default("2025-06-
|
|
50665
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50666
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50662
50667
|
guardrail_config: unionType([
|
|
50663
50668
|
lazyType(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema),
|
|
50664
50669
|
lazyType(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema)
|
|
@@ -50675,8 +50680,8 @@ var init_getevals = __esm(() => {
|
|
|
50675
50680
|
DataPython$outboundSchema = objectType({
|
|
50676
50681
|
id: stringType(),
|
|
50677
50682
|
description: stringType(),
|
|
50678
|
-
created: stringType().default("2025-06-
|
|
50679
|
-
updated: stringType().default("2025-06-
|
|
50683
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50684
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50680
50685
|
guardrailConfig: unionType([
|
|
50681
50686
|
lazyType(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema),
|
|
50682
50687
|
lazyType(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema)
|
|
@@ -50769,8 +50774,8 @@ var init_getevals = __esm(() => {
|
|
|
50769
50774
|
DataHTTP$inboundSchema = objectType({
|
|
50770
50775
|
_id: stringType(),
|
|
50771
50776
|
description: stringType(),
|
|
50772
|
-
created: stringType().default("2025-06-
|
|
50773
|
-
updated: stringType().default("2025-06-
|
|
50777
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50778
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50774
50779
|
guardrail_config: unionType([
|
|
50775
50780
|
lazyType(() => GetEvalsGuardrailConfigBoolean$inboundSchema),
|
|
50776
50781
|
lazyType(() => GetEvalsGuardrailConfigNumber$inboundSchema)
|
|
@@ -50790,8 +50795,8 @@ var init_getevals = __esm(() => {
|
|
|
50790
50795
|
DataHTTP$outboundSchema = objectType({
|
|
50791
50796
|
id: stringType(),
|
|
50792
50797
|
description: stringType(),
|
|
50793
|
-
created: stringType().default("2025-06-
|
|
50794
|
-
updated: stringType().default("2025-06-
|
|
50798
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50799
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50795
50800
|
guardrailConfig: unionType([
|
|
50796
50801
|
lazyType(() => GetEvalsGuardrailConfigBoolean$outboundSchema),
|
|
50797
50802
|
lazyType(() => GetEvalsGuardrailConfigNumber$outboundSchema)
|
|
@@ -50881,8 +50886,8 @@ var init_getevals = __esm(() => {
|
|
|
50881
50886
|
DataJSON$inboundSchema = objectType({
|
|
50882
50887
|
_id: stringType(),
|
|
50883
50888
|
description: stringType(),
|
|
50884
|
-
created: stringType().default("2025-06-
|
|
50885
|
-
updated: stringType().default("2025-06-
|
|
50889
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50890
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50886
50891
|
guardrail_config: unionType([
|
|
50887
50892
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema),
|
|
50888
50893
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema)
|
|
@@ -50899,8 +50904,8 @@ var init_getevals = __esm(() => {
|
|
|
50899
50904
|
DataJSON$outboundSchema = objectType({
|
|
50900
50905
|
id: stringType(),
|
|
50901
50906
|
description: stringType(),
|
|
50902
|
-
created: stringType().default("2025-06-
|
|
50903
|
-
updated: stringType().default("2025-06-
|
|
50907
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50908
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50904
50909
|
guardrailConfig: unionType([
|
|
50905
50910
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$outboundSchema),
|
|
50906
50911
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema)
|
|
@@ -50987,8 +50992,8 @@ var init_getevals = __esm(() => {
|
|
|
50987
50992
|
DataLLM$inboundSchema = objectType({
|
|
50988
50993
|
_id: stringType(),
|
|
50989
50994
|
description: stringType(),
|
|
50990
|
-
created: stringType().default("2025-06-
|
|
50991
|
-
updated: stringType().default("2025-06-
|
|
50995
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50996
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
50992
50997
|
guardrail_config: unionType([
|
|
50993
50998
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
50994
50999
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema)
|
|
@@ -51006,8 +51011,8 @@ var init_getevals = __esm(() => {
|
|
|
51006
51011
|
DataLLM$outboundSchema = objectType({
|
|
51007
51012
|
id: stringType(),
|
|
51008
51013
|
description: stringType(),
|
|
51009
|
-
created: stringType().default("2025-06-
|
|
51010
|
-
updated: stringType().default("2025-06-
|
|
51014
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
51015
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
51011
51016
|
guardrailConfig: unionType([
|
|
51012
51017
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema),
|
|
51013
51018
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema)
|
|
@@ -51386,7 +51391,8 @@ var init_getoneprompt = __esm(() => {
|
|
|
51386
51391
|
Nvidia: "nvidia",
|
|
51387
51392
|
Jina: "jina",
|
|
51388
51393
|
Togetherai: "togetherai",
|
|
51389
|
-
Elevenlabs: "elevenlabs"
|
|
51394
|
+
Elevenlabs: "elevenlabs",
|
|
51395
|
+
Litellm: "litellm"
|
|
51390
51396
|
};
|
|
51391
51397
|
GetOnePromptRole = {
|
|
51392
51398
|
System: "system",
|
|
@@ -52010,7 +52016,8 @@ var init_getpromptversion = __esm(() => {
|
|
|
52010
52016
|
Nvidia: "nvidia",
|
|
52011
52017
|
Jina: "jina",
|
|
52012
52018
|
Togetherai: "togetherai",
|
|
52013
|
-
Elevenlabs: "elevenlabs"
|
|
52019
|
+
Elevenlabs: "elevenlabs",
|
|
52020
|
+
Litellm: "litellm"
|
|
52014
52021
|
};
|
|
52015
52022
|
GetPromptVersionRole = {
|
|
52016
52023
|
System: "system",
|
|
@@ -52567,6 +52574,267 @@ var init_getpromptversion = __esm(() => {
|
|
|
52567
52574
|
})(GetPromptVersionResponseBody$ ||= {});
|
|
52568
52575
|
});
|
|
52569
52576
|
|
|
52577
|
+
// src/models/operations/getv2modelslitellmmodels.ts
|
|
52578
|
+
var GetV2ModelsLitellmModelsLitellmParams$inboundSchema, GetV2ModelsLitellmModelsLitellmParams$outboundSchema, GetV2ModelsLitellmModelsLitellmParams$, GetV2ModelsLitellmModelsModelInfo$inboundSchema, GetV2ModelsLitellmModelsModelInfo$outboundSchema, GetV2ModelsLitellmModelsModelInfo$, ResponseBody$inboundSchema, ResponseBody$outboundSchema, ResponseBody$;
|
|
52579
|
+
var init_getv2modelslitellmmodels = __esm(() => {
|
|
52580
|
+
init_esm();
|
|
52581
|
+
init_primitives();
|
|
52582
|
+
GetV2ModelsLitellmModelsLitellmParams$inboundSchema = objectType({
|
|
52583
|
+
use_in_pass_through: booleanType(),
|
|
52584
|
+
use_litellm_proxy: booleanType(),
|
|
52585
|
+
merge_reasoning_content_in_choices: booleanType(),
|
|
52586
|
+
model: stringType()
|
|
52587
|
+
}).transform((v2) => {
|
|
52588
|
+
return remap(v2, {
|
|
52589
|
+
use_in_pass_through: "useInPassThrough",
|
|
52590
|
+
use_litellm_proxy: "useLitellmProxy",
|
|
52591
|
+
merge_reasoning_content_in_choices: "mergeReasoningContentInChoices"
|
|
52592
|
+
});
|
|
52593
|
+
});
|
|
52594
|
+
GetV2ModelsLitellmModelsLitellmParams$outboundSchema = objectType({
|
|
52595
|
+
useInPassThrough: booleanType(),
|
|
52596
|
+
useLitellmProxy: booleanType(),
|
|
52597
|
+
mergeReasoningContentInChoices: booleanType(),
|
|
52598
|
+
model: stringType()
|
|
52599
|
+
}).transform((v2) => {
|
|
52600
|
+
return remap(v2, {
|
|
52601
|
+
useInPassThrough: "use_in_pass_through",
|
|
52602
|
+
useLitellmProxy: "use_litellm_proxy",
|
|
52603
|
+
mergeReasoningContentInChoices: "merge_reasoning_content_in_choices"
|
|
52604
|
+
});
|
|
52605
|
+
});
|
|
52606
|
+
((GetV2ModelsLitellmModelsLitellmParams$) => {
|
|
52607
|
+
GetV2ModelsLitellmModelsLitellmParams$.inboundSchema = GetV2ModelsLitellmModelsLitellmParams$inboundSchema;
|
|
52608
|
+
GetV2ModelsLitellmModelsLitellmParams$.outboundSchema = GetV2ModelsLitellmModelsLitellmParams$outboundSchema;
|
|
52609
|
+
})(GetV2ModelsLitellmModelsLitellmParams$ ||= {});
|
|
52610
|
+
GetV2ModelsLitellmModelsModelInfo$inboundSchema = objectType({
|
|
52611
|
+
id: nullableType(stringType()),
|
|
52612
|
+
db_model: nullableType(booleanType()),
|
|
52613
|
+
key: nullableType(stringType()),
|
|
52614
|
+
max_tokens: nullableType(numberType()).optional(),
|
|
52615
|
+
max_input_tokens: nullableType(numberType()).optional(),
|
|
52616
|
+
max_output_tokens: nullableType(numberType()).optional(),
|
|
52617
|
+
input_cost_per_token: nullableType(numberType()).optional(),
|
|
52618
|
+
cache_creation_input_token_cost: nullableType(numberType()).optional(),
|
|
52619
|
+
cache_read_input_token_cost: nullableType(numberType()).optional(),
|
|
52620
|
+
input_cost_per_character: nullableType(numberType()).optional(),
|
|
52621
|
+
input_cost_per_token_above_128k_tokens: nullableType(numberType()).optional(),
|
|
52622
|
+
input_cost_per_token_above_200k_tokens: nullableType(numberType()).optional(),
|
|
52623
|
+
input_cost_per_query: nullableType(numberType()).optional(),
|
|
52624
|
+
input_cost_per_second: nullableType(numberType()).optional(),
|
|
52625
|
+
input_cost_per_audio_token: nullableType(numberType()).optional(),
|
|
52626
|
+
input_cost_per_token_batches: nullableType(numberType()).optional(),
|
|
52627
|
+
output_cost_per_token_batches: nullableType(numberType()).optional(),
|
|
52628
|
+
output_cost_per_token: nullableType(numberType()).optional(),
|
|
52629
|
+
output_cost_per_audio_token: nullableType(numberType()).optional(),
|
|
52630
|
+
output_cost_per_character: nullableType(numberType()).optional(),
|
|
52631
|
+
output_cost_per_reasoning_token: nullableType(numberType()).optional(),
|
|
52632
|
+
output_cost_per_token_above_128k_tokens: nullableType(numberType()).optional(),
|
|
52633
|
+
output_cost_per_character_above_128k_tokens: nullableType(numberType()).optional(),
|
|
52634
|
+
output_cost_per_token_above_200k_tokens: nullableType(numberType()).optional(),
|
|
52635
|
+
output_cost_per_second: nullableType(numberType()).optional(),
|
|
52636
|
+
output_cost_per_image: nullableType(numberType()).optional(),
|
|
52637
|
+
output_vector_size: nullableType(numberType()).optional(),
|
|
52638
|
+
litellm_provider: nullableType(stringType()),
|
|
52639
|
+
mode: nullableType(stringType()),
|
|
52640
|
+
supports_system_messages: nullableType(booleanType()).optional(),
|
|
52641
|
+
supports_response_schema: nullableType(booleanType()).optional(),
|
|
52642
|
+
supports_vision: nullableType(booleanType()).optional(),
|
|
52643
|
+
supports_function_calling: nullableType(booleanType()).optional(),
|
|
52644
|
+
supports_tool_choice: nullableType(booleanType()).optional(),
|
|
52645
|
+
supports_assistant_prefill: nullableType(booleanType()).optional(),
|
|
52646
|
+
supports_prompt_caching: nullableType(booleanType()).optional(),
|
|
52647
|
+
supports_audio_input: nullableType(booleanType()).optional(),
|
|
52648
|
+
supports_audio_output: nullableType(booleanType()).optional(),
|
|
52649
|
+
supports_pdf_input: nullableType(booleanType()).optional(),
|
|
52650
|
+
supports_embedding_image_input: nullableType(booleanType()).optional(),
|
|
52651
|
+
supports_native_streaming: nullableType(booleanType()).optional(),
|
|
52652
|
+
supports_web_search: nullableType(booleanType()).optional(),
|
|
52653
|
+
supports_url_context: nullableType(booleanType()).optional(),
|
|
52654
|
+
supports_reasoning: nullableType(booleanType()).optional(),
|
|
52655
|
+
supports_computer_use: nullableType(booleanType()).optional(),
|
|
52656
|
+
search_context_cost_per_query: nullableType(numberType()).optional(),
|
|
52657
|
+
tpm: nullableType(numberType()).optional(),
|
|
52658
|
+
rpm: nullableType(numberType()).optional(),
|
|
52659
|
+
supported_openai_params: nullableType(arrayType(stringType())).optional()
|
|
52660
|
+
}).transform((v2) => {
|
|
52661
|
+
return remap(v2, {
|
|
52662
|
+
db_model: "dbModel",
|
|
52663
|
+
max_tokens: "maxTokens",
|
|
52664
|
+
max_input_tokens: "maxInputTokens",
|
|
52665
|
+
max_output_tokens: "maxOutputTokens",
|
|
52666
|
+
input_cost_per_token: "inputCostPerToken",
|
|
52667
|
+
cache_creation_input_token_cost: "cacheCreationInputTokenCost",
|
|
52668
|
+
cache_read_input_token_cost: "cacheReadInputTokenCost",
|
|
52669
|
+
input_cost_per_character: "inputCostPerCharacter",
|
|
52670
|
+
input_cost_per_token_above_128k_tokens: "inputCostPerTokenAbove128kTokens",
|
|
52671
|
+
input_cost_per_token_above_200k_tokens: "inputCostPerTokenAbove200kTokens",
|
|
52672
|
+
input_cost_per_query: "inputCostPerQuery",
|
|
52673
|
+
input_cost_per_second: "inputCostPerSecond",
|
|
52674
|
+
input_cost_per_audio_token: "inputCostPerAudioToken",
|
|
52675
|
+
input_cost_per_token_batches: "inputCostPerTokenBatches",
|
|
52676
|
+
output_cost_per_token_batches: "outputCostPerTokenBatches",
|
|
52677
|
+
output_cost_per_token: "outputCostPerToken",
|
|
52678
|
+
output_cost_per_audio_token: "outputCostPerAudioToken",
|
|
52679
|
+
output_cost_per_character: "outputCostPerCharacter",
|
|
52680
|
+
output_cost_per_reasoning_token: "outputCostPerReasoningToken",
|
|
52681
|
+
output_cost_per_token_above_128k_tokens: "outputCostPerTokenAbove128kTokens",
|
|
52682
|
+
output_cost_per_character_above_128k_tokens: "outputCostPerCharacterAbove128kTokens",
|
|
52683
|
+
output_cost_per_token_above_200k_tokens: "outputCostPerTokenAbove200kTokens",
|
|
52684
|
+
output_cost_per_second: "outputCostPerSecond",
|
|
52685
|
+
output_cost_per_image: "outputCostPerImage",
|
|
52686
|
+
output_vector_size: "outputVectorSize",
|
|
52687
|
+
litellm_provider: "litellmProvider",
|
|
52688
|
+
supports_system_messages: "supportsSystemMessages",
|
|
52689
|
+
supports_response_schema: "supportsResponseSchema",
|
|
52690
|
+
supports_vision: "supportsVision",
|
|
52691
|
+
supports_function_calling: "supportsFunctionCalling",
|
|
52692
|
+
supports_tool_choice: "supportsToolChoice",
|
|
52693
|
+
supports_assistant_prefill: "supportsAssistantPrefill",
|
|
52694
|
+
supports_prompt_caching: "supportsPromptCaching",
|
|
52695
|
+
supports_audio_input: "supportsAudioInput",
|
|
52696
|
+
supports_audio_output: "supportsAudioOutput",
|
|
52697
|
+
supports_pdf_input: "supportsPdfInput",
|
|
52698
|
+
supports_embedding_image_input: "supportsEmbeddingImageInput",
|
|
52699
|
+
supports_native_streaming: "supportsNativeStreaming",
|
|
52700
|
+
supports_web_search: "supportsWebSearch",
|
|
52701
|
+
supports_url_context: "supportsUrlContext",
|
|
52702
|
+
supports_reasoning: "supportsReasoning",
|
|
52703
|
+
supports_computer_use: "supportsComputerUse",
|
|
52704
|
+
search_context_cost_per_query: "searchContextCostPerQuery",
|
|
52705
|
+
supported_openai_params: "supportedOpenaiParams"
|
|
52706
|
+
});
|
|
52707
|
+
});
|
|
52708
|
+
GetV2ModelsLitellmModelsModelInfo$outboundSchema = objectType({
|
|
52709
|
+
id: nullableType(stringType()),
|
|
52710
|
+
dbModel: nullableType(booleanType()),
|
|
52711
|
+
key: nullableType(stringType()),
|
|
52712
|
+
maxTokens: nullableType(numberType()).optional(),
|
|
52713
|
+
maxInputTokens: nullableType(numberType()).optional(),
|
|
52714
|
+
maxOutputTokens: nullableType(numberType()).optional(),
|
|
52715
|
+
inputCostPerToken: nullableType(numberType()).optional(),
|
|
52716
|
+
cacheCreationInputTokenCost: nullableType(numberType()).optional(),
|
|
52717
|
+
cacheReadInputTokenCost: nullableType(numberType()).optional(),
|
|
52718
|
+
inputCostPerCharacter: nullableType(numberType()).optional(),
|
|
52719
|
+
inputCostPerTokenAbove128kTokens: nullableType(numberType()).optional(),
|
|
52720
|
+
inputCostPerTokenAbove200kTokens: nullableType(numberType()).optional(),
|
|
52721
|
+
inputCostPerQuery: nullableType(numberType()).optional(),
|
|
52722
|
+
inputCostPerSecond: nullableType(numberType()).optional(),
|
|
52723
|
+
inputCostPerAudioToken: nullableType(numberType()).optional(),
|
|
52724
|
+
inputCostPerTokenBatches: nullableType(numberType()).optional(),
|
|
52725
|
+
outputCostPerTokenBatches: nullableType(numberType()).optional(),
|
|
52726
|
+
outputCostPerToken: nullableType(numberType()).optional(),
|
|
52727
|
+
outputCostPerAudioToken: nullableType(numberType()).optional(),
|
|
52728
|
+
outputCostPerCharacter: nullableType(numberType()).optional(),
|
|
52729
|
+
outputCostPerReasoningToken: nullableType(numberType()).optional(),
|
|
52730
|
+
outputCostPerTokenAbove128kTokens: nullableType(numberType()).optional(),
|
|
52731
|
+
outputCostPerCharacterAbove128kTokens: nullableType(numberType()).optional(),
|
|
52732
|
+
outputCostPerTokenAbove200kTokens: nullableType(numberType()).optional(),
|
|
52733
|
+
outputCostPerSecond: nullableType(numberType()).optional(),
|
|
52734
|
+
outputCostPerImage: nullableType(numberType()).optional(),
|
|
52735
|
+
outputVectorSize: nullableType(numberType()).optional(),
|
|
52736
|
+
litellmProvider: nullableType(stringType()),
|
|
52737
|
+
mode: nullableType(stringType()),
|
|
52738
|
+
supportsSystemMessages: nullableType(booleanType()).optional(),
|
|
52739
|
+
supportsResponseSchema: nullableType(booleanType()).optional(),
|
|
52740
|
+
supportsVision: nullableType(booleanType()).optional(),
|
|
52741
|
+
supportsFunctionCalling: nullableType(booleanType()).optional(),
|
|
52742
|
+
supportsToolChoice: nullableType(booleanType()).optional(),
|
|
52743
|
+
supportsAssistantPrefill: nullableType(booleanType()).optional(),
|
|
52744
|
+
supportsPromptCaching: nullableType(booleanType()).optional(),
|
|
52745
|
+
supportsAudioInput: nullableType(booleanType()).optional(),
|
|
52746
|
+
supportsAudioOutput: nullableType(booleanType()).optional(),
|
|
52747
|
+
supportsPdfInput: nullableType(booleanType()).optional(),
|
|
52748
|
+
supportsEmbeddingImageInput: nullableType(booleanType()).optional(),
|
|
52749
|
+
supportsNativeStreaming: nullableType(booleanType()).optional(),
|
|
52750
|
+
supportsWebSearch: nullableType(booleanType()).optional(),
|
|
52751
|
+
supportsUrlContext: nullableType(booleanType()).optional(),
|
|
52752
|
+
supportsReasoning: nullableType(booleanType()).optional(),
|
|
52753
|
+
supportsComputerUse: nullableType(booleanType()).optional(),
|
|
52754
|
+
searchContextCostPerQuery: nullableType(numberType()).optional(),
|
|
52755
|
+
tpm: nullableType(numberType()).optional(),
|
|
52756
|
+
rpm: nullableType(numberType()).optional(),
|
|
52757
|
+
supportedOpenaiParams: nullableType(arrayType(stringType())).optional()
|
|
52758
|
+
}).transform((v2) => {
|
|
52759
|
+
return remap(v2, {
|
|
52760
|
+
dbModel: "db_model",
|
|
52761
|
+
maxTokens: "max_tokens",
|
|
52762
|
+
maxInputTokens: "max_input_tokens",
|
|
52763
|
+
maxOutputTokens: "max_output_tokens",
|
|
52764
|
+
inputCostPerToken: "input_cost_per_token",
|
|
52765
|
+
cacheCreationInputTokenCost: "cache_creation_input_token_cost",
|
|
52766
|
+
cacheReadInputTokenCost: "cache_read_input_token_cost",
|
|
52767
|
+
inputCostPerCharacter: "input_cost_per_character",
|
|
52768
|
+
inputCostPerTokenAbove128kTokens: "input_cost_per_token_above_128k_tokens",
|
|
52769
|
+
inputCostPerTokenAbove200kTokens: "input_cost_per_token_above_200k_tokens",
|
|
52770
|
+
inputCostPerQuery: "input_cost_per_query",
|
|
52771
|
+
inputCostPerSecond: "input_cost_per_second",
|
|
52772
|
+
inputCostPerAudioToken: "input_cost_per_audio_token",
|
|
52773
|
+
inputCostPerTokenBatches: "input_cost_per_token_batches",
|
|
52774
|
+
outputCostPerTokenBatches: "output_cost_per_token_batches",
|
|
52775
|
+
outputCostPerToken: "output_cost_per_token",
|
|
52776
|
+
outputCostPerAudioToken: "output_cost_per_audio_token",
|
|
52777
|
+
outputCostPerCharacter: "output_cost_per_character",
|
|
52778
|
+
outputCostPerReasoningToken: "output_cost_per_reasoning_token",
|
|
52779
|
+
outputCostPerTokenAbove128kTokens: "output_cost_per_token_above_128k_tokens",
|
|
52780
|
+
outputCostPerCharacterAbove128kTokens: "output_cost_per_character_above_128k_tokens",
|
|
52781
|
+
outputCostPerTokenAbove200kTokens: "output_cost_per_token_above_200k_tokens",
|
|
52782
|
+
outputCostPerSecond: "output_cost_per_second",
|
|
52783
|
+
outputCostPerImage: "output_cost_per_image",
|
|
52784
|
+
outputVectorSize: "output_vector_size",
|
|
52785
|
+
litellmProvider: "litellm_provider",
|
|
52786
|
+
supportsSystemMessages: "supports_system_messages",
|
|
52787
|
+
supportsResponseSchema: "supports_response_schema",
|
|
52788
|
+
supportsVision: "supports_vision",
|
|
52789
|
+
supportsFunctionCalling: "supports_function_calling",
|
|
52790
|
+
supportsToolChoice: "supports_tool_choice",
|
|
52791
|
+
supportsAssistantPrefill: "supports_assistant_prefill",
|
|
52792
|
+
supportsPromptCaching: "supports_prompt_caching",
|
|
52793
|
+
supportsAudioInput: "supports_audio_input",
|
|
52794
|
+
supportsAudioOutput: "supports_audio_output",
|
|
52795
|
+
supportsPdfInput: "supports_pdf_input",
|
|
52796
|
+
supportsEmbeddingImageInput: "supports_embedding_image_input",
|
|
52797
|
+
supportsNativeStreaming: "supports_native_streaming",
|
|
52798
|
+
supportsWebSearch: "supports_web_search",
|
|
52799
|
+
supportsUrlContext: "supports_url_context",
|
|
52800
|
+
supportsReasoning: "supports_reasoning",
|
|
52801
|
+
supportsComputerUse: "supports_computer_use",
|
|
52802
|
+
searchContextCostPerQuery: "search_context_cost_per_query",
|
|
52803
|
+
supportedOpenaiParams: "supported_openai_params"
|
|
52804
|
+
});
|
|
52805
|
+
});
|
|
52806
|
+
((GetV2ModelsLitellmModelsModelInfo$) => {
|
|
52807
|
+
GetV2ModelsLitellmModelsModelInfo$.inboundSchema = GetV2ModelsLitellmModelsModelInfo$inboundSchema;
|
|
52808
|
+
GetV2ModelsLitellmModelsModelInfo$.outboundSchema = GetV2ModelsLitellmModelsModelInfo$outboundSchema;
|
|
52809
|
+
})(GetV2ModelsLitellmModelsModelInfo$ ||= {});
|
|
52810
|
+
ResponseBody$inboundSchema = objectType({
|
|
52811
|
+
model_name: stringType(),
|
|
52812
|
+
litellm_params: lazyType(() => GetV2ModelsLitellmModelsLitellmParams$inboundSchema),
|
|
52813
|
+
model_info: lazyType(() => GetV2ModelsLitellmModelsModelInfo$inboundSchema)
|
|
52814
|
+
}).transform((v2) => {
|
|
52815
|
+
return remap(v2, {
|
|
52816
|
+
model_name: "modelName",
|
|
52817
|
+
litellm_params: "litellmParams",
|
|
52818
|
+
model_info: "modelInfo"
|
|
52819
|
+
});
|
|
52820
|
+
});
|
|
52821
|
+
ResponseBody$outboundSchema = objectType({
|
|
52822
|
+
modelName: stringType(),
|
|
52823
|
+
litellmParams: lazyType(() => GetV2ModelsLitellmModelsLitellmParams$outboundSchema),
|
|
52824
|
+
modelInfo: lazyType(() => GetV2ModelsLitellmModelsModelInfo$outboundSchema)
|
|
52825
|
+
}).transform((v2) => {
|
|
52826
|
+
return remap(v2, {
|
|
52827
|
+
modelName: "model_name",
|
|
52828
|
+
litellmParams: "litellm_params",
|
|
52829
|
+
modelInfo: "model_info"
|
|
52830
|
+
});
|
|
52831
|
+
});
|
|
52832
|
+
((ResponseBody$) => {
|
|
52833
|
+
ResponseBody$.inboundSchema = ResponseBody$inboundSchema;
|
|
52834
|
+
ResponseBody$.outboundSchema = ResponseBody$outboundSchema;
|
|
52835
|
+
})(ResponseBody$ ||= {});
|
|
52836
|
+
});
|
|
52837
|
+
|
|
52570
52838
|
// src/models/operations/invokeeval.ts
|
|
52571
52839
|
var InvokeEvalRole, InvokeEval2EvalsRequestType, InvokeEval2EvalsType, InvokeEval2Type, InvokeEvalType, InvokeEvalResponseBodyEvalsResponse200ApplicationJson8Type, InvokeEvalResponseBodyEvalsResponse200ApplicationJson7Type, InvokeEvalResponseBodyEvalsResponse200ApplicationJson6Type, InvokeEvalResponseBodyEvalsResponse200ApplicationJSONType, InvokeEvalResponseBodyEvalsResponse200Type, InvokeEvalResponseBodyEvalsResponseType, InvokeEvalResponseBodyEvalsType, InvokeEvalResponseBodyType, InvokeEvalRole$inboundSchema, InvokeEvalRole$outboundSchema, InvokeEvalRole$, InvokeEval2EvalsRequestType$inboundSchema, InvokeEval2EvalsRequestType$outboundSchema, InvokeEval2EvalsRequestType$, InvokeEval2File$inboundSchema, InvokeEval2File$outboundSchema, InvokeEval2File$, InvokeEval23$inboundSchema, InvokeEval23$outboundSchema, InvokeEval23$, InvokeEval2EvalsType$inboundSchema, InvokeEval2EvalsType$outboundSchema, InvokeEval2EvalsType$, InvokeEval2ImageUrl$inboundSchema, InvokeEval2ImageUrl$outboundSchema, InvokeEval2ImageUrl$, InvokeEval22$inboundSchema, InvokeEval22$outboundSchema, InvokeEval22$, InvokeEval2Type$inboundSchema, InvokeEval2Type$outboundSchema, InvokeEval2Type$, InvokeEval21$inboundSchema, InvokeEval21$outboundSchema, InvokeEval21$, InvokeEvalContent2$inboundSchema, InvokeEvalContent2$outboundSchema, InvokeEvalContent2$, InvokeEvalContent$inboundSchema, InvokeEvalContent$outboundSchema, InvokeEvalContent$, InvokeEvalType$inboundSchema, InvokeEvalType$outboundSchema, InvokeEvalType$, InvokeEvalFunction$inboundSchema, InvokeEvalFunction$outboundSchema, InvokeEvalFunction$, InvokeEvalToolCalls$inboundSchema, InvokeEvalToolCalls$outboundSchema, InvokeEvalToolCalls$, InvokeEvalMessages$inboundSchema, InvokeEvalMessages$outboundSchema, InvokeEvalMessages$, InvokeEvalRequestBody$inboundSchema, InvokeEvalRequestBody$outboundSchema, InvokeEvalRequestBody$, InvokeEvalRequest$inboundSchema, InvokeEvalRequest$outboundSchema, InvokeEvalRequest$, InvokeEvalResponseBodyEvalsResponse200ApplicationJson8Type$inboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson8Type$outboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson8Type$, InvokeEvalResponseBodyEvalsResponse200ApplicationJSONValue$inboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJSONValue$outboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJSONValue$, InvokeEvalResponseBodyEvalsResponse200Value$inboundSchema, InvokeEvalResponseBodyEvalsResponse200Value$outboundSchema, InvokeEvalResponseBodyEvalsResponse200Value$, Eight$inboundSchema, Eight$outboundSchema, Eight$, InvokeEvalResponseBodyEvalsResponse200ApplicationJson7Type$inboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson7Type$outboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson7Type$, InvokeEvalResponseBodyEvalsResponse200ApplicationJson7Value$inboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson7Value$outboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson7Value$, InvokeEvalResponseBodyEvalsResponseValue$inboundSchema, InvokeEvalResponseBodyEvalsResponseValue$outboundSchema, InvokeEvalResponseBodyEvalsResponseValue$, Seven$inboundSchema, Seven$outboundSchema, Seven$, InvokeEvalResponseBodyEvalsResponse200ApplicationJson6Type$inboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson6Type$outboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson6Type$, InvokeEvalResponseBodyEvalsValue$inboundSchema, InvokeEvalResponseBodyEvalsValue$outboundSchema, InvokeEvalResponseBodyEvalsValue$, Six$inboundSchema, Six$outboundSchema, Six$, InvokeEvalResponseBodyEvalsResponse200ApplicationJSONType$inboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJSONType$outboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJSONType$, Rouge1$inboundSchema, Rouge1$outboundSchema, Rouge1$, Rouge2$inboundSchema, Rouge2$outboundSchema, Rouge2$, RougeL$inboundSchema, RougeL$outboundSchema, RougeL$, InvokeEvalResponseBodyValue$inboundSchema, InvokeEvalResponseBodyValue$outboundSchema, InvokeEvalResponseBodyValue$, Five$inboundSchema, Five$outboundSchema, Five$, InvokeEvalResponseBodyEvalsResponse200Type$inboundSchema, InvokeEvalResponseBodyEvalsResponse200Type$outboundSchema, InvokeEvalResponseBodyEvalsResponse200Type$, ResponseBody4$inboundSchema, ResponseBody4$outboundSchema, ResponseBody4$, InvokeEvalResponseBodyEvalsResponseType$inboundSchema, InvokeEvalResponseBodyEvalsResponseType$outboundSchema, InvokeEvalResponseBodyEvalsResponseType$, ResponseBodyValue$inboundSchema, ResponseBodyValue$outboundSchema, ResponseBodyValue$, ResponseBody3$inboundSchema, ResponseBody3$outboundSchema, ResponseBody3$, InvokeEvalResponseBodyEvalsType$inboundSchema, InvokeEvalResponseBodyEvalsType$outboundSchema, InvokeEvalResponseBodyEvalsType$, ResponseBody2$inboundSchema, ResponseBody2$outboundSchema, ResponseBody2$, InvokeEvalResponseBodyType$inboundSchema, InvokeEvalResponseBodyType$outboundSchema, InvokeEvalResponseBodyType$, ResponseBody1$inboundSchema, ResponseBody1$outboundSchema, ResponseBody1$, InvokeEvalResponseBody$inboundSchema, InvokeEvalResponseBody$outboundSchema, InvokeEvalResponseBody$;
|
|
52572
52840
|
var init_invokeeval = __esm(() => {
|
|
@@ -53400,7 +53668,7 @@ var init_listcontacts = __esm(() => {
|
|
|
53400
53668
|
tags: arrayType(stringType()).optional(),
|
|
53401
53669
|
metadata: recordType(anyType()).optional(),
|
|
53402
53670
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
53403
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
53671
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-10T02:00:58.492Z").transform((v2) => new Date(v2)),
|
|
53404
53672
|
metrics: lazyType(() => Metrics$inboundSchema)
|
|
53405
53673
|
}).transform((v2) => {
|
|
53406
53674
|
return remap(v2, {
|
|
@@ -53419,7 +53687,7 @@ var init_listcontacts = __esm(() => {
|
|
|
53419
53687
|
tags: arrayType(stringType()).optional(),
|
|
53420
53688
|
metadata: recordType(anyType()).optional(),
|
|
53421
53689
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
53422
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
53690
|
+
updated: dateType().default(() => new Date("2025-06-10T02:00:58.492Z")).transform((v2) => v2.toISOString()),
|
|
53423
53691
|
metrics: lazyType(() => Metrics$outboundSchema)
|
|
53424
53692
|
}).transform((v2) => {
|
|
53425
53693
|
return remap(v2, {
|
|
@@ -54034,7 +54302,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
54034
54302
|
created_by_id: stringType().optional(),
|
|
54035
54303
|
updated_by_id: stringType().optional(),
|
|
54036
54304
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
54037
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
54305
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-10T02:00:58.492Z").transform((v2) => new Date(v2))
|
|
54038
54306
|
}).transform((v2) => {
|
|
54039
54307
|
return remap(v2, {
|
|
54040
54308
|
_id: "id",
|
|
@@ -54061,7 +54329,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
54061
54329
|
createdById: stringType().optional(),
|
|
54062
54330
|
updatedById: stringType().optional(),
|
|
54063
54331
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
54064
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
54332
|
+
updated: dateType().default(() => new Date("2025-06-10T02:00:58.492Z")).transform((v2) => v2.toISOString())
|
|
54065
54333
|
}).transform((v2) => {
|
|
54066
54334
|
return remap(v2, {
|
|
54067
54335
|
id: "_id",
|
|
@@ -54169,7 +54437,7 @@ var init_listdatasets = __esm(() => {
|
|
|
54169
54437
|
updated_by_id: stringType().optional(),
|
|
54170
54438
|
metadata: lazyType(() => ListDatasetsMetadata$inboundSchema),
|
|
54171
54439
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
54172
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
54440
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-10T02:00:58.492Z").transform((v2) => new Date(v2))
|
|
54173
54441
|
}).transform((v2) => {
|
|
54174
54442
|
return remap(v2, {
|
|
54175
54443
|
_id: "id",
|
|
@@ -54189,7 +54457,7 @@ var init_listdatasets = __esm(() => {
|
|
|
54189
54457
|
updatedById: stringType().optional(),
|
|
54190
54458
|
metadata: lazyType(() => ListDatasetsMetadata$outboundSchema),
|
|
54191
54459
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
54192
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
54460
|
+
updated: dateType().default(() => new Date("2025-06-10T02:00:58.492Z")).transform((v2) => v2.toISOString())
|
|
54193
54461
|
}).transform((v2) => {
|
|
54194
54462
|
return remap(v2, {
|
|
54195
54463
|
id: "_id",
|
|
@@ -54294,7 +54562,7 @@ var init_listdatasources = __esm(() => {
|
|
|
54294
54562
|
ListDatasourcesStatus$.outboundSchema = ListDatasourcesStatus$outboundSchema;
|
|
54295
54563
|
})(ListDatasourcesStatus$ ||= {});
|
|
54296
54564
|
ListDatasourcesData$inboundSchema = objectType({
|
|
54297
|
-
_id: stringType().default("
|
|
54565
|
+
_id: stringType().default("01JXBS3PNY005Q8GXTER8SYM8N"),
|
|
54298
54566
|
display_name: stringType(),
|
|
54299
54567
|
description: stringType().optional(),
|
|
54300
54568
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -54317,7 +54585,7 @@ var init_listdatasources = __esm(() => {
|
|
|
54317
54585
|
});
|
|
54318
54586
|
});
|
|
54319
54587
|
ListDatasourcesData$outboundSchema = objectType({
|
|
54320
|
-
id: stringType().default("
|
|
54588
|
+
id: stringType().default("01JXBS3PNY005Q8GXTER8SYM8N"),
|
|
54321
54589
|
displayName: stringType(),
|
|
54322
54590
|
description: stringType().optional(),
|
|
54323
54591
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -54701,7 +54969,8 @@ var init_listpromptversions = __esm(() => {
|
|
|
54701
54969
|
Nvidia: "nvidia",
|
|
54702
54970
|
Jina: "jina",
|
|
54703
54971
|
Togetherai: "togetherai",
|
|
54704
|
-
Elevenlabs: "elevenlabs"
|
|
54972
|
+
Elevenlabs: "elevenlabs",
|
|
54973
|
+
Litellm: "litellm"
|
|
54705
54974
|
};
|
|
54706
54975
|
ListPromptVersionsRole = {
|
|
54707
54976
|
System: "system",
|
|
@@ -55292,6 +55561,923 @@ var init_listpromptversions = __esm(() => {
|
|
|
55292
55561
|
})(ListPromptVersionsResponseBody$ ||= {});
|
|
55293
55562
|
});
|
|
55294
55563
|
|
|
55564
|
+
// src/models/operations/postv2modelslitellmimport.ts
|
|
55565
|
+
var PostV2ModelsLitellmImportModelType, PostV2ModelsLitellmImportProvider, Region, PostV2ModelsLitellmImportConfigurationResponse200Provider, PostV2ModelsLitellmImportConfigurationResponseProvider, PostV2ModelsLitellmImportConfigurationProvider, ConfigurationProvider, PostV2ModelsLitellmImportParametersParameter, PostV2ModelsLitellmImportParametersParameterType, ParametersParameter, ParametersParameterType, Parameter, ParameterType, LitellmParams$inboundSchema, LitellmParams$outboundSchema, LitellmParams$, ModelInfo$inboundSchema, ModelInfo$outboundSchema, ModelInfo$, RequestBody$inboundSchema, RequestBody$outboundSchema, RequestBody$, PostV2ModelsLitellmImportModelType$inboundSchema, PostV2ModelsLitellmImportModelType$outboundSchema, PostV2ModelsLitellmImportModelType$, PostV2ModelsLitellmImportProvider$inboundSchema, PostV2ModelsLitellmImportProvider$outboundSchema, PostV2ModelsLitellmImportProvider$, Region$inboundSchema, Region$outboundSchema, Region$, PostV2ModelsLitellmImportMetadata$inboundSchema, PostV2ModelsLitellmImportMetadata$outboundSchema, PostV2ModelsLitellmImportMetadata$, PostV2ModelsLitellmImportConfigurationResponse200Provider$inboundSchema, PostV2ModelsLitellmImportConfigurationResponse200Provider$outboundSchema, PostV2ModelsLitellmImportConfigurationResponse200Provider$, Configuration4$inboundSchema, Configuration4$outboundSchema, Configuration4$, PostV2ModelsLitellmImportConfigurationResponseProvider$inboundSchema, PostV2ModelsLitellmImportConfigurationResponseProvider$outboundSchema, PostV2ModelsLitellmImportConfigurationResponseProvider$, Configuration3$inboundSchema, Configuration3$outboundSchema, Configuration3$, PostV2ModelsLitellmImportConfigurationProvider$inboundSchema, PostV2ModelsLitellmImportConfigurationProvider$outboundSchema, PostV2ModelsLitellmImportConfigurationProvider$, Configuration2$inboundSchema, Configuration2$outboundSchema, Configuration2$, ConfigurationProvider$inboundSchema, ConfigurationProvider$outboundSchema, ConfigurationProvider$, Configuration1$inboundSchema, Configuration1$outboundSchema, Configuration1$, Configuration$inboundSchema, Configuration$outboundSchema, Configuration$, PostV2ModelsLitellmImportParametersParameter$inboundSchema, PostV2ModelsLitellmImportParametersParameter$outboundSchema, PostV2ModelsLitellmImportParametersParameter$, PostV2ModelsLitellmImportParametersParameterType$inboundSchema, PostV2ModelsLitellmImportParametersParameterType$outboundSchema, PostV2ModelsLitellmImportParametersParameterType$, Options$inboundSchema, Options$outboundSchema, Options$, PostV2ModelsLitellmImportParametersConfig$inboundSchema, PostV2ModelsLitellmImportParametersConfig$outboundSchema, PostV2ModelsLitellmImportParametersConfig$, Parameters3$inboundSchema, Parameters3$outboundSchema, Parameters3$, ParametersParameter$inboundSchema, ParametersParameter$outboundSchema, ParametersParameter$, ParametersParameterType$inboundSchema, ParametersParameterType$outboundSchema, ParametersParameterType$, ParametersConfig$inboundSchema, ParametersConfig$outboundSchema, ParametersConfig$, Parameters2$inboundSchema, Parameters2$outboundSchema, Parameters2$, Parameter$inboundSchema, Parameter$outboundSchema, Parameter$, ParameterType$inboundSchema, ParameterType$outboundSchema, ParameterType$, Config$inboundSchema, Config$outboundSchema, Config$, Parameters1$inboundSchema, Parameters1$outboundSchema, Parameters1$, ParametersT$inboundSchema, ParametersT$outboundSchema, ParametersT$, PostV2ModelsLitellmImportResponseBody$inboundSchema, PostV2ModelsLitellmImportResponseBody$outboundSchema, PostV2ModelsLitellmImportResponseBody$;
|
|
55566
|
+
var init_postv2modelslitellmimport = __esm(() => {
|
|
55567
|
+
init_esm();
|
|
55568
|
+
init_primitives();
|
|
55569
|
+
PostV2ModelsLitellmImportModelType = {
|
|
55570
|
+
Chat: "chat",
|
|
55571
|
+
Completion: "completion",
|
|
55572
|
+
Embedding: "embedding",
|
|
55573
|
+
Vision: "vision",
|
|
55574
|
+
Image: "image",
|
|
55575
|
+
Tts: "tts",
|
|
55576
|
+
Stt: "stt",
|
|
55577
|
+
Rerank: "rerank",
|
|
55578
|
+
Moderations: "moderations"
|
|
55579
|
+
};
|
|
55580
|
+
PostV2ModelsLitellmImportProvider = {
|
|
55581
|
+
Cohere: "cohere",
|
|
55582
|
+
Openai: "openai",
|
|
55583
|
+
Anthropic: "anthropic",
|
|
55584
|
+
Huggingface: "huggingface",
|
|
55585
|
+
Replicate: "replicate",
|
|
55586
|
+
Google: "google",
|
|
55587
|
+
GoogleAi: "google-ai",
|
|
55588
|
+
Azure: "azure",
|
|
55589
|
+
Aws: "aws",
|
|
55590
|
+
Anyscale: "anyscale",
|
|
55591
|
+
Perplexity: "perplexity",
|
|
55592
|
+
Groq: "groq",
|
|
55593
|
+
Fal: "fal",
|
|
55594
|
+
Leonardoai: "leonardoai",
|
|
55595
|
+
Nvidia: "nvidia",
|
|
55596
|
+
Jina: "jina",
|
|
55597
|
+
Togetherai: "togetherai",
|
|
55598
|
+
Elevenlabs: "elevenlabs",
|
|
55599
|
+
Litellm: "litellm"
|
|
55600
|
+
};
|
|
55601
|
+
Region = {
|
|
55602
|
+
Us: "us",
|
|
55603
|
+
Europe: "europe",
|
|
55604
|
+
Rest: "rest"
|
|
55605
|
+
};
|
|
55606
|
+
PostV2ModelsLitellmImportConfigurationResponse200Provider = {
|
|
55607
|
+
Nvidia: "nvidia"
|
|
55608
|
+
};
|
|
55609
|
+
PostV2ModelsLitellmImportConfigurationResponseProvider = {
|
|
55610
|
+
Aws: "aws"
|
|
55611
|
+
};
|
|
55612
|
+
PostV2ModelsLitellmImportConfigurationProvider = {
|
|
55613
|
+
Google: "google"
|
|
55614
|
+
};
|
|
55615
|
+
ConfigurationProvider = {
|
|
55616
|
+
Azure: "azure"
|
|
55617
|
+
};
|
|
55618
|
+
PostV2ModelsLitellmImportParametersParameter = {
|
|
55619
|
+
TopK: "topK",
|
|
55620
|
+
TopP: "topP",
|
|
55621
|
+
Temperature: "temperature",
|
|
55622
|
+
FrequencyPenalty: "frequencyPenalty",
|
|
55623
|
+
PresencePenalty: "presencePenalty",
|
|
55624
|
+
MaxTokens: "maxTokens",
|
|
55625
|
+
NumImages: "numImages",
|
|
55626
|
+
Format: "format",
|
|
55627
|
+
Dimensions: "dimensions",
|
|
55628
|
+
Quality: "quality",
|
|
55629
|
+
Style: "style",
|
|
55630
|
+
Seed: "seed",
|
|
55631
|
+
PhotoRealVersion: "photoRealVersion",
|
|
55632
|
+
ResponseFormat: "responseFormat",
|
|
55633
|
+
ReasoningEffort: "reasoningEffort",
|
|
55634
|
+
BudgetTokens: "budgetTokens"
|
|
55635
|
+
};
|
|
55636
|
+
PostV2ModelsLitellmImportParametersParameterType = {
|
|
55637
|
+
Select: "select"
|
|
55638
|
+
};
|
|
55639
|
+
ParametersParameter = {
|
|
55640
|
+
TopK: "topK",
|
|
55641
|
+
TopP: "topP",
|
|
55642
|
+
Temperature: "temperature",
|
|
55643
|
+
FrequencyPenalty: "frequencyPenalty",
|
|
55644
|
+
PresencePenalty: "presencePenalty",
|
|
55645
|
+
MaxTokens: "maxTokens",
|
|
55646
|
+
NumImages: "numImages",
|
|
55647
|
+
Format: "format",
|
|
55648
|
+
Dimensions: "dimensions",
|
|
55649
|
+
Quality: "quality",
|
|
55650
|
+
Style: "style",
|
|
55651
|
+
Seed: "seed",
|
|
55652
|
+
PhotoRealVersion: "photoRealVersion",
|
|
55653
|
+
ResponseFormat: "responseFormat",
|
|
55654
|
+
ReasoningEffort: "reasoningEffort",
|
|
55655
|
+
BudgetTokens: "budgetTokens"
|
|
55656
|
+
};
|
|
55657
|
+
ParametersParameterType = {
|
|
55658
|
+
Switch: "switch"
|
|
55659
|
+
};
|
|
55660
|
+
Parameter = {
|
|
55661
|
+
TopK: "topK",
|
|
55662
|
+
TopP: "topP",
|
|
55663
|
+
Temperature: "temperature",
|
|
55664
|
+
FrequencyPenalty: "frequencyPenalty",
|
|
55665
|
+
PresencePenalty: "presencePenalty",
|
|
55666
|
+
MaxTokens: "maxTokens",
|
|
55667
|
+
NumImages: "numImages",
|
|
55668
|
+
Format: "format",
|
|
55669
|
+
Dimensions: "dimensions",
|
|
55670
|
+
Quality: "quality",
|
|
55671
|
+
Style: "style",
|
|
55672
|
+
Seed: "seed",
|
|
55673
|
+
PhotoRealVersion: "photoRealVersion",
|
|
55674
|
+
ResponseFormat: "responseFormat",
|
|
55675
|
+
ReasoningEffort: "reasoningEffort",
|
|
55676
|
+
BudgetTokens: "budgetTokens"
|
|
55677
|
+
};
|
|
55678
|
+
ParameterType = {
|
|
55679
|
+
Slider: "slider"
|
|
55680
|
+
};
|
|
55681
|
+
LitellmParams$inboundSchema = objectType({
|
|
55682
|
+
use_in_pass_through: booleanType(),
|
|
55683
|
+
use_litellm_proxy: booleanType(),
|
|
55684
|
+
merge_reasoning_content_in_choices: booleanType(),
|
|
55685
|
+
model: stringType()
|
|
55686
|
+
}).transform((v2) => {
|
|
55687
|
+
return remap(v2, {
|
|
55688
|
+
use_in_pass_through: "useInPassThrough",
|
|
55689
|
+
use_litellm_proxy: "useLitellmProxy",
|
|
55690
|
+
merge_reasoning_content_in_choices: "mergeReasoningContentInChoices"
|
|
55691
|
+
});
|
|
55692
|
+
});
|
|
55693
|
+
LitellmParams$outboundSchema = objectType({
|
|
55694
|
+
useInPassThrough: booleanType(),
|
|
55695
|
+
useLitellmProxy: booleanType(),
|
|
55696
|
+
mergeReasoningContentInChoices: booleanType(),
|
|
55697
|
+
model: stringType()
|
|
55698
|
+
}).transform((v2) => {
|
|
55699
|
+
return remap(v2, {
|
|
55700
|
+
useInPassThrough: "use_in_pass_through",
|
|
55701
|
+
useLitellmProxy: "use_litellm_proxy",
|
|
55702
|
+
mergeReasoningContentInChoices: "merge_reasoning_content_in_choices"
|
|
55703
|
+
});
|
|
55704
|
+
});
|
|
55705
|
+
((LitellmParams$) => {
|
|
55706
|
+
LitellmParams$.inboundSchema = LitellmParams$inboundSchema;
|
|
55707
|
+
LitellmParams$.outboundSchema = LitellmParams$outboundSchema;
|
|
55708
|
+
})(LitellmParams$ ||= {});
|
|
55709
|
+
ModelInfo$inboundSchema = objectType({
|
|
55710
|
+
id: nullableType(stringType()),
|
|
55711
|
+
db_model: nullableType(booleanType()),
|
|
55712
|
+
key: nullableType(stringType()),
|
|
55713
|
+
max_tokens: nullableType(numberType()).optional(),
|
|
55714
|
+
max_input_tokens: nullableType(numberType()).optional(),
|
|
55715
|
+
max_output_tokens: nullableType(numberType()).optional(),
|
|
55716
|
+
input_cost_per_token: nullableType(numberType()).optional(),
|
|
55717
|
+
cache_creation_input_token_cost: nullableType(numberType()).optional(),
|
|
55718
|
+
cache_read_input_token_cost: nullableType(numberType()).optional(),
|
|
55719
|
+
input_cost_per_character: nullableType(numberType()).optional(),
|
|
55720
|
+
input_cost_per_token_above_128k_tokens: nullableType(numberType()).optional(),
|
|
55721
|
+
input_cost_per_token_above_200k_tokens: nullableType(numberType()).optional(),
|
|
55722
|
+
input_cost_per_query: nullableType(numberType()).optional(),
|
|
55723
|
+
input_cost_per_second: nullableType(numberType()).optional(),
|
|
55724
|
+
input_cost_per_audio_token: nullableType(numberType()).optional(),
|
|
55725
|
+
input_cost_per_token_batches: nullableType(numberType()).optional(),
|
|
55726
|
+
output_cost_per_token_batches: nullableType(numberType()).optional(),
|
|
55727
|
+
output_cost_per_token: nullableType(numberType()).optional(),
|
|
55728
|
+
output_cost_per_audio_token: nullableType(numberType()).optional(),
|
|
55729
|
+
output_cost_per_character: nullableType(numberType()).optional(),
|
|
55730
|
+
output_cost_per_reasoning_token: nullableType(numberType()).optional(),
|
|
55731
|
+
output_cost_per_token_above_128k_tokens: nullableType(numberType()).optional(),
|
|
55732
|
+
output_cost_per_character_above_128k_tokens: nullableType(numberType()).optional(),
|
|
55733
|
+
output_cost_per_token_above_200k_tokens: nullableType(numberType()).optional(),
|
|
55734
|
+
output_cost_per_second: nullableType(numberType()).optional(),
|
|
55735
|
+
output_cost_per_image: nullableType(numberType()).optional(),
|
|
55736
|
+
output_vector_size: nullableType(numberType()).optional(),
|
|
55737
|
+
litellm_provider: nullableType(stringType()),
|
|
55738
|
+
mode: nullableType(stringType()),
|
|
55739
|
+
supports_system_messages: nullableType(booleanType()).optional(),
|
|
55740
|
+
supports_response_schema: nullableType(booleanType()).optional(),
|
|
55741
|
+
supports_vision: nullableType(booleanType()).optional(),
|
|
55742
|
+
supports_function_calling: nullableType(booleanType()).optional(),
|
|
55743
|
+
supports_tool_choice: nullableType(booleanType()).optional(),
|
|
55744
|
+
supports_assistant_prefill: nullableType(booleanType()).optional(),
|
|
55745
|
+
supports_prompt_caching: nullableType(booleanType()).optional(),
|
|
55746
|
+
supports_audio_input: nullableType(booleanType()).optional(),
|
|
55747
|
+
supports_audio_output: nullableType(booleanType()).optional(),
|
|
55748
|
+
supports_pdf_input: nullableType(booleanType()).optional(),
|
|
55749
|
+
supports_embedding_image_input: nullableType(booleanType()).optional(),
|
|
55750
|
+
supports_native_streaming: nullableType(booleanType()).optional(),
|
|
55751
|
+
supports_web_search: nullableType(booleanType()).optional(),
|
|
55752
|
+
supports_url_context: nullableType(booleanType()).optional(),
|
|
55753
|
+
supports_reasoning: nullableType(booleanType()).optional(),
|
|
55754
|
+
supports_computer_use: nullableType(booleanType()).optional(),
|
|
55755
|
+
search_context_cost_per_query: nullableType(numberType()).optional(),
|
|
55756
|
+
tpm: nullableType(numberType()).optional(),
|
|
55757
|
+
rpm: nullableType(numberType()).optional(),
|
|
55758
|
+
supported_openai_params: nullableType(arrayType(stringType())).optional()
|
|
55759
|
+
}).transform((v2) => {
|
|
55760
|
+
return remap(v2, {
|
|
55761
|
+
db_model: "dbModel",
|
|
55762
|
+
max_tokens: "maxTokens",
|
|
55763
|
+
max_input_tokens: "maxInputTokens",
|
|
55764
|
+
max_output_tokens: "maxOutputTokens",
|
|
55765
|
+
input_cost_per_token: "inputCostPerToken",
|
|
55766
|
+
cache_creation_input_token_cost: "cacheCreationInputTokenCost",
|
|
55767
|
+
cache_read_input_token_cost: "cacheReadInputTokenCost",
|
|
55768
|
+
input_cost_per_character: "inputCostPerCharacter",
|
|
55769
|
+
input_cost_per_token_above_128k_tokens: "inputCostPerTokenAbove128kTokens",
|
|
55770
|
+
input_cost_per_token_above_200k_tokens: "inputCostPerTokenAbove200kTokens",
|
|
55771
|
+
input_cost_per_query: "inputCostPerQuery",
|
|
55772
|
+
input_cost_per_second: "inputCostPerSecond",
|
|
55773
|
+
input_cost_per_audio_token: "inputCostPerAudioToken",
|
|
55774
|
+
input_cost_per_token_batches: "inputCostPerTokenBatches",
|
|
55775
|
+
output_cost_per_token_batches: "outputCostPerTokenBatches",
|
|
55776
|
+
output_cost_per_token: "outputCostPerToken",
|
|
55777
|
+
output_cost_per_audio_token: "outputCostPerAudioToken",
|
|
55778
|
+
output_cost_per_character: "outputCostPerCharacter",
|
|
55779
|
+
output_cost_per_reasoning_token: "outputCostPerReasoningToken",
|
|
55780
|
+
output_cost_per_token_above_128k_tokens: "outputCostPerTokenAbove128kTokens",
|
|
55781
|
+
output_cost_per_character_above_128k_tokens: "outputCostPerCharacterAbove128kTokens",
|
|
55782
|
+
output_cost_per_token_above_200k_tokens: "outputCostPerTokenAbove200kTokens",
|
|
55783
|
+
output_cost_per_second: "outputCostPerSecond",
|
|
55784
|
+
output_cost_per_image: "outputCostPerImage",
|
|
55785
|
+
output_vector_size: "outputVectorSize",
|
|
55786
|
+
litellm_provider: "litellmProvider",
|
|
55787
|
+
supports_system_messages: "supportsSystemMessages",
|
|
55788
|
+
supports_response_schema: "supportsResponseSchema",
|
|
55789
|
+
supports_vision: "supportsVision",
|
|
55790
|
+
supports_function_calling: "supportsFunctionCalling",
|
|
55791
|
+
supports_tool_choice: "supportsToolChoice",
|
|
55792
|
+
supports_assistant_prefill: "supportsAssistantPrefill",
|
|
55793
|
+
supports_prompt_caching: "supportsPromptCaching",
|
|
55794
|
+
supports_audio_input: "supportsAudioInput",
|
|
55795
|
+
supports_audio_output: "supportsAudioOutput",
|
|
55796
|
+
supports_pdf_input: "supportsPdfInput",
|
|
55797
|
+
supports_embedding_image_input: "supportsEmbeddingImageInput",
|
|
55798
|
+
supports_native_streaming: "supportsNativeStreaming",
|
|
55799
|
+
supports_web_search: "supportsWebSearch",
|
|
55800
|
+
supports_url_context: "supportsUrlContext",
|
|
55801
|
+
supports_reasoning: "supportsReasoning",
|
|
55802
|
+
supports_computer_use: "supportsComputerUse",
|
|
55803
|
+
search_context_cost_per_query: "searchContextCostPerQuery",
|
|
55804
|
+
supported_openai_params: "supportedOpenaiParams"
|
|
55805
|
+
});
|
|
55806
|
+
});
|
|
55807
|
+
ModelInfo$outboundSchema = objectType({
|
|
55808
|
+
id: nullableType(stringType()),
|
|
55809
|
+
dbModel: nullableType(booleanType()),
|
|
55810
|
+
key: nullableType(stringType()),
|
|
55811
|
+
maxTokens: nullableType(numberType()).optional(),
|
|
55812
|
+
maxInputTokens: nullableType(numberType()).optional(),
|
|
55813
|
+
maxOutputTokens: nullableType(numberType()).optional(),
|
|
55814
|
+
inputCostPerToken: nullableType(numberType()).optional(),
|
|
55815
|
+
cacheCreationInputTokenCost: nullableType(numberType()).optional(),
|
|
55816
|
+
cacheReadInputTokenCost: nullableType(numberType()).optional(),
|
|
55817
|
+
inputCostPerCharacter: nullableType(numberType()).optional(),
|
|
55818
|
+
inputCostPerTokenAbove128kTokens: nullableType(numberType()).optional(),
|
|
55819
|
+
inputCostPerTokenAbove200kTokens: nullableType(numberType()).optional(),
|
|
55820
|
+
inputCostPerQuery: nullableType(numberType()).optional(),
|
|
55821
|
+
inputCostPerSecond: nullableType(numberType()).optional(),
|
|
55822
|
+
inputCostPerAudioToken: nullableType(numberType()).optional(),
|
|
55823
|
+
inputCostPerTokenBatches: nullableType(numberType()).optional(),
|
|
55824
|
+
outputCostPerTokenBatches: nullableType(numberType()).optional(),
|
|
55825
|
+
outputCostPerToken: nullableType(numberType()).optional(),
|
|
55826
|
+
outputCostPerAudioToken: nullableType(numberType()).optional(),
|
|
55827
|
+
outputCostPerCharacter: nullableType(numberType()).optional(),
|
|
55828
|
+
outputCostPerReasoningToken: nullableType(numberType()).optional(),
|
|
55829
|
+
outputCostPerTokenAbove128kTokens: nullableType(numberType()).optional(),
|
|
55830
|
+
outputCostPerCharacterAbove128kTokens: nullableType(numberType()).optional(),
|
|
55831
|
+
outputCostPerTokenAbove200kTokens: nullableType(numberType()).optional(),
|
|
55832
|
+
outputCostPerSecond: nullableType(numberType()).optional(),
|
|
55833
|
+
outputCostPerImage: nullableType(numberType()).optional(),
|
|
55834
|
+
outputVectorSize: nullableType(numberType()).optional(),
|
|
55835
|
+
litellmProvider: nullableType(stringType()),
|
|
55836
|
+
mode: nullableType(stringType()),
|
|
55837
|
+
supportsSystemMessages: nullableType(booleanType()).optional(),
|
|
55838
|
+
supportsResponseSchema: nullableType(booleanType()).optional(),
|
|
55839
|
+
supportsVision: nullableType(booleanType()).optional(),
|
|
55840
|
+
supportsFunctionCalling: nullableType(booleanType()).optional(),
|
|
55841
|
+
supportsToolChoice: nullableType(booleanType()).optional(),
|
|
55842
|
+
supportsAssistantPrefill: nullableType(booleanType()).optional(),
|
|
55843
|
+
supportsPromptCaching: nullableType(booleanType()).optional(),
|
|
55844
|
+
supportsAudioInput: nullableType(booleanType()).optional(),
|
|
55845
|
+
supportsAudioOutput: nullableType(booleanType()).optional(),
|
|
55846
|
+
supportsPdfInput: nullableType(booleanType()).optional(),
|
|
55847
|
+
supportsEmbeddingImageInput: nullableType(booleanType()).optional(),
|
|
55848
|
+
supportsNativeStreaming: nullableType(booleanType()).optional(),
|
|
55849
|
+
supportsWebSearch: nullableType(booleanType()).optional(),
|
|
55850
|
+
supportsUrlContext: nullableType(booleanType()).optional(),
|
|
55851
|
+
supportsReasoning: nullableType(booleanType()).optional(),
|
|
55852
|
+
supportsComputerUse: nullableType(booleanType()).optional(),
|
|
55853
|
+
searchContextCostPerQuery: nullableType(numberType()).optional(),
|
|
55854
|
+
tpm: nullableType(numberType()).optional(),
|
|
55855
|
+
rpm: nullableType(numberType()).optional(),
|
|
55856
|
+
supportedOpenaiParams: nullableType(arrayType(stringType())).optional()
|
|
55857
|
+
}).transform((v2) => {
|
|
55858
|
+
return remap(v2, {
|
|
55859
|
+
dbModel: "db_model",
|
|
55860
|
+
maxTokens: "max_tokens",
|
|
55861
|
+
maxInputTokens: "max_input_tokens",
|
|
55862
|
+
maxOutputTokens: "max_output_tokens",
|
|
55863
|
+
inputCostPerToken: "input_cost_per_token",
|
|
55864
|
+
cacheCreationInputTokenCost: "cache_creation_input_token_cost",
|
|
55865
|
+
cacheReadInputTokenCost: "cache_read_input_token_cost",
|
|
55866
|
+
inputCostPerCharacter: "input_cost_per_character",
|
|
55867
|
+
inputCostPerTokenAbove128kTokens: "input_cost_per_token_above_128k_tokens",
|
|
55868
|
+
inputCostPerTokenAbove200kTokens: "input_cost_per_token_above_200k_tokens",
|
|
55869
|
+
inputCostPerQuery: "input_cost_per_query",
|
|
55870
|
+
inputCostPerSecond: "input_cost_per_second",
|
|
55871
|
+
inputCostPerAudioToken: "input_cost_per_audio_token",
|
|
55872
|
+
inputCostPerTokenBatches: "input_cost_per_token_batches",
|
|
55873
|
+
outputCostPerTokenBatches: "output_cost_per_token_batches",
|
|
55874
|
+
outputCostPerToken: "output_cost_per_token",
|
|
55875
|
+
outputCostPerAudioToken: "output_cost_per_audio_token",
|
|
55876
|
+
outputCostPerCharacter: "output_cost_per_character",
|
|
55877
|
+
outputCostPerReasoningToken: "output_cost_per_reasoning_token",
|
|
55878
|
+
outputCostPerTokenAbove128kTokens: "output_cost_per_token_above_128k_tokens",
|
|
55879
|
+
outputCostPerCharacterAbove128kTokens: "output_cost_per_character_above_128k_tokens",
|
|
55880
|
+
outputCostPerTokenAbove200kTokens: "output_cost_per_token_above_200k_tokens",
|
|
55881
|
+
outputCostPerSecond: "output_cost_per_second",
|
|
55882
|
+
outputCostPerImage: "output_cost_per_image",
|
|
55883
|
+
outputVectorSize: "output_vector_size",
|
|
55884
|
+
litellmProvider: "litellm_provider",
|
|
55885
|
+
supportsSystemMessages: "supports_system_messages",
|
|
55886
|
+
supportsResponseSchema: "supports_response_schema",
|
|
55887
|
+
supportsVision: "supports_vision",
|
|
55888
|
+
supportsFunctionCalling: "supports_function_calling",
|
|
55889
|
+
supportsToolChoice: "supports_tool_choice",
|
|
55890
|
+
supportsAssistantPrefill: "supports_assistant_prefill",
|
|
55891
|
+
supportsPromptCaching: "supports_prompt_caching",
|
|
55892
|
+
supportsAudioInput: "supports_audio_input",
|
|
55893
|
+
supportsAudioOutput: "supports_audio_output",
|
|
55894
|
+
supportsPdfInput: "supports_pdf_input",
|
|
55895
|
+
supportsEmbeddingImageInput: "supports_embedding_image_input",
|
|
55896
|
+
supportsNativeStreaming: "supports_native_streaming",
|
|
55897
|
+
supportsWebSearch: "supports_web_search",
|
|
55898
|
+
supportsUrlContext: "supports_url_context",
|
|
55899
|
+
supportsReasoning: "supports_reasoning",
|
|
55900
|
+
supportsComputerUse: "supports_computer_use",
|
|
55901
|
+
searchContextCostPerQuery: "search_context_cost_per_query",
|
|
55902
|
+
supportedOpenaiParams: "supported_openai_params"
|
|
55903
|
+
});
|
|
55904
|
+
});
|
|
55905
|
+
((ModelInfo$) => {
|
|
55906
|
+
ModelInfo$.inboundSchema = ModelInfo$inboundSchema;
|
|
55907
|
+
ModelInfo$.outboundSchema = ModelInfo$outboundSchema;
|
|
55908
|
+
})(ModelInfo$ ||= {});
|
|
55909
|
+
RequestBody$inboundSchema = objectType({
|
|
55910
|
+
model_name: stringType(),
|
|
55911
|
+
litellm_params: lazyType(() => LitellmParams$inboundSchema),
|
|
55912
|
+
model_info: lazyType(() => ModelInfo$inboundSchema)
|
|
55913
|
+
}).transform((v2) => {
|
|
55914
|
+
return remap(v2, {
|
|
55915
|
+
model_name: "modelName",
|
|
55916
|
+
litellm_params: "litellmParams",
|
|
55917
|
+
model_info: "modelInfo"
|
|
55918
|
+
});
|
|
55919
|
+
});
|
|
55920
|
+
RequestBody$outboundSchema = objectType({
|
|
55921
|
+
modelName: stringType(),
|
|
55922
|
+
litellmParams: lazyType(() => LitellmParams$outboundSchema),
|
|
55923
|
+
modelInfo: lazyType(() => ModelInfo$outboundSchema)
|
|
55924
|
+
}).transform((v2) => {
|
|
55925
|
+
return remap(v2, {
|
|
55926
|
+
modelName: "model_name",
|
|
55927
|
+
litellmParams: "litellm_params",
|
|
55928
|
+
modelInfo: "model_info"
|
|
55929
|
+
});
|
|
55930
|
+
});
|
|
55931
|
+
((RequestBody$) => {
|
|
55932
|
+
RequestBody$.inboundSchema = RequestBody$inboundSchema;
|
|
55933
|
+
RequestBody$.outboundSchema = RequestBody$outboundSchema;
|
|
55934
|
+
})(RequestBody$ ||= {});
|
|
55935
|
+
PostV2ModelsLitellmImportModelType$inboundSchema = nativeEnumType(PostV2ModelsLitellmImportModelType);
|
|
55936
|
+
PostV2ModelsLitellmImportModelType$outboundSchema = PostV2ModelsLitellmImportModelType$inboundSchema;
|
|
55937
|
+
((PostV2ModelsLitellmImportModelType$) => {
|
|
55938
|
+
PostV2ModelsLitellmImportModelType$.inboundSchema = PostV2ModelsLitellmImportModelType$inboundSchema;
|
|
55939
|
+
PostV2ModelsLitellmImportModelType$.outboundSchema = PostV2ModelsLitellmImportModelType$outboundSchema;
|
|
55940
|
+
})(PostV2ModelsLitellmImportModelType$ ||= {});
|
|
55941
|
+
PostV2ModelsLitellmImportProvider$inboundSchema = nativeEnumType(PostV2ModelsLitellmImportProvider);
|
|
55942
|
+
PostV2ModelsLitellmImportProvider$outboundSchema = PostV2ModelsLitellmImportProvider$inboundSchema;
|
|
55943
|
+
((PostV2ModelsLitellmImportProvider$) => {
|
|
55944
|
+
PostV2ModelsLitellmImportProvider$.inboundSchema = PostV2ModelsLitellmImportProvider$inboundSchema;
|
|
55945
|
+
PostV2ModelsLitellmImportProvider$.outboundSchema = PostV2ModelsLitellmImportProvider$outboundSchema;
|
|
55946
|
+
})(PostV2ModelsLitellmImportProvider$ ||= {});
|
|
55947
|
+
Region$inboundSchema = nativeEnumType(Region);
|
|
55948
|
+
Region$outboundSchema = Region$inboundSchema;
|
|
55949
|
+
((Region$) => {
|
|
55950
|
+
Region$.inboundSchema = Region$inboundSchema;
|
|
55951
|
+
Region$.outboundSchema = Region$outboundSchema;
|
|
55952
|
+
})(Region$ ||= {});
|
|
55953
|
+
PostV2ModelsLitellmImportMetadata$inboundSchema = objectType({
|
|
55954
|
+
context_window: numberType().optional(),
|
|
55955
|
+
is_private: booleanType(),
|
|
55956
|
+
region: Region$inboundSchema,
|
|
55957
|
+
has_functions: booleanType().optional(),
|
|
55958
|
+
strict_tool_supported: booleanType().optional(),
|
|
55959
|
+
json_mode_response_format_supported: booleanType().optional(),
|
|
55960
|
+
json_schema_response_format_supported: booleanType().optional(),
|
|
55961
|
+
support_system_message: booleanType().optional(),
|
|
55962
|
+
streaming_not_supported: booleanType().optional(),
|
|
55963
|
+
db_match: booleanType().default(false),
|
|
55964
|
+
image_token_cost: numberType().optional()
|
|
55965
|
+
}).transform((v2) => {
|
|
55966
|
+
return remap(v2, {
|
|
55967
|
+
context_window: "contextWindow",
|
|
55968
|
+
is_private: "isPrivate",
|
|
55969
|
+
has_functions: "hasFunctions",
|
|
55970
|
+
strict_tool_supported: "strictToolSupported",
|
|
55971
|
+
json_mode_response_format_supported: "jsonModeResponseFormatSupported",
|
|
55972
|
+
json_schema_response_format_supported: "jsonSchemaResponseFormatSupported",
|
|
55973
|
+
support_system_message: "supportSystemMessage",
|
|
55974
|
+
streaming_not_supported: "streamingNotSupported",
|
|
55975
|
+
db_match: "dbMatch",
|
|
55976
|
+
image_token_cost: "imageTokenCost"
|
|
55977
|
+
});
|
|
55978
|
+
});
|
|
55979
|
+
PostV2ModelsLitellmImportMetadata$outboundSchema = objectType({
|
|
55980
|
+
contextWindow: numberType().optional(),
|
|
55981
|
+
isPrivate: booleanType(),
|
|
55982
|
+
region: Region$outboundSchema,
|
|
55983
|
+
hasFunctions: booleanType().optional(),
|
|
55984
|
+
strictToolSupported: booleanType().optional(),
|
|
55985
|
+
jsonModeResponseFormatSupported: booleanType().optional(),
|
|
55986
|
+
jsonSchemaResponseFormatSupported: booleanType().optional(),
|
|
55987
|
+
supportSystemMessage: booleanType().optional(),
|
|
55988
|
+
streamingNotSupported: booleanType().optional(),
|
|
55989
|
+
dbMatch: booleanType().default(false),
|
|
55990
|
+
imageTokenCost: numberType().optional()
|
|
55991
|
+
}).transform((v2) => {
|
|
55992
|
+
return remap(v2, {
|
|
55993
|
+
contextWindow: "context_window",
|
|
55994
|
+
isPrivate: "is_private",
|
|
55995
|
+
hasFunctions: "has_functions",
|
|
55996
|
+
strictToolSupported: "strict_tool_supported",
|
|
55997
|
+
jsonModeResponseFormatSupported: "json_mode_response_format_supported",
|
|
55998
|
+
jsonSchemaResponseFormatSupported: "json_schema_response_format_supported",
|
|
55999
|
+
supportSystemMessage: "support_system_message",
|
|
56000
|
+
streamingNotSupported: "streaming_not_supported",
|
|
56001
|
+
dbMatch: "db_match",
|
|
56002
|
+
imageTokenCost: "image_token_cost"
|
|
56003
|
+
});
|
|
56004
|
+
});
|
|
56005
|
+
((PostV2ModelsLitellmImportMetadata$) => {
|
|
56006
|
+
PostV2ModelsLitellmImportMetadata$.inboundSchema = PostV2ModelsLitellmImportMetadata$inboundSchema;
|
|
56007
|
+
PostV2ModelsLitellmImportMetadata$.outboundSchema = PostV2ModelsLitellmImportMetadata$outboundSchema;
|
|
56008
|
+
})(PostV2ModelsLitellmImportMetadata$ ||= {});
|
|
56009
|
+
PostV2ModelsLitellmImportConfigurationResponse200Provider$inboundSchema = nativeEnumType(PostV2ModelsLitellmImportConfigurationResponse200Provider);
|
|
56010
|
+
PostV2ModelsLitellmImportConfigurationResponse200Provider$outboundSchema = PostV2ModelsLitellmImportConfigurationResponse200Provider$inboundSchema;
|
|
56011
|
+
((PostV2ModelsLitellmImportConfigurationResponse200Provider$) => {
|
|
56012
|
+
PostV2ModelsLitellmImportConfigurationResponse200Provider$.inboundSchema = PostV2ModelsLitellmImportConfigurationResponse200Provider$inboundSchema;
|
|
56013
|
+
PostV2ModelsLitellmImportConfigurationResponse200Provider$.outboundSchema = PostV2ModelsLitellmImportConfigurationResponse200Provider$outboundSchema;
|
|
56014
|
+
})(PostV2ModelsLitellmImportConfigurationResponse200Provider$ ||= {});
|
|
56015
|
+
Configuration4$inboundSchema = objectType({
|
|
56016
|
+
provider: PostV2ModelsLitellmImportConfigurationResponse200Provider$inboundSchema,
|
|
56017
|
+
host_url: stringType()
|
|
56018
|
+
}).transform((v2) => {
|
|
56019
|
+
return remap(v2, {
|
|
56020
|
+
host_url: "hostUrl"
|
|
56021
|
+
});
|
|
56022
|
+
});
|
|
56023
|
+
Configuration4$outboundSchema = objectType({
|
|
56024
|
+
provider: PostV2ModelsLitellmImportConfigurationResponse200Provider$outboundSchema,
|
|
56025
|
+
hostUrl: stringType()
|
|
56026
|
+
}).transform((v2) => {
|
|
56027
|
+
return remap(v2, {
|
|
56028
|
+
hostUrl: "host_url"
|
|
56029
|
+
});
|
|
56030
|
+
});
|
|
56031
|
+
((Configuration4$) => {
|
|
56032
|
+
Configuration4$.inboundSchema = Configuration4$inboundSchema;
|
|
56033
|
+
Configuration4$.outboundSchema = Configuration4$outboundSchema;
|
|
56034
|
+
})(Configuration4$ ||= {});
|
|
56035
|
+
PostV2ModelsLitellmImportConfigurationResponseProvider$inboundSchema = nativeEnumType(PostV2ModelsLitellmImportConfigurationResponseProvider);
|
|
56036
|
+
PostV2ModelsLitellmImportConfigurationResponseProvider$outboundSchema = PostV2ModelsLitellmImportConfigurationResponseProvider$inboundSchema;
|
|
56037
|
+
((PostV2ModelsLitellmImportConfigurationResponseProvider$) => {
|
|
56038
|
+
PostV2ModelsLitellmImportConfigurationResponseProvider$.inboundSchema = PostV2ModelsLitellmImportConfigurationResponseProvider$inboundSchema;
|
|
56039
|
+
PostV2ModelsLitellmImportConfigurationResponseProvider$.outboundSchema = PostV2ModelsLitellmImportConfigurationResponseProvider$outboundSchema;
|
|
56040
|
+
})(PostV2ModelsLitellmImportConfigurationResponseProvider$ ||= {});
|
|
56041
|
+
Configuration3$inboundSchema = objectType({
|
|
56042
|
+
provider: PostV2ModelsLitellmImportConfigurationResponseProvider$inboundSchema,
|
|
56043
|
+
region: stringType()
|
|
56044
|
+
});
|
|
56045
|
+
Configuration3$outboundSchema = objectType({
|
|
56046
|
+
provider: PostV2ModelsLitellmImportConfigurationResponseProvider$outboundSchema,
|
|
56047
|
+
region: stringType()
|
|
56048
|
+
});
|
|
56049
|
+
((Configuration3$) => {
|
|
56050
|
+
Configuration3$.inboundSchema = Configuration3$inboundSchema;
|
|
56051
|
+
Configuration3$.outboundSchema = Configuration3$outboundSchema;
|
|
56052
|
+
})(Configuration3$ ||= {});
|
|
56053
|
+
PostV2ModelsLitellmImportConfigurationProvider$inboundSchema = nativeEnumType(PostV2ModelsLitellmImportConfigurationProvider);
|
|
56054
|
+
PostV2ModelsLitellmImportConfigurationProvider$outboundSchema = PostV2ModelsLitellmImportConfigurationProvider$inboundSchema;
|
|
56055
|
+
((PostV2ModelsLitellmImportConfigurationProvider$) => {
|
|
56056
|
+
PostV2ModelsLitellmImportConfigurationProvider$.inboundSchema = PostV2ModelsLitellmImportConfigurationProvider$inboundSchema;
|
|
56057
|
+
PostV2ModelsLitellmImportConfigurationProvider$.outboundSchema = PostV2ModelsLitellmImportConfigurationProvider$outboundSchema;
|
|
56058
|
+
})(PostV2ModelsLitellmImportConfigurationProvider$ ||= {});
|
|
56059
|
+
Configuration2$inboundSchema = objectType({
|
|
56060
|
+
provider: PostV2ModelsLitellmImportConfigurationProvider$inboundSchema,
|
|
56061
|
+
service_account: stringType(),
|
|
56062
|
+
region: stringType(),
|
|
56063
|
+
location: stringType(),
|
|
56064
|
+
should_use_beta_features: booleanType(),
|
|
56065
|
+
project_id: stringType(),
|
|
56066
|
+
is_openai_compatible: booleanType().optional(),
|
|
56067
|
+
is_tuned_model: booleanType().optional()
|
|
56068
|
+
}).transform((v2) => {
|
|
56069
|
+
return remap(v2, {
|
|
56070
|
+
service_account: "serviceAccount",
|
|
56071
|
+
should_use_beta_features: "shouldUseBetaFeatures",
|
|
56072
|
+
project_id: "projectId",
|
|
56073
|
+
is_openai_compatible: "isOpenaiCompatible",
|
|
56074
|
+
is_tuned_model: "isTunedModel"
|
|
56075
|
+
});
|
|
56076
|
+
});
|
|
56077
|
+
Configuration2$outboundSchema = objectType({
|
|
56078
|
+
provider: PostV2ModelsLitellmImportConfigurationProvider$outboundSchema,
|
|
56079
|
+
serviceAccount: stringType(),
|
|
56080
|
+
region: stringType(),
|
|
56081
|
+
location: stringType(),
|
|
56082
|
+
shouldUseBetaFeatures: booleanType(),
|
|
56083
|
+
projectId: stringType(),
|
|
56084
|
+
isOpenaiCompatible: booleanType().optional(),
|
|
56085
|
+
isTunedModel: booleanType().optional()
|
|
56086
|
+
}).transform((v2) => {
|
|
56087
|
+
return remap(v2, {
|
|
56088
|
+
serviceAccount: "service_account",
|
|
56089
|
+
shouldUseBetaFeatures: "should_use_beta_features",
|
|
56090
|
+
projectId: "project_id",
|
|
56091
|
+
isOpenaiCompatible: "is_openai_compatible",
|
|
56092
|
+
isTunedModel: "is_tuned_model"
|
|
56093
|
+
});
|
|
56094
|
+
});
|
|
56095
|
+
((Configuration2$) => {
|
|
56096
|
+
Configuration2$.inboundSchema = Configuration2$inboundSchema;
|
|
56097
|
+
Configuration2$.outboundSchema = Configuration2$outboundSchema;
|
|
56098
|
+
})(Configuration2$ ||= {});
|
|
56099
|
+
ConfigurationProvider$inboundSchema = nativeEnumType(ConfigurationProvider);
|
|
56100
|
+
ConfigurationProvider$outboundSchema = ConfigurationProvider$inboundSchema;
|
|
56101
|
+
((ConfigurationProvider$) => {
|
|
56102
|
+
ConfigurationProvider$.inboundSchema = ConfigurationProvider$inboundSchema;
|
|
56103
|
+
ConfigurationProvider$.outboundSchema = ConfigurationProvider$outboundSchema;
|
|
56104
|
+
})(ConfigurationProvider$ ||= {});
|
|
56105
|
+
Configuration1$inboundSchema = objectType({
|
|
56106
|
+
provider: ConfigurationProvider$inboundSchema,
|
|
56107
|
+
endpoint: stringType(),
|
|
56108
|
+
api_key: stringType()
|
|
56109
|
+
}).transform((v2) => {
|
|
56110
|
+
return remap(v2, {
|
|
56111
|
+
api_key: "apiKey"
|
|
56112
|
+
});
|
|
56113
|
+
});
|
|
56114
|
+
Configuration1$outboundSchema = objectType({
|
|
56115
|
+
provider: ConfigurationProvider$outboundSchema,
|
|
56116
|
+
endpoint: stringType(),
|
|
56117
|
+
apiKey: stringType()
|
|
56118
|
+
}).transform((v2) => {
|
|
56119
|
+
return remap(v2, {
|
|
56120
|
+
apiKey: "api_key"
|
|
56121
|
+
});
|
|
56122
|
+
});
|
|
56123
|
+
((Configuration1$) => {
|
|
56124
|
+
Configuration1$.inboundSchema = Configuration1$inboundSchema;
|
|
56125
|
+
Configuration1$.outboundSchema = Configuration1$outboundSchema;
|
|
56126
|
+
})(Configuration1$ ||= {});
|
|
56127
|
+
Configuration$inboundSchema = unionType([
|
|
56128
|
+
lazyType(() => Configuration3$inboundSchema),
|
|
56129
|
+
lazyType(() => Configuration4$inboundSchema),
|
|
56130
|
+
lazyType(() => Configuration1$inboundSchema),
|
|
56131
|
+
lazyType(() => Configuration2$inboundSchema)
|
|
56132
|
+
]);
|
|
56133
|
+
Configuration$outboundSchema = unionType([
|
|
56134
|
+
lazyType(() => Configuration3$outboundSchema),
|
|
56135
|
+
lazyType(() => Configuration4$outboundSchema),
|
|
56136
|
+
lazyType(() => Configuration1$outboundSchema),
|
|
56137
|
+
lazyType(() => Configuration2$outboundSchema)
|
|
56138
|
+
]);
|
|
56139
|
+
((Configuration$) => {
|
|
56140
|
+
Configuration$.inboundSchema = Configuration$inboundSchema;
|
|
56141
|
+
Configuration$.outboundSchema = Configuration$outboundSchema;
|
|
56142
|
+
})(Configuration$ ||= {});
|
|
56143
|
+
PostV2ModelsLitellmImportParametersParameter$inboundSchema = nativeEnumType(PostV2ModelsLitellmImportParametersParameter);
|
|
56144
|
+
PostV2ModelsLitellmImportParametersParameter$outboundSchema = PostV2ModelsLitellmImportParametersParameter$inboundSchema;
|
|
56145
|
+
((PostV2ModelsLitellmImportParametersParameter$) => {
|
|
56146
|
+
PostV2ModelsLitellmImportParametersParameter$.inboundSchema = PostV2ModelsLitellmImportParametersParameter$inboundSchema;
|
|
56147
|
+
PostV2ModelsLitellmImportParametersParameter$.outboundSchema = PostV2ModelsLitellmImportParametersParameter$outboundSchema;
|
|
56148
|
+
})(PostV2ModelsLitellmImportParametersParameter$ ||= {});
|
|
56149
|
+
PostV2ModelsLitellmImportParametersParameterType$inboundSchema = nativeEnumType(PostV2ModelsLitellmImportParametersParameterType);
|
|
56150
|
+
PostV2ModelsLitellmImportParametersParameterType$outboundSchema = PostV2ModelsLitellmImportParametersParameterType$inboundSchema;
|
|
56151
|
+
((PostV2ModelsLitellmImportParametersParameterType$) => {
|
|
56152
|
+
PostV2ModelsLitellmImportParametersParameterType$.inboundSchema = PostV2ModelsLitellmImportParametersParameterType$inboundSchema;
|
|
56153
|
+
PostV2ModelsLitellmImportParametersParameterType$.outboundSchema = PostV2ModelsLitellmImportParametersParameterType$outboundSchema;
|
|
56154
|
+
})(PostV2ModelsLitellmImportParametersParameterType$ ||= {});
|
|
56155
|
+
Options$inboundSchema = objectType({
|
|
56156
|
+
display_name: stringType(),
|
|
56157
|
+
value: stringType()
|
|
56158
|
+
}).transform((v2) => {
|
|
56159
|
+
return remap(v2, {
|
|
56160
|
+
display_name: "displayName"
|
|
56161
|
+
});
|
|
56162
|
+
});
|
|
56163
|
+
Options$outboundSchema = objectType({
|
|
56164
|
+
displayName: stringType(),
|
|
56165
|
+
value: stringType()
|
|
56166
|
+
}).transform((v2) => {
|
|
56167
|
+
return remap(v2, {
|
|
56168
|
+
displayName: "display_name"
|
|
56169
|
+
});
|
|
56170
|
+
});
|
|
56171
|
+
((Options$) => {
|
|
56172
|
+
Options$.inboundSchema = Options$inboundSchema;
|
|
56173
|
+
Options$.outboundSchema = Options$outboundSchema;
|
|
56174
|
+
})(Options$ ||= {});
|
|
56175
|
+
PostV2ModelsLitellmImportParametersConfig$inboundSchema = objectType({
|
|
56176
|
+
default: stringType(),
|
|
56177
|
+
options: arrayType(lazyType(() => Options$inboundSchema))
|
|
56178
|
+
});
|
|
56179
|
+
PostV2ModelsLitellmImportParametersConfig$outboundSchema = objectType({
|
|
56180
|
+
default: stringType(),
|
|
56181
|
+
options: arrayType(lazyType(() => Options$outboundSchema))
|
|
56182
|
+
});
|
|
56183
|
+
((PostV2ModelsLitellmImportParametersConfig$) => {
|
|
56184
|
+
PostV2ModelsLitellmImportParametersConfig$.inboundSchema = PostV2ModelsLitellmImportParametersConfig$inboundSchema;
|
|
56185
|
+
PostV2ModelsLitellmImportParametersConfig$.outboundSchema = PostV2ModelsLitellmImportParametersConfig$outboundSchema;
|
|
56186
|
+
})(PostV2ModelsLitellmImportParametersConfig$ ||= {});
|
|
56187
|
+
Parameters3$inboundSchema = objectType({
|
|
56188
|
+
id: stringType(),
|
|
56189
|
+
name: stringType(),
|
|
56190
|
+
parameter: PostV2ModelsLitellmImportParametersParameter$inboundSchema,
|
|
56191
|
+
description: stringType(),
|
|
56192
|
+
hints: nullableType(stringType()).optional(),
|
|
56193
|
+
is_active: booleanType(),
|
|
56194
|
+
position: nullableType(numberType()).optional(),
|
|
56195
|
+
parameter_type: PostV2ModelsLitellmImportParametersParameterType$inboundSchema,
|
|
56196
|
+
config: lazyType(() => PostV2ModelsLitellmImportParametersConfig$inboundSchema)
|
|
56197
|
+
}).transform((v2) => {
|
|
56198
|
+
return remap(v2, {
|
|
56199
|
+
is_active: "isActive",
|
|
56200
|
+
parameter_type: "parameterType"
|
|
56201
|
+
});
|
|
56202
|
+
});
|
|
56203
|
+
Parameters3$outboundSchema = objectType({
|
|
56204
|
+
id: stringType(),
|
|
56205
|
+
name: stringType(),
|
|
56206
|
+
parameter: PostV2ModelsLitellmImportParametersParameter$outboundSchema,
|
|
56207
|
+
description: stringType(),
|
|
56208
|
+
hints: nullableType(stringType()).optional(),
|
|
56209
|
+
isActive: booleanType(),
|
|
56210
|
+
position: nullableType(numberType()).optional(),
|
|
56211
|
+
parameterType: PostV2ModelsLitellmImportParametersParameterType$outboundSchema,
|
|
56212
|
+
config: lazyType(() => PostV2ModelsLitellmImportParametersConfig$outboundSchema)
|
|
56213
|
+
}).transform((v2) => {
|
|
56214
|
+
return remap(v2, {
|
|
56215
|
+
isActive: "is_active",
|
|
56216
|
+
parameterType: "parameter_type"
|
|
56217
|
+
});
|
|
56218
|
+
});
|
|
56219
|
+
((Parameters3$) => {
|
|
56220
|
+
Parameters3$.inboundSchema = Parameters3$inboundSchema;
|
|
56221
|
+
Parameters3$.outboundSchema = Parameters3$outboundSchema;
|
|
56222
|
+
})(Parameters3$ ||= {});
|
|
56223
|
+
ParametersParameter$inboundSchema = nativeEnumType(ParametersParameter);
|
|
56224
|
+
ParametersParameter$outboundSchema = ParametersParameter$inboundSchema;
|
|
56225
|
+
((ParametersParameter$) => {
|
|
56226
|
+
ParametersParameter$.inboundSchema = ParametersParameter$inboundSchema;
|
|
56227
|
+
ParametersParameter$.outboundSchema = ParametersParameter$outboundSchema;
|
|
56228
|
+
})(ParametersParameter$ ||= {});
|
|
56229
|
+
ParametersParameterType$inboundSchema = nativeEnumType(ParametersParameterType);
|
|
56230
|
+
ParametersParameterType$outboundSchema = ParametersParameterType$inboundSchema;
|
|
56231
|
+
((ParametersParameterType$) => {
|
|
56232
|
+
ParametersParameterType$.inboundSchema = ParametersParameterType$inboundSchema;
|
|
56233
|
+
ParametersParameterType$.outboundSchema = ParametersParameterType$outboundSchema;
|
|
56234
|
+
})(ParametersParameterType$ ||= {});
|
|
56235
|
+
ParametersConfig$inboundSchema = objectType({
|
|
56236
|
+
default: booleanType()
|
|
56237
|
+
});
|
|
56238
|
+
ParametersConfig$outboundSchema = objectType({
|
|
56239
|
+
default: booleanType()
|
|
56240
|
+
});
|
|
56241
|
+
((ParametersConfig$) => {
|
|
56242
|
+
ParametersConfig$.inboundSchema = ParametersConfig$inboundSchema;
|
|
56243
|
+
ParametersConfig$.outboundSchema = ParametersConfig$outboundSchema;
|
|
56244
|
+
})(ParametersConfig$ ||= {});
|
|
56245
|
+
Parameters2$inboundSchema = objectType({
|
|
56246
|
+
id: stringType(),
|
|
56247
|
+
name: stringType(),
|
|
56248
|
+
parameter: ParametersParameter$inboundSchema,
|
|
56249
|
+
description: stringType(),
|
|
56250
|
+
hints: nullableType(stringType()).optional(),
|
|
56251
|
+
is_active: booleanType(),
|
|
56252
|
+
position: nullableType(numberType()).optional(),
|
|
56253
|
+
parameter_type: ParametersParameterType$inboundSchema,
|
|
56254
|
+
config: lazyType(() => ParametersConfig$inboundSchema)
|
|
56255
|
+
}).transform((v2) => {
|
|
56256
|
+
return remap(v2, {
|
|
56257
|
+
is_active: "isActive",
|
|
56258
|
+
parameter_type: "parameterType"
|
|
56259
|
+
});
|
|
56260
|
+
});
|
|
56261
|
+
Parameters2$outboundSchema = objectType({
|
|
56262
|
+
id: stringType(),
|
|
56263
|
+
name: stringType(),
|
|
56264
|
+
parameter: ParametersParameter$outboundSchema,
|
|
56265
|
+
description: stringType(),
|
|
56266
|
+
hints: nullableType(stringType()).optional(),
|
|
56267
|
+
isActive: booleanType(),
|
|
56268
|
+
position: nullableType(numberType()).optional(),
|
|
56269
|
+
parameterType: ParametersParameterType$outboundSchema,
|
|
56270
|
+
config: lazyType(() => ParametersConfig$outboundSchema)
|
|
56271
|
+
}).transform((v2) => {
|
|
56272
|
+
return remap(v2, {
|
|
56273
|
+
isActive: "is_active",
|
|
56274
|
+
parameterType: "parameter_type"
|
|
56275
|
+
});
|
|
56276
|
+
});
|
|
56277
|
+
((Parameters2$) => {
|
|
56278
|
+
Parameters2$.inboundSchema = Parameters2$inboundSchema;
|
|
56279
|
+
Parameters2$.outboundSchema = Parameters2$outboundSchema;
|
|
56280
|
+
})(Parameters2$ ||= {});
|
|
56281
|
+
Parameter$inboundSchema = nativeEnumType(Parameter);
|
|
56282
|
+
Parameter$outboundSchema = Parameter$inboundSchema;
|
|
56283
|
+
((Parameter$) => {
|
|
56284
|
+
Parameter$.inboundSchema = Parameter$inboundSchema;
|
|
56285
|
+
Parameter$.outboundSchema = Parameter$outboundSchema;
|
|
56286
|
+
})(Parameter$ ||= {});
|
|
56287
|
+
ParameterType$inboundSchema = nativeEnumType(ParameterType);
|
|
56288
|
+
ParameterType$outboundSchema = ParameterType$inboundSchema;
|
|
56289
|
+
((ParameterType$) => {
|
|
56290
|
+
ParameterType$.inboundSchema = ParameterType$inboundSchema;
|
|
56291
|
+
ParameterType$.outboundSchema = ParameterType$outboundSchema;
|
|
56292
|
+
})(ParameterType$ ||= {});
|
|
56293
|
+
Config$inboundSchema = objectType({
|
|
56294
|
+
default: numberType(),
|
|
56295
|
+
max: numberType(),
|
|
56296
|
+
min: numberType(),
|
|
56297
|
+
step: numberType()
|
|
56298
|
+
});
|
|
56299
|
+
Config$outboundSchema = objectType({
|
|
56300
|
+
default: numberType(),
|
|
56301
|
+
max: numberType(),
|
|
56302
|
+
min: numberType(),
|
|
56303
|
+
step: numberType()
|
|
56304
|
+
});
|
|
56305
|
+
((Config$) => {
|
|
56306
|
+
Config$.inboundSchema = Config$inboundSchema;
|
|
56307
|
+
Config$.outboundSchema = Config$outboundSchema;
|
|
56308
|
+
})(Config$ ||= {});
|
|
56309
|
+
Parameters1$inboundSchema = objectType({
|
|
56310
|
+
id: stringType(),
|
|
56311
|
+
name: stringType(),
|
|
56312
|
+
parameter: Parameter$inboundSchema,
|
|
56313
|
+
description: stringType(),
|
|
56314
|
+
hints: nullableType(stringType()).optional(),
|
|
56315
|
+
is_active: booleanType(),
|
|
56316
|
+
position: nullableType(numberType()).optional(),
|
|
56317
|
+
parameter_type: ParameterType$inboundSchema,
|
|
56318
|
+
config: lazyType(() => Config$inboundSchema)
|
|
56319
|
+
}).transform((v2) => {
|
|
56320
|
+
return remap(v2, {
|
|
56321
|
+
is_active: "isActive",
|
|
56322
|
+
parameter_type: "parameterType"
|
|
56323
|
+
});
|
|
56324
|
+
});
|
|
56325
|
+
Parameters1$outboundSchema = objectType({
|
|
56326
|
+
id: stringType(),
|
|
56327
|
+
name: stringType(),
|
|
56328
|
+
parameter: Parameter$outboundSchema,
|
|
56329
|
+
description: stringType(),
|
|
56330
|
+
hints: nullableType(stringType()).optional(),
|
|
56331
|
+
isActive: booleanType(),
|
|
56332
|
+
position: nullableType(numberType()).optional(),
|
|
56333
|
+
parameterType: ParameterType$outboundSchema,
|
|
56334
|
+
config: lazyType(() => Config$outboundSchema)
|
|
56335
|
+
}).transform((v2) => {
|
|
56336
|
+
return remap(v2, {
|
|
56337
|
+
isActive: "is_active",
|
|
56338
|
+
parameterType: "parameter_type"
|
|
56339
|
+
});
|
|
56340
|
+
});
|
|
56341
|
+
((Parameters1$) => {
|
|
56342
|
+
Parameters1$.inboundSchema = Parameters1$inboundSchema;
|
|
56343
|
+
Parameters1$.outboundSchema = Parameters1$outboundSchema;
|
|
56344
|
+
})(Parameters1$ ||= {});
|
|
56345
|
+
ParametersT$inboundSchema = unionType([
|
|
56346
|
+
lazyType(() => Parameters1$inboundSchema),
|
|
56347
|
+
lazyType(() => Parameters2$inboundSchema),
|
|
56348
|
+
lazyType(() => Parameters3$inboundSchema)
|
|
56349
|
+
]);
|
|
56350
|
+
ParametersT$outboundSchema = unionType([
|
|
56351
|
+
lazyType(() => Parameters1$outboundSchema),
|
|
56352
|
+
lazyType(() => Parameters2$outboundSchema),
|
|
56353
|
+
lazyType(() => Parameters3$outboundSchema)
|
|
56354
|
+
]);
|
|
56355
|
+
((ParametersT$) => {
|
|
56356
|
+
ParametersT$.inboundSchema = ParametersT$inboundSchema;
|
|
56357
|
+
ParametersT$.outboundSchema = ParametersT$outboundSchema;
|
|
56358
|
+
})(ParametersT$ ||= {});
|
|
56359
|
+
PostV2ModelsLitellmImportResponseBody$inboundSchema = objectType({
|
|
56360
|
+
id: stringType(),
|
|
56361
|
+
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
56362
|
+
updated: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
56363
|
+
display_name: stringType(),
|
|
56364
|
+
model_id: stringType(),
|
|
56365
|
+
model_revision: stringType().optional(),
|
|
56366
|
+
model_developer: stringType(),
|
|
56367
|
+
model_family: stringType(),
|
|
56368
|
+
model_type: PostV2ModelsLitellmImportModelType$inboundSchema,
|
|
56369
|
+
provider: PostV2ModelsLitellmImportProvider$inboundSchema,
|
|
56370
|
+
is_active: booleanType().default(true),
|
|
56371
|
+
input_cost: numberType(),
|
|
56372
|
+
input_currency: stringType().default("USD"),
|
|
56373
|
+
output_cost: numberType(),
|
|
56374
|
+
output_currency: stringType().default("USD"),
|
|
56375
|
+
description: stringType().optional(),
|
|
56376
|
+
has_functions: booleanType().default(false),
|
|
56377
|
+
has_cpu_pricing: booleanType().default(false),
|
|
56378
|
+
pricing_url: stringType().optional(),
|
|
56379
|
+
docs_url: stringType().optional(),
|
|
56380
|
+
enabled: booleanType(),
|
|
56381
|
+
enabled_for_endpoints: booleanType().default(false),
|
|
56382
|
+
enabled_for_playground: booleanType().default(false),
|
|
56383
|
+
owner: stringType().default("system"),
|
|
56384
|
+
metadata: lazyType(() => PostV2ModelsLitellmImportMetadata$inboundSchema),
|
|
56385
|
+
configuration: unionType([
|
|
56386
|
+
lazyType(() => Configuration3$inboundSchema),
|
|
56387
|
+
lazyType(() => Configuration4$inboundSchema),
|
|
56388
|
+
lazyType(() => Configuration1$inboundSchema),
|
|
56389
|
+
lazyType(() => Configuration2$inboundSchema)
|
|
56390
|
+
]).optional(),
|
|
56391
|
+
parameters: arrayType(unionType([
|
|
56392
|
+
lazyType(() => Parameters1$inboundSchema),
|
|
56393
|
+
lazyType(() => Parameters2$inboundSchema),
|
|
56394
|
+
lazyType(() => Parameters3$inboundSchema)
|
|
56395
|
+
]))
|
|
56396
|
+
}).transform((v2) => {
|
|
56397
|
+
return remap(v2, {
|
|
56398
|
+
display_name: "displayName",
|
|
56399
|
+
model_id: "modelId",
|
|
56400
|
+
model_revision: "modelRevision",
|
|
56401
|
+
model_developer: "modelDeveloper",
|
|
56402
|
+
model_family: "modelFamily",
|
|
56403
|
+
model_type: "modelType",
|
|
56404
|
+
is_active: "isActive",
|
|
56405
|
+
input_cost: "inputCost",
|
|
56406
|
+
input_currency: "inputCurrency",
|
|
56407
|
+
output_cost: "outputCost",
|
|
56408
|
+
output_currency: "outputCurrency",
|
|
56409
|
+
has_functions: "hasFunctions",
|
|
56410
|
+
has_cpu_pricing: "hasCpuPricing",
|
|
56411
|
+
pricing_url: "pricingUrl",
|
|
56412
|
+
docs_url: "docsUrl",
|
|
56413
|
+
enabled_for_endpoints: "enabledForEndpoints",
|
|
56414
|
+
enabled_for_playground: "enabledForPlayground"
|
|
56415
|
+
});
|
|
56416
|
+
});
|
|
56417
|
+
PostV2ModelsLitellmImportResponseBody$outboundSchema = objectType({
|
|
56418
|
+
id: stringType(),
|
|
56419
|
+
created: dateType().transform((v2) => v2.toISOString()),
|
|
56420
|
+
updated: dateType().transform((v2) => v2.toISOString()),
|
|
56421
|
+
displayName: stringType(),
|
|
56422
|
+
modelId: stringType(),
|
|
56423
|
+
modelRevision: stringType().optional(),
|
|
56424
|
+
modelDeveloper: stringType(),
|
|
56425
|
+
modelFamily: stringType(),
|
|
56426
|
+
modelType: PostV2ModelsLitellmImportModelType$outboundSchema,
|
|
56427
|
+
provider: PostV2ModelsLitellmImportProvider$outboundSchema,
|
|
56428
|
+
isActive: booleanType().default(true),
|
|
56429
|
+
inputCost: numberType(),
|
|
56430
|
+
inputCurrency: stringType().default("USD"),
|
|
56431
|
+
outputCost: numberType(),
|
|
56432
|
+
outputCurrency: stringType().default("USD"),
|
|
56433
|
+
description: stringType().optional(),
|
|
56434
|
+
hasFunctions: booleanType().default(false),
|
|
56435
|
+
hasCpuPricing: booleanType().default(false),
|
|
56436
|
+
pricingUrl: stringType().optional(),
|
|
56437
|
+
docsUrl: stringType().optional(),
|
|
56438
|
+
enabled: booleanType(),
|
|
56439
|
+
enabledForEndpoints: booleanType().default(false),
|
|
56440
|
+
enabledForPlayground: booleanType().default(false),
|
|
56441
|
+
owner: stringType().default("system"),
|
|
56442
|
+
metadata: lazyType(() => PostV2ModelsLitellmImportMetadata$outboundSchema),
|
|
56443
|
+
configuration: unionType([
|
|
56444
|
+
lazyType(() => Configuration3$outboundSchema),
|
|
56445
|
+
lazyType(() => Configuration4$outboundSchema),
|
|
56446
|
+
lazyType(() => Configuration1$outboundSchema),
|
|
56447
|
+
lazyType(() => Configuration2$outboundSchema)
|
|
56448
|
+
]).optional(),
|
|
56449
|
+
parameters: arrayType(unionType([
|
|
56450
|
+
lazyType(() => Parameters1$outboundSchema),
|
|
56451
|
+
lazyType(() => Parameters2$outboundSchema),
|
|
56452
|
+
lazyType(() => Parameters3$outboundSchema)
|
|
56453
|
+
]))
|
|
56454
|
+
}).transform((v2) => {
|
|
56455
|
+
return remap(v2, {
|
|
56456
|
+
displayName: "display_name",
|
|
56457
|
+
modelId: "model_id",
|
|
56458
|
+
modelRevision: "model_revision",
|
|
56459
|
+
modelDeveloper: "model_developer",
|
|
56460
|
+
modelFamily: "model_family",
|
|
56461
|
+
modelType: "model_type",
|
|
56462
|
+
isActive: "is_active",
|
|
56463
|
+
inputCost: "input_cost",
|
|
56464
|
+
inputCurrency: "input_currency",
|
|
56465
|
+
outputCost: "output_cost",
|
|
56466
|
+
outputCurrency: "output_currency",
|
|
56467
|
+
hasFunctions: "has_functions",
|
|
56468
|
+
hasCpuPricing: "has_cpu_pricing",
|
|
56469
|
+
pricingUrl: "pricing_url",
|
|
56470
|
+
docsUrl: "docs_url",
|
|
56471
|
+
enabledForEndpoints: "enabled_for_endpoints",
|
|
56472
|
+
enabledForPlayground: "enabled_for_playground"
|
|
56473
|
+
});
|
|
56474
|
+
});
|
|
56475
|
+
((PostV2ModelsLitellmImportResponseBody$) => {
|
|
56476
|
+
PostV2ModelsLitellmImportResponseBody$.inboundSchema = PostV2ModelsLitellmImportResponseBody$inboundSchema;
|
|
56477
|
+
PostV2ModelsLitellmImportResponseBody$.outboundSchema = PostV2ModelsLitellmImportResponseBody$outboundSchema;
|
|
56478
|
+
})(PostV2ModelsLitellmImportResponseBody$ ||= {});
|
|
56479
|
+
});
|
|
56480
|
+
|
|
55295
56481
|
// src/models/operations/remoteconfigsgetconfig.ts
|
|
55296
56482
|
var RemoteConfigsGetConfigType, RemoteConfigsGetConfigRequestBody$inboundSchema, RemoteConfigsGetConfigRequestBody$outboundSchema, RemoteConfigsGetConfigRequestBody$, RemoteConfigsGetConfigType$inboundSchema, RemoteConfigsGetConfigType$outboundSchema, RemoteConfigsGetConfigType$, RemoteConfigsGetConfigResponseBody$inboundSchema, RemoteConfigsGetConfigResponseBody$outboundSchema, RemoteConfigsGetConfigResponseBody$;
|
|
55297
56483
|
var init_remoteconfigsgetconfig = __esm(() => {
|
|
@@ -55363,7 +56549,7 @@ var init_retrievecontact = __esm(() => {
|
|
|
55363
56549
|
tags: arrayType(stringType()).optional(),
|
|
55364
56550
|
metadata: recordType(anyType()).optional(),
|
|
55365
56551
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
55366
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
56552
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-10T02:00:58.492Z").transform((v2) => new Date(v2))
|
|
55367
56553
|
}).transform((v2) => {
|
|
55368
56554
|
return remap(v2, {
|
|
55369
56555
|
_id: "id",
|
|
@@ -55381,7 +56567,7 @@ var init_retrievecontact = __esm(() => {
|
|
|
55381
56567
|
tags: arrayType(stringType()).optional(),
|
|
55382
56568
|
metadata: recordType(anyType()).optional(),
|
|
55383
56569
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
55384
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
56570
|
+
updated: dateType().default(() => new Date("2025-06-10T02:00:58.492Z")).transform((v2) => v2.toISOString())
|
|
55385
56571
|
}).transform((v2) => {
|
|
55386
56572
|
return remap(v2, {
|
|
55387
56573
|
id: "_id",
|
|
@@ -55958,7 +57144,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
55958
57144
|
created_by_id: stringType().optional(),
|
|
55959
57145
|
updated_by_id: stringType().optional(),
|
|
55960
57146
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
55961
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
57147
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-10T02:00:58.492Z").transform((v2) => new Date(v2))
|
|
55962
57148
|
}).transform((v2) => {
|
|
55963
57149
|
return remap(v2, {
|
|
55964
57150
|
_id: "id",
|
|
@@ -55985,7 +57171,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
55985
57171
|
createdById: stringType().optional(),
|
|
55986
57172
|
updatedById: stringType().optional(),
|
|
55987
57173
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
55988
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
57174
|
+
updated: dateType().default(() => new Date("2025-06-10T02:00:58.492Z")).transform((v2) => v2.toISOString())
|
|
55989
57175
|
}).transform((v2) => {
|
|
55990
57176
|
return remap(v2, {
|
|
55991
57177
|
id: "_id",
|
|
@@ -56056,7 +57242,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
56056
57242
|
updated_by_id: stringType().optional(),
|
|
56057
57243
|
metadata: lazyType(() => RetrieveDatasetMetadata$inboundSchema),
|
|
56058
57244
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
56059
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
57245
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-10T02:00:58.492Z").transform((v2) => new Date(v2))
|
|
56060
57246
|
}).transform((v2) => {
|
|
56061
57247
|
return remap(v2, {
|
|
56062
57248
|
_id: "id",
|
|
@@ -56076,7 +57262,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
56076
57262
|
updatedById: stringType().optional(),
|
|
56077
57263
|
metadata: lazyType(() => RetrieveDatasetMetadata$outboundSchema),
|
|
56078
57264
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
56079
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
57265
|
+
updated: dateType().default(() => new Date("2025-06-10T02:00:58.492Z")).transform((v2) => v2.toISOString())
|
|
56080
57266
|
}).transform((v2) => {
|
|
56081
57267
|
return remap(v2, {
|
|
56082
57268
|
id: "_id",
|
|
@@ -56134,7 +57320,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
56134
57320
|
RetrieveDatasourceStatus$.outboundSchema = RetrieveDatasourceStatus$outboundSchema;
|
|
56135
57321
|
})(RetrieveDatasourceStatus$ ||= {});
|
|
56136
57322
|
RetrieveDatasourceResponseBody$inboundSchema = objectType({
|
|
56137
|
-
_id: stringType().default("
|
|
57323
|
+
_id: stringType().default("01JXBS3PNYAAWVJ5SZVPSAH9S0"),
|
|
56138
57324
|
display_name: stringType(),
|
|
56139
57325
|
description: stringType().optional(),
|
|
56140
57326
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -56157,7 +57343,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
56157
57343
|
});
|
|
56158
57344
|
});
|
|
56159
57345
|
RetrieveDatasourceResponseBody$outboundSchema = objectType({
|
|
56160
|
-
id: stringType().default("
|
|
57346
|
+
id: stringType().default("01JXBS3PNYAAWVJ5SZVPSAH9S0"),
|
|
56161
57347
|
displayName: stringType(),
|
|
56162
57348
|
description: stringType().optional(),
|
|
56163
57349
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -57038,7 +58224,7 @@ var init_updatecontact = __esm(() => {
|
|
|
57038
58224
|
tags: arrayType(stringType()).optional(),
|
|
57039
58225
|
metadata: recordType(anyType()).optional(),
|
|
57040
58226
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
57041
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
58227
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-10T02:00:58.492Z").transform((v2) => new Date(v2))
|
|
57042
58228
|
}).transform((v2) => {
|
|
57043
58229
|
return remap(v2, {
|
|
57044
58230
|
_id: "id",
|
|
@@ -57056,7 +58242,7 @@ var init_updatecontact = __esm(() => {
|
|
|
57056
58242
|
tags: arrayType(stringType()).optional(),
|
|
57057
58243
|
metadata: recordType(anyType()).optional(),
|
|
57058
58244
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
57059
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
58245
|
+
updated: dateType().default(() => new Date("2025-06-10T02:00:58.492Z")).transform((v2) => v2.toISOString())
|
|
57060
58246
|
}).transform((v2) => {
|
|
57061
58247
|
return remap(v2, {
|
|
57062
58248
|
id: "_id",
|
|
@@ -58190,7 +59376,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
58190
59376
|
created_by_id: stringType().optional(),
|
|
58191
59377
|
updated_by_id: stringType().optional(),
|
|
58192
59378
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
58193
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
59379
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-10T02:00:58.492Z").transform((v2) => new Date(v2))
|
|
58194
59380
|
}).transform((v2) => {
|
|
58195
59381
|
return remap(v2, {
|
|
58196
59382
|
_id: "id",
|
|
@@ -58217,7 +59403,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
58217
59403
|
createdById: stringType().optional(),
|
|
58218
59404
|
updatedById: stringType().optional(),
|
|
58219
59405
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
58220
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
59406
|
+
updated: dateType().default(() => new Date("2025-06-10T02:00:58.492Z")).transform((v2) => v2.toISOString())
|
|
58221
59407
|
}).transform((v2) => {
|
|
58222
59408
|
return remap(v2, {
|
|
58223
59409
|
id: "_id",
|
|
@@ -58318,7 +59504,7 @@ var init_updatedataset = __esm(() => {
|
|
|
58318
59504
|
parent_id: stringType().optional(),
|
|
58319
59505
|
version: stringType().optional(),
|
|
58320
59506
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
58321
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
59507
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-10T02:00:58.492Z").transform((v2) => new Date(v2))
|
|
58322
59508
|
}).transform((v2) => {
|
|
58323
59509
|
return remap(v2, {
|
|
58324
59510
|
_id: "id",
|
|
@@ -58341,7 +59527,7 @@ var init_updatedataset = __esm(() => {
|
|
|
58341
59527
|
parentId: stringType().optional(),
|
|
58342
59528
|
version: stringType().optional(),
|
|
58343
59529
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
58344
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
59530
|
+
updated: dateType().default(() => new Date("2025-06-10T02:00:58.492Z")).transform((v2) => v2.toISOString())
|
|
58345
59531
|
}).transform((v2) => {
|
|
58346
59532
|
return remap(v2, {
|
|
58347
59533
|
id: "_id",
|
|
@@ -58422,7 +59608,7 @@ var init_updatedatasource = __esm(() => {
|
|
|
58422
59608
|
UpdateDatasourceStatus$.outboundSchema = UpdateDatasourceStatus$outboundSchema;
|
|
58423
59609
|
})(UpdateDatasourceStatus$ ||= {});
|
|
58424
59610
|
UpdateDatasourceResponseBody$inboundSchema = objectType({
|
|
58425
|
-
_id: stringType().default("
|
|
59611
|
+
_id: stringType().default("01JXBS3PNZ0Z3F6AH8V3S2NTQH"),
|
|
58426
59612
|
display_name: stringType(),
|
|
58427
59613
|
description: stringType().optional(),
|
|
58428
59614
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -58445,7 +59631,7 @@ var init_updatedatasource = __esm(() => {
|
|
|
58445
59631
|
});
|
|
58446
59632
|
});
|
|
58447
59633
|
UpdateDatasourceResponseBody$outboundSchema = objectType({
|
|
58448
|
-
id: stringType().default("
|
|
59634
|
+
id: stringType().default("01JXBS3PNZ0Z3F6AH8V3S2NTQH"),
|
|
58449
59635
|
displayName: stringType(),
|
|
58450
59636
|
description: stringType().optional(),
|
|
58451
59637
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -59151,8 +60337,8 @@ var init_updateeval = __esm(() => {
|
|
|
59151
60337
|
UpdateEvalResponseBodyPython$inboundSchema = objectType({
|
|
59152
60338
|
_id: stringType(),
|
|
59153
60339
|
description: stringType(),
|
|
59154
|
-
created: stringType().default("2025-06-
|
|
59155
|
-
updated: stringType().default("2025-06-
|
|
60340
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
60341
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
59156
60342
|
guardrail_config: unionType([
|
|
59157
60343
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema),
|
|
59158
60344
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema)
|
|
@@ -59169,8 +60355,8 @@ var init_updateeval = __esm(() => {
|
|
|
59169
60355
|
UpdateEvalResponseBodyPython$outboundSchema = objectType({
|
|
59170
60356
|
id: stringType(),
|
|
59171
60357
|
description: stringType(),
|
|
59172
|
-
created: stringType().default("2025-06-
|
|
59173
|
-
updated: stringType().default("2025-06-
|
|
60358
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
60359
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
59174
60360
|
guardrailConfig: unionType([
|
|
59175
60361
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema),
|
|
59176
60362
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema)
|
|
@@ -59263,8 +60449,8 @@ var init_updateeval = __esm(() => {
|
|
|
59263
60449
|
UpdateEvalResponseBodyHTTP$inboundSchema = objectType({
|
|
59264
60450
|
_id: stringType(),
|
|
59265
60451
|
description: stringType(),
|
|
59266
|
-
created: stringType().default("2025-06-
|
|
59267
|
-
updated: stringType().default("2025-06-
|
|
60452
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
60453
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
59268
60454
|
guardrail_config: unionType([
|
|
59269
60455
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema),
|
|
59270
60456
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema)
|
|
@@ -59284,8 +60470,8 @@ var init_updateeval = __esm(() => {
|
|
|
59284
60470
|
UpdateEvalResponseBodyHTTP$outboundSchema = objectType({
|
|
59285
60471
|
id: stringType(),
|
|
59286
60472
|
description: stringType(),
|
|
59287
|
-
created: stringType().default("2025-06-
|
|
59288
|
-
updated: stringType().default("2025-06-
|
|
60473
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
60474
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
59289
60475
|
guardrailConfig: unionType([
|
|
59290
60476
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema),
|
|
59291
60477
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema)
|
|
@@ -59375,8 +60561,8 @@ var init_updateeval = __esm(() => {
|
|
|
59375
60561
|
UpdateEvalResponseBodyJSON$inboundSchema = objectType({
|
|
59376
60562
|
_id: stringType(),
|
|
59377
60563
|
description: stringType(),
|
|
59378
|
-
created: stringType().default("2025-06-
|
|
59379
|
-
updated: stringType().default("2025-06-
|
|
60564
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
60565
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
59380
60566
|
guardrail_config: unionType([
|
|
59381
60567
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema),
|
|
59382
60568
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema)
|
|
@@ -59393,8 +60579,8 @@ var init_updateeval = __esm(() => {
|
|
|
59393
60579
|
UpdateEvalResponseBodyJSON$outboundSchema = objectType({
|
|
59394
60580
|
id: stringType(),
|
|
59395
60581
|
description: stringType(),
|
|
59396
|
-
created: stringType().default("2025-06-
|
|
59397
|
-
updated: stringType().default("2025-06-
|
|
60582
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
60583
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
59398
60584
|
guardrailConfig: unionType([
|
|
59399
60585
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema),
|
|
59400
60586
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema)
|
|
@@ -59481,8 +60667,8 @@ var init_updateeval = __esm(() => {
|
|
|
59481
60667
|
UpdateEvalResponseBodyLLM$inboundSchema = objectType({
|
|
59482
60668
|
_id: stringType(),
|
|
59483
60669
|
description: stringType(),
|
|
59484
|
-
created: stringType().default("2025-06-
|
|
59485
|
-
updated: stringType().default("2025-06-
|
|
60670
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
60671
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
59486
60672
|
guardrail_config: unionType([
|
|
59487
60673
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema),
|
|
59488
60674
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema)
|
|
@@ -59500,8 +60686,8 @@ var init_updateeval = __esm(() => {
|
|
|
59500
60686
|
UpdateEvalResponseBodyLLM$outboundSchema = objectType({
|
|
59501
60687
|
id: stringType(),
|
|
59502
60688
|
description: stringType(),
|
|
59503
|
-
created: stringType().default("2025-06-
|
|
59504
|
-
updated: stringType().default("2025-06-
|
|
60689
|
+
created: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
60690
|
+
updated: stringType().default("2025-06-10T02:01:00.712Z"),
|
|
59505
60691
|
guardrailConfig: unionType([
|
|
59506
60692
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema),
|
|
59507
60693
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema)
|
|
@@ -59848,7 +61034,8 @@ var init_updateprompt = __esm(() => {
|
|
|
59848
61034
|
Nvidia: "nvidia",
|
|
59849
61035
|
Jina: "jina",
|
|
59850
61036
|
Togetherai: "togetherai",
|
|
59851
|
-
Elevenlabs: "elevenlabs"
|
|
61037
|
+
Elevenlabs: "elevenlabs",
|
|
61038
|
+
Litellm: "litellm"
|
|
59852
61039
|
};
|
|
59853
61040
|
UpdatePromptRole = {
|
|
59854
61041
|
System: "system",
|
|
@@ -59960,7 +61147,8 @@ var init_updateprompt = __esm(() => {
|
|
|
59960
61147
|
Nvidia: "nvidia",
|
|
59961
61148
|
Jina: "jina",
|
|
59962
61149
|
Togetherai: "togetherai",
|
|
59963
|
-
Elevenlabs: "elevenlabs"
|
|
61150
|
+
Elevenlabs: "elevenlabs",
|
|
61151
|
+
Litellm: "litellm"
|
|
59964
61152
|
};
|
|
59965
61153
|
UpdatePromptPromptsRole = {
|
|
59966
61154
|
System: "system",
|
|
@@ -61084,6 +62272,7 @@ var init_operations = __esm(() => {
|
|
|
61084
62272
|
init_getoneknowledge();
|
|
61085
62273
|
init_getoneprompt();
|
|
61086
62274
|
init_getpromptversion();
|
|
62275
|
+
init_getv2modelslitellmmodels();
|
|
61087
62276
|
init_invokeeval();
|
|
61088
62277
|
init_listchunks();
|
|
61089
62278
|
init_listcontacts();
|
|
@@ -61093,6 +62282,7 @@ var init_operations = __esm(() => {
|
|
|
61093
62282
|
init_listknowledgebases();
|
|
61094
62283
|
init_listmodels();
|
|
61095
62284
|
init_listpromptversions();
|
|
62285
|
+
init_postv2modelslitellmimport();
|
|
61096
62286
|
init_remoteconfigsgetconfig();
|
|
61097
62287
|
init_retrievecontact();
|
|
61098
62288
|
init_retrievedatapoint();
|
|
@@ -72501,11 +73691,96 @@ Returns a list of the files that your account has access to. orq.ai sorts and re
|
|
|
72501
73691
|
};
|
|
72502
73692
|
});
|
|
72503
73693
|
|
|
73694
|
+
// src/funcs/getV2ModelsLitellmModels.ts
|
|
73695
|
+
function getV2ModelsLitellmModels(client, options) {
|
|
73696
|
+
return new APIPromise($do68(client, options));
|
|
73697
|
+
}
|
|
73698
|
+
async function $do68(client, options) {
|
|
73699
|
+
const path = pathToFunc("/v2/models/litellm/models")();
|
|
73700
|
+
const headers = new Headers(compactMap({
|
|
73701
|
+
Accept: "application/json"
|
|
73702
|
+
}));
|
|
73703
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
73704
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
73705
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
73706
|
+
const context = {
|
|
73707
|
+
options: client._options,
|
|
73708
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
73709
|
+
operationID: "get_/v2/models/litellm/models",
|
|
73710
|
+
oAuth2Scopes: [],
|
|
73711
|
+
resolvedSecurity: requestSecurity,
|
|
73712
|
+
securitySource: client._options.apiKey,
|
|
73713
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
73714
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
73715
|
+
};
|
|
73716
|
+
const requestRes = client._createRequest(context, {
|
|
73717
|
+
security: requestSecurity,
|
|
73718
|
+
method: "GET",
|
|
73719
|
+
baseURL: options?.serverURL,
|
|
73720
|
+
path,
|
|
73721
|
+
headers,
|
|
73722
|
+
userAgent: client._options.userAgent,
|
|
73723
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000
|
|
73724
|
+
}, options);
|
|
73725
|
+
if (!requestRes.ok) {
|
|
73726
|
+
return [requestRes, { status: "invalid" }];
|
|
73727
|
+
}
|
|
73728
|
+
const req = requestRes.value;
|
|
73729
|
+
const doResult = await client._do(req, {
|
|
73730
|
+
context,
|
|
73731
|
+
errorCodes: ["4XX", "5XX"],
|
|
73732
|
+
retryConfig: context.retryConfig,
|
|
73733
|
+
retryCodes: context.retryCodes
|
|
73734
|
+
});
|
|
73735
|
+
if (!doResult.ok) {
|
|
73736
|
+
return [doResult, { status: "request-error", request: req }];
|
|
73737
|
+
}
|
|
73738
|
+
const response = doResult.value;
|
|
73739
|
+
const [result] = await match(json(200, arrayType(ResponseBody$inboundSchema)), fail("4XX"), fail("5XX"))(response, req);
|
|
73740
|
+
if (!result.ok) {
|
|
73741
|
+
return [result, { status: "complete", request: req, response }];
|
|
73742
|
+
}
|
|
73743
|
+
return [result, { status: "complete", request: req, response }];
|
|
73744
|
+
}
|
|
73745
|
+
var init_getV2ModelsLitellmModels = __esm(() => {
|
|
73746
|
+
init_esm();
|
|
73747
|
+
init_matchers();
|
|
73748
|
+
init_primitives();
|
|
73749
|
+
init_security();
|
|
73750
|
+
init_url();
|
|
73751
|
+
init_operations();
|
|
73752
|
+
init_async();
|
|
73753
|
+
});
|
|
73754
|
+
|
|
73755
|
+
// src/mcp-server/tools/getV2ModelsLitellmModels.ts
|
|
73756
|
+
var tool$getV2ModelsLitellmModels;
|
|
73757
|
+
var init_getV2ModelsLitellmModels2 = __esm(() => {
|
|
73758
|
+
init_getV2ModelsLitellmModels();
|
|
73759
|
+
init_tools();
|
|
73760
|
+
tool$getV2ModelsLitellmModels = {
|
|
73761
|
+
name: "get-v2-models-litellm-models",
|
|
73762
|
+
description: `Get available models from LiteLLM
|
|
73763
|
+
|
|
73764
|
+
Fetches all available models from the configured LiteLLM instance`,
|
|
73765
|
+
tool: async (client, ctx) => {
|
|
73766
|
+
const [result, apiCall] = await getV2ModelsLitellmModels(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73767
|
+
if (!result.ok) {
|
|
73768
|
+
return {
|
|
73769
|
+
content: [{ type: "text", text: result.error.message }],
|
|
73770
|
+
isError: true
|
|
73771
|
+
};
|
|
73772
|
+
}
|
|
73773
|
+
const value = result.value;
|
|
73774
|
+
return formatResult(value, apiCall);
|
|
73775
|
+
}
|
|
73776
|
+
};
|
|
73777
|
+
});
|
|
73778
|
+
|
|
72504
73779
|
// src/funcs/knowledgeCreate.ts
|
|
72505
73780
|
function knowledgeCreate(client, request, options) {
|
|
72506
|
-
return new APIPromise($
|
|
73781
|
+
return new APIPromise($do69(client, request, options));
|
|
72507
73782
|
}
|
|
72508
|
-
async function $
|
|
73783
|
+
async function $do69(client, request, options) {
|
|
72509
73784
|
const parsed = safeParse(request, (value) => CreateKnowledgeRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
72510
73785
|
if (!parsed.ok) {
|
|
72511
73786
|
return [parsed, { status: "invalid" }];
|
|
@@ -72600,9 +73875,9 @@ var init_knowledgeCreate2 = __esm(() => {
|
|
|
72600
73875
|
|
|
72601
73876
|
// src/funcs/knowledgeCreateChunks.ts
|
|
72602
73877
|
function knowledgeCreateChunks(client, request, options) {
|
|
72603
|
-
return new APIPromise($
|
|
73878
|
+
return new APIPromise($do70(client, request, options));
|
|
72604
73879
|
}
|
|
72605
|
-
async function $
|
|
73880
|
+
async function $do70(client, request, options) {
|
|
72606
73881
|
const parsed = safeParse(request, (value) => CreateChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72607
73882
|
if (!parsed.ok) {
|
|
72608
73883
|
return [parsed, { status: "invalid" }];
|
|
@@ -72661,7 +73936,7 @@ async function $do69(client, request, options) {
|
|
|
72661
73936
|
return [doResult, { status: "request-error", request: req }];
|
|
72662
73937
|
}
|
|
72663
73938
|
const response = doResult.value;
|
|
72664
|
-
const [result] = await match(json(200, arrayType(
|
|
73939
|
+
const [result] = await match(json(200, arrayType(CreateChunkResponseBody$inboundSchema)), fail("4XX"), fail([500, "5XX"]))(response, req);
|
|
72665
73940
|
if (!result.ok) {
|
|
72666
73941
|
return [result, { status: "complete", request: req, response }];
|
|
72667
73942
|
}
|
|
@@ -72708,9 +73983,9 @@ var init_knowledgeCreateChunks2 = __esm(() => {
|
|
|
72708
73983
|
|
|
72709
73984
|
// src/funcs/knowledgeCreateDatasource.ts
|
|
72710
73985
|
function knowledgeCreateDatasource(client, request, options) {
|
|
72711
|
-
return new APIPromise($
|
|
73986
|
+
return new APIPromise($do71(client, request, options));
|
|
72712
73987
|
}
|
|
72713
|
-
async function $
|
|
73988
|
+
async function $do71(client, request, options) {
|
|
72714
73989
|
const parsed = safeParse(request, (value) => CreateDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72715
73990
|
if (!parsed.ok) {
|
|
72716
73991
|
return [parsed, { status: "invalid" }];
|
|
@@ -72811,9 +74086,9 @@ var init_knowledgeCreateDatasource2 = __esm(() => {
|
|
|
72811
74086
|
|
|
72812
74087
|
// src/funcs/knowledgeDelete.ts
|
|
72813
74088
|
function knowledgeDelete(client, request, options) {
|
|
72814
|
-
return new APIPromise($
|
|
74089
|
+
return new APIPromise($do72(client, request, options));
|
|
72815
74090
|
}
|
|
72816
|
-
async function $
|
|
74091
|
+
async function $do72(client, request, options) {
|
|
72817
74092
|
const parsed = safeParse(request, (value) => DeleteKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72818
74093
|
if (!parsed.ok) {
|
|
72819
74094
|
return [parsed, { status: "invalid" }];
|
|
@@ -72915,9 +74190,9 @@ Deletes a knowledge base. Deleting a knowledge base will delete all the datasour
|
|
|
72915
74190
|
|
|
72916
74191
|
// src/funcs/knowledgeDeleteChunk.ts
|
|
72917
74192
|
function knowledgeDeleteChunk(client, request, options) {
|
|
72918
|
-
return new APIPromise($
|
|
74193
|
+
return new APIPromise($do73(client, request, options));
|
|
72919
74194
|
}
|
|
72920
|
-
async function $
|
|
74195
|
+
async function $do73(client, request, options) {
|
|
72921
74196
|
const parsed = safeParse(request, (value) => DeleteChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72922
74197
|
if (!parsed.ok) {
|
|
72923
74198
|
return [parsed, { status: "invalid" }];
|
|
@@ -73025,9 +74300,9 @@ var init_knowledgeDeleteChunk2 = __esm(() => {
|
|
|
73025
74300
|
|
|
73026
74301
|
// src/funcs/knowledgeDeleteDatasource.ts
|
|
73027
74302
|
function knowledgeDeleteDatasource(client, request, options) {
|
|
73028
|
-
return new APIPromise($
|
|
74303
|
+
return new APIPromise($do74(client, request, options));
|
|
73029
74304
|
}
|
|
73030
|
-
async function $
|
|
74305
|
+
async function $do74(client, request, options) {
|
|
73031
74306
|
const parsed = safeParse(request, (value) => DeleteDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73032
74307
|
if (!parsed.ok) {
|
|
73033
74308
|
return [parsed, { status: "invalid" }];
|
|
@@ -73133,9 +74408,9 @@ Deletes a datasource from a knowledge base. Deleting a datasource will remove it
|
|
|
73133
74408
|
|
|
73134
74409
|
// src/funcs/knowledgeList.ts
|
|
73135
74410
|
function knowledgeList(client, request, options) {
|
|
73136
|
-
return new APIPromise($
|
|
74411
|
+
return new APIPromise($do75(client, request, options));
|
|
73137
74412
|
}
|
|
73138
|
-
async function $
|
|
74413
|
+
async function $do75(client, request, options) {
|
|
73139
74414
|
const parsed = safeParse(request, (value) => ListKnowledgeBasesRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
73140
74415
|
if (!parsed.ok) {
|
|
73141
74416
|
return [parsed, { status: "invalid" }];
|
|
@@ -73237,9 +74512,9 @@ Returns a list of your knowledge bases. The knowledge bases are returned sorted
|
|
|
73237
74512
|
|
|
73238
74513
|
// src/funcs/knowledgeListChunks.ts
|
|
73239
74514
|
function knowledgeListChunks(client, request, options) {
|
|
73240
|
-
return new APIPromise($
|
|
74515
|
+
return new APIPromise($do76(client, request, options));
|
|
73241
74516
|
}
|
|
73242
|
-
async function $
|
|
74517
|
+
async function $do76(client, request, options) {
|
|
73243
74518
|
const parsed = safeParse(request, (value) => ListChunksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73244
74519
|
if (!parsed.ok) {
|
|
73245
74520
|
return [parsed, { status: "invalid" }];
|
|
@@ -73351,9 +74626,9 @@ var init_knowledgeListChunks2 = __esm(() => {
|
|
|
73351
74626
|
|
|
73352
74627
|
// src/funcs/knowledgeListDatasources.ts
|
|
73353
74628
|
function knowledgeListDatasources(client, request, options) {
|
|
73354
|
-
return new APIPromise($
|
|
74629
|
+
return new APIPromise($do77(client, request, options));
|
|
73355
74630
|
}
|
|
73356
|
-
async function $
|
|
74631
|
+
async function $do77(client, request, options) {
|
|
73357
74632
|
const parsed = safeParse(request, (value) => ListDatasourcesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73358
74633
|
if (!parsed.ok) {
|
|
73359
74634
|
return [parsed, { status: "invalid" }];
|
|
@@ -73461,9 +74736,9 @@ var init_knowledgeListDatasources2 = __esm(() => {
|
|
|
73461
74736
|
|
|
73462
74737
|
// src/funcs/knowledgeRetrieve.ts
|
|
73463
74738
|
function knowledgeRetrieve(client, request, options) {
|
|
73464
|
-
return new APIPromise($
|
|
74739
|
+
return new APIPromise($do78(client, request, options));
|
|
73465
74740
|
}
|
|
73466
|
-
async function $
|
|
74741
|
+
async function $do78(client, request, options) {
|
|
73467
74742
|
const parsed = safeParse(request, (value) => GetOneKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73468
74743
|
if (!parsed.ok) {
|
|
73469
74744
|
return [parsed, { status: "invalid" }];
|
|
@@ -73565,9 +74840,9 @@ Retrieve a knowledge base with the settings.`,
|
|
|
73565
74840
|
|
|
73566
74841
|
// src/funcs/knowledgeRetrieveChunk.ts
|
|
73567
74842
|
function knowledgeRetrieveChunk(client, request, options) {
|
|
73568
|
-
return new APIPromise($
|
|
74843
|
+
return new APIPromise($do79(client, request, options));
|
|
73569
74844
|
}
|
|
73570
|
-
async function $
|
|
74845
|
+
async function $do79(client, request, options) {
|
|
73571
74846
|
const parsed = safeParse(request, (value) => GetOneChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73572
74847
|
if (!parsed.ok) {
|
|
73573
74848
|
return [parsed, { status: "invalid" }];
|
|
@@ -73675,9 +74950,9 @@ var init_knowledgeRetrieveChunk2 = __esm(() => {
|
|
|
73675
74950
|
|
|
73676
74951
|
// src/funcs/knowledgeRetrieveDatasource.ts
|
|
73677
74952
|
function knowledgeRetrieveDatasource(client, request, options) {
|
|
73678
|
-
return new APIPromise($
|
|
74953
|
+
return new APIPromise($do80(client, request, options));
|
|
73679
74954
|
}
|
|
73680
|
-
async function $
|
|
74955
|
+
async function $do80(client, request, options) {
|
|
73681
74956
|
const parsed = safeParse(request, (value) => RetrieveDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73682
74957
|
if (!parsed.ok) {
|
|
73683
74958
|
return [parsed, { status: "invalid" }];
|
|
@@ -73781,9 +75056,9 @@ var init_knowledgeRetrieveDatasource2 = __esm(() => {
|
|
|
73781
75056
|
|
|
73782
75057
|
// src/funcs/knowledgeSearch.ts
|
|
73783
75058
|
function knowledgeSearch(client, request, options) {
|
|
73784
|
-
return new APIPromise($
|
|
75059
|
+
return new APIPromise($do81(client, request, options));
|
|
73785
75060
|
}
|
|
73786
|
-
async function $
|
|
75061
|
+
async function $do81(client, request, options) {
|
|
73787
75062
|
const parsed = safeParse(request, (value) => SearchKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73788
75063
|
if (!parsed.ok) {
|
|
73789
75064
|
return [parsed, { status: "invalid" }];
|
|
@@ -73886,9 +75161,9 @@ Search a Knowledge Base and return the most similar chunks, along with their sea
|
|
|
73886
75161
|
|
|
73887
75162
|
// src/funcs/knowledgeUpdate.ts
|
|
73888
75163
|
function knowledgeUpdate(client, request, options) {
|
|
73889
|
-
return new APIPromise($
|
|
75164
|
+
return new APIPromise($do82(client, request, options));
|
|
73890
75165
|
}
|
|
73891
|
-
async function $
|
|
75166
|
+
async function $do82(client, request, options) {
|
|
73892
75167
|
const parsed = safeParse(request, (value) => UpdateKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73893
75168
|
if (!parsed.ok) {
|
|
73894
75169
|
return [parsed, { status: "invalid" }];
|
|
@@ -73989,9 +75264,9 @@ var init_knowledgeUpdate2 = __esm(() => {
|
|
|
73989
75264
|
|
|
73990
75265
|
// src/funcs/knowledgeUpdateChunk.ts
|
|
73991
75266
|
function knowledgeUpdateChunk(client, request, options) {
|
|
73992
|
-
return new APIPromise($
|
|
75267
|
+
return new APIPromise($do83(client, request, options));
|
|
73993
75268
|
}
|
|
73994
|
-
async function $
|
|
75269
|
+
async function $do83(client, request, options) {
|
|
73995
75270
|
const parsed = safeParse(request, (value) => UpdateChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73996
75271
|
if (!parsed.ok) {
|
|
73997
75272
|
return [parsed, { status: "invalid" }];
|
|
@@ -74100,9 +75375,9 @@ var init_knowledgeUpdateChunk2 = __esm(() => {
|
|
|
74100
75375
|
|
|
74101
75376
|
// src/funcs/knowledgeUpdateDatasource.ts
|
|
74102
75377
|
function knowledgeUpdateDatasource(client, request, options) {
|
|
74103
|
-
return new APIPromise($
|
|
75378
|
+
return new APIPromise($do84(client, request, options));
|
|
74104
75379
|
}
|
|
74105
|
-
async function $
|
|
75380
|
+
async function $do84(client, request, options) {
|
|
74106
75381
|
const parsed = safeParse(request, (value) => UpdateDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74107
75382
|
if (!parsed.ok) {
|
|
74108
75383
|
return [parsed, { status: "invalid" }];
|
|
@@ -74207,9 +75482,9 @@ var init_knowledgeUpdateDatasource2 = __esm(() => {
|
|
|
74207
75482
|
|
|
74208
75483
|
// src/funcs/modelsList.ts
|
|
74209
75484
|
function modelsList(client, options) {
|
|
74210
|
-
return new APIPromise($
|
|
75485
|
+
return new APIPromise($do85(client, options));
|
|
74211
75486
|
}
|
|
74212
|
-
async function $
|
|
75487
|
+
async function $do85(client, options) {
|
|
74213
75488
|
const path = pathToFunc("/v2/models")();
|
|
74214
75489
|
const headers = new Headers(compactMap({
|
|
74215
75490
|
Accept: "application/json"
|
|
@@ -74289,11 +75564,112 @@ Lists the currently available models, and provides basic information about each
|
|
|
74289
75564
|
};
|
|
74290
75565
|
});
|
|
74291
75566
|
|
|
75567
|
+
// src/funcs/postV2ModelsLitellmImport.ts
|
|
75568
|
+
function postV2ModelsLitellmImport(client, request, options) {
|
|
75569
|
+
return new APIPromise($do86(client, request, options));
|
|
75570
|
+
}
|
|
75571
|
+
async function $do86(client, request, options) {
|
|
75572
|
+
const parsed = safeParse(request, (value) => arrayType(RequestBody$outboundSchema).optional().parse(value), "Input validation failed");
|
|
75573
|
+
if (!parsed.ok) {
|
|
75574
|
+
return [parsed, { status: "invalid" }];
|
|
75575
|
+
}
|
|
75576
|
+
const payload = parsed.value;
|
|
75577
|
+
const body = payload === undefined ? null : encodeJSON("body", payload, { explode: true });
|
|
75578
|
+
const path = pathToFunc("/v2/models/litellm/import")();
|
|
75579
|
+
const headers = new Headers(compactMap({
|
|
75580
|
+
"Content-Type": "application/json",
|
|
75581
|
+
Accept: "application/json"
|
|
75582
|
+
}));
|
|
75583
|
+
const secConfig = await extractSecurity(client._options.apiKey);
|
|
75584
|
+
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
75585
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
75586
|
+
const context = {
|
|
75587
|
+
options: client._options,
|
|
75588
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
75589
|
+
operationID: "post_/v2/models/litellm/import",
|
|
75590
|
+
oAuth2Scopes: [],
|
|
75591
|
+
resolvedSecurity: requestSecurity,
|
|
75592
|
+
securitySource: client._options.apiKey,
|
|
75593
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
75594
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
75595
|
+
};
|
|
75596
|
+
const requestRes = client._createRequest(context, {
|
|
75597
|
+
security: requestSecurity,
|
|
75598
|
+
method: "POST",
|
|
75599
|
+
baseURL: options?.serverURL,
|
|
75600
|
+
path,
|
|
75601
|
+
headers,
|
|
75602
|
+
body,
|
|
75603
|
+
userAgent: client._options.userAgent,
|
|
75604
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000
|
|
75605
|
+
}, options);
|
|
75606
|
+
if (!requestRes.ok) {
|
|
75607
|
+
return [requestRes, { status: "invalid" }];
|
|
75608
|
+
}
|
|
75609
|
+
const req = requestRes.value;
|
|
75610
|
+
const doResult = await client._do(req, {
|
|
75611
|
+
context,
|
|
75612
|
+
errorCodes: ["4XX", "5XX"],
|
|
75613
|
+
retryConfig: context.retryConfig,
|
|
75614
|
+
retryCodes: context.retryCodes
|
|
75615
|
+
});
|
|
75616
|
+
if (!doResult.ok) {
|
|
75617
|
+
return [doResult, { status: "request-error", request: req }];
|
|
75618
|
+
}
|
|
75619
|
+
const response = doResult.value;
|
|
75620
|
+
const [result] = await match(json(200, arrayType(PostV2ModelsLitellmImportResponseBody$inboundSchema)), fail("4XX"), fail("5XX"))(response, req);
|
|
75621
|
+
if (!result.ok) {
|
|
75622
|
+
return [result, { status: "complete", request: req, response }];
|
|
75623
|
+
}
|
|
75624
|
+
return [result, { status: "complete", request: req, response }];
|
|
75625
|
+
}
|
|
75626
|
+
var init_postV2ModelsLitellmImport = __esm(() => {
|
|
75627
|
+
init_esm();
|
|
75628
|
+
init_encodings();
|
|
75629
|
+
init_matchers();
|
|
75630
|
+
init_primitives();
|
|
75631
|
+
init_schemas();
|
|
75632
|
+
init_security();
|
|
75633
|
+
init_url();
|
|
75634
|
+
init_operations();
|
|
75635
|
+
init_async();
|
|
75636
|
+
});
|
|
75637
|
+
|
|
75638
|
+
// src/mcp-server/tools/postV2ModelsLitellmImport.ts
|
|
75639
|
+
var args84, tool$postV2ModelsLitellmImport;
|
|
75640
|
+
var init_postV2ModelsLitellmImport2 = __esm(() => {
|
|
75641
|
+
init_esm();
|
|
75642
|
+
init_postV2ModelsLitellmImport();
|
|
75643
|
+
init_operations();
|
|
75644
|
+
init_tools();
|
|
75645
|
+
args84 = {
|
|
75646
|
+
request: arrayType(RequestBody$inboundSchema).optional()
|
|
75647
|
+
};
|
|
75648
|
+
tool$postV2ModelsLitellmImport = {
|
|
75649
|
+
name: "post-v2-models-litellm-import",
|
|
75650
|
+
description: `Import models from LiteLLM
|
|
75651
|
+
|
|
75652
|
+
Imports selected models from LiteLLM instance into the model garden`,
|
|
75653
|
+
args: args84,
|
|
75654
|
+
tool: async (client, args85, ctx) => {
|
|
75655
|
+
const [result, apiCall] = await postV2ModelsLitellmImport(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75656
|
+
if (!result.ok) {
|
|
75657
|
+
return {
|
|
75658
|
+
content: [{ type: "text", text: result.error.message }],
|
|
75659
|
+
isError: true
|
|
75660
|
+
};
|
|
75661
|
+
}
|
|
75662
|
+
const value = result.value;
|
|
75663
|
+
return formatResult(value, apiCall);
|
|
75664
|
+
}
|
|
75665
|
+
};
|
|
75666
|
+
});
|
|
75667
|
+
|
|
74292
75668
|
// src/funcs/promptsCreate.ts
|
|
74293
75669
|
function promptsCreate(client, request, options) {
|
|
74294
|
-
return new APIPromise($
|
|
75670
|
+
return new APIPromise($do87(client, request, options));
|
|
74295
75671
|
}
|
|
74296
|
-
async function $
|
|
75672
|
+
async function $do87(client, request, options) {
|
|
74297
75673
|
const parsed = safeParse(request, (value) => CreatePromptRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
74298
75674
|
if (!parsed.ok) {
|
|
74299
75675
|
return [parsed, { status: "invalid" }];
|
|
@@ -74360,20 +75736,20 @@ var init_promptsCreate = __esm(() => {
|
|
|
74360
75736
|
});
|
|
74361
75737
|
|
|
74362
75738
|
// src/mcp-server/tools/promptsCreate.ts
|
|
74363
|
-
var
|
|
75739
|
+
var args85, tool$promptsCreate;
|
|
74364
75740
|
var init_promptsCreate2 = __esm(() => {
|
|
74365
75741
|
init_promptsCreate();
|
|
74366
75742
|
init_operations();
|
|
74367
75743
|
init_tools();
|
|
74368
|
-
|
|
75744
|
+
args85 = {
|
|
74369
75745
|
request: CreatePromptRequestBody$inboundSchema.optional()
|
|
74370
75746
|
};
|
|
74371
75747
|
tool$promptsCreate = {
|
|
74372
75748
|
name: "prompts-create",
|
|
74373
75749
|
description: `Create a prompt`,
|
|
74374
|
-
args:
|
|
74375
|
-
tool: async (client,
|
|
74376
|
-
const [result, apiCall] = await promptsCreate(client,
|
|
75750
|
+
args: args85,
|
|
75751
|
+
tool: async (client, args86, ctx) => {
|
|
75752
|
+
const [result, apiCall] = await promptsCreate(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74377
75753
|
if (!result.ok) {
|
|
74378
75754
|
return {
|
|
74379
75755
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74388,9 +75764,9 @@ var init_promptsCreate2 = __esm(() => {
|
|
|
74388
75764
|
|
|
74389
75765
|
// src/funcs/promptsDelete.ts
|
|
74390
75766
|
function promptsDelete(client, request, options) {
|
|
74391
|
-
return new APIPromise($
|
|
75767
|
+
return new APIPromise($do88(client, request, options));
|
|
74392
75768
|
}
|
|
74393
|
-
async function $
|
|
75769
|
+
async function $do88(client, request, options) {
|
|
74394
75770
|
const parsed = safeParse(request, (value) => DeletePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74395
75771
|
if (!parsed.ok) {
|
|
74396
75772
|
return [parsed, { status: "invalid" }];
|
|
@@ -74463,20 +75839,20 @@ var init_promptsDelete = __esm(() => {
|
|
|
74463
75839
|
});
|
|
74464
75840
|
|
|
74465
75841
|
// src/mcp-server/tools/promptsDelete.ts
|
|
74466
|
-
var
|
|
75842
|
+
var args86, tool$promptsDelete;
|
|
74467
75843
|
var init_promptsDelete2 = __esm(() => {
|
|
74468
75844
|
init_promptsDelete();
|
|
74469
75845
|
init_operations();
|
|
74470
75846
|
init_tools();
|
|
74471
|
-
|
|
75847
|
+
args86 = {
|
|
74472
75848
|
request: DeletePromptRequest$inboundSchema
|
|
74473
75849
|
};
|
|
74474
75850
|
tool$promptsDelete = {
|
|
74475
75851
|
name: "prompts-delete",
|
|
74476
75852
|
description: `Delete a prompt`,
|
|
74477
|
-
args:
|
|
74478
|
-
tool: async (client,
|
|
74479
|
-
const [result, apiCall] = await promptsDelete(client,
|
|
75853
|
+
args: args86,
|
|
75854
|
+
tool: async (client, args87, ctx) => {
|
|
75855
|
+
const [result, apiCall] = await promptsDelete(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74480
75856
|
if (!result.ok) {
|
|
74481
75857
|
return {
|
|
74482
75858
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74490,9 +75866,9 @@ var init_promptsDelete2 = __esm(() => {
|
|
|
74490
75866
|
|
|
74491
75867
|
// src/funcs/promptsGetVersion.ts
|
|
74492
75868
|
function promptsGetVersion(client, request, options) {
|
|
74493
|
-
return new APIPromise($
|
|
75869
|
+
return new APIPromise($do89(client, request, options));
|
|
74494
75870
|
}
|
|
74495
|
-
async function $
|
|
75871
|
+
async function $do89(client, request, options) {
|
|
74496
75872
|
const parsed = safeParse(request, (value) => GetPromptVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74497
75873
|
if (!parsed.ok) {
|
|
74498
75874
|
return [parsed, { status: "invalid" }];
|
|
@@ -74572,12 +75948,12 @@ var init_promptsGetVersion = __esm(() => {
|
|
|
74572
75948
|
});
|
|
74573
75949
|
|
|
74574
75950
|
// src/mcp-server/tools/promptsGetVersion.ts
|
|
74575
|
-
var
|
|
75951
|
+
var args87, tool$promptsGetVersion;
|
|
74576
75952
|
var init_promptsGetVersion2 = __esm(() => {
|
|
74577
75953
|
init_promptsGetVersion();
|
|
74578
75954
|
init_operations();
|
|
74579
75955
|
init_tools();
|
|
74580
|
-
|
|
75956
|
+
args87 = {
|
|
74581
75957
|
request: GetPromptVersionRequest$inboundSchema
|
|
74582
75958
|
};
|
|
74583
75959
|
tool$promptsGetVersion = {
|
|
@@ -74585,9 +75961,9 @@ var init_promptsGetVersion2 = __esm(() => {
|
|
|
74585
75961
|
description: `Retrieve a prompt version
|
|
74586
75962
|
|
|
74587
75963
|
Retrieves a specific version of a prompt by its ID and version ID.`,
|
|
74588
|
-
args:
|
|
74589
|
-
tool: async (client,
|
|
74590
|
-
const [result, apiCall] = await promptsGetVersion(client,
|
|
75964
|
+
args: args87,
|
|
75965
|
+
tool: async (client, args88, ctx) => {
|
|
75966
|
+
const [result, apiCall] = await promptsGetVersion(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74591
75967
|
if (!result.ok) {
|
|
74592
75968
|
return {
|
|
74593
75969
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74602,9 +75978,9 @@ Retrieves a specific version of a prompt by its ID and version ID.`,
|
|
|
74602
75978
|
|
|
74603
75979
|
// src/funcs/promptsList.ts
|
|
74604
75980
|
function promptsList(client, request, options) {
|
|
74605
|
-
return new APIPromise($
|
|
75981
|
+
return new APIPromise($do90(client, request, options));
|
|
74606
75982
|
}
|
|
74607
|
-
async function $
|
|
75983
|
+
async function $do90(client, request, options) {
|
|
74608
75984
|
const parsed = safeParse(request, (value) => GetAllPromptsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
74609
75985
|
if (!parsed.ok) {
|
|
74610
75986
|
return [parsed, { status: "invalid" }];
|
|
@@ -74676,12 +76052,12 @@ var init_promptsList = __esm(() => {
|
|
|
74676
76052
|
});
|
|
74677
76053
|
|
|
74678
76054
|
// src/mcp-server/tools/promptsList.ts
|
|
74679
|
-
var
|
|
76055
|
+
var args88, tool$promptsList;
|
|
74680
76056
|
var init_promptsList2 = __esm(() => {
|
|
74681
76057
|
init_promptsList();
|
|
74682
76058
|
init_operations();
|
|
74683
76059
|
init_tools();
|
|
74684
|
-
|
|
76060
|
+
args88 = {
|
|
74685
76061
|
request: GetAllPromptsRequest$inboundSchema.optional()
|
|
74686
76062
|
};
|
|
74687
76063
|
tool$promptsList = {
|
|
@@ -74689,9 +76065,9 @@ var init_promptsList2 = __esm(() => {
|
|
|
74689
76065
|
description: `List all prompts
|
|
74690
76066
|
|
|
74691
76067
|
Returns a list of your prompts. The prompts are returned sorted by creation date, with the most recent prompts appearing first`,
|
|
74692
|
-
args:
|
|
74693
|
-
tool: async (client,
|
|
74694
|
-
const [result, apiCall] = await promptsList(client,
|
|
76068
|
+
args: args88,
|
|
76069
|
+
tool: async (client, args89, ctx) => {
|
|
76070
|
+
const [result, apiCall] = await promptsList(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74695
76071
|
if (!result.ok) {
|
|
74696
76072
|
return {
|
|
74697
76073
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74706,9 +76082,9 @@ Returns a list of your prompts. The prompts are returned sorted by creation date
|
|
|
74706
76082
|
|
|
74707
76083
|
// src/funcs/promptsListVersions.ts
|
|
74708
76084
|
function promptsListVersions(client, request, options) {
|
|
74709
|
-
return new APIPromise($
|
|
76085
|
+
return new APIPromise($do91(client, request, options));
|
|
74710
76086
|
}
|
|
74711
|
-
async function $
|
|
76087
|
+
async function $do91(client, request, options) {
|
|
74712
76088
|
const parsed = safeParse(request, (value) => ListPromptVersionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74713
76089
|
if (!parsed.ok) {
|
|
74714
76090
|
return [parsed, { status: "invalid" }];
|
|
@@ -74786,12 +76162,12 @@ var init_promptsListVersions = __esm(() => {
|
|
|
74786
76162
|
});
|
|
74787
76163
|
|
|
74788
76164
|
// src/mcp-server/tools/promptsListVersions.ts
|
|
74789
|
-
var
|
|
76165
|
+
var args89, tool$promptsListVersions;
|
|
74790
76166
|
var init_promptsListVersions2 = __esm(() => {
|
|
74791
76167
|
init_promptsListVersions();
|
|
74792
76168
|
init_operations();
|
|
74793
76169
|
init_tools();
|
|
74794
|
-
|
|
76170
|
+
args89 = {
|
|
74795
76171
|
request: ListPromptVersionsRequest$inboundSchema
|
|
74796
76172
|
};
|
|
74797
76173
|
tool$promptsListVersions = {
|
|
@@ -74799,9 +76175,9 @@ var init_promptsListVersions2 = __esm(() => {
|
|
|
74799
76175
|
description: `List all prompt versions
|
|
74800
76176
|
|
|
74801
76177
|
Returns a list of your prompt versions. The prompt versions are returned sorted by creation date, with the most recent prompt versions appearing first`,
|
|
74802
|
-
args:
|
|
74803
|
-
tool: async (client,
|
|
74804
|
-
const [result, apiCall] = await promptsListVersions(client,
|
|
76178
|
+
args: args89,
|
|
76179
|
+
tool: async (client, args90, ctx) => {
|
|
76180
|
+
const [result, apiCall] = await promptsListVersions(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74805
76181
|
if (!result.ok) {
|
|
74806
76182
|
return {
|
|
74807
76183
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74816,9 +76192,9 @@ Returns a list of your prompt versions. The prompt versions are returned sorted
|
|
|
74816
76192
|
|
|
74817
76193
|
// src/funcs/promptsRetrieve.ts
|
|
74818
76194
|
function promptsRetrieve(client, request, options) {
|
|
74819
|
-
return new APIPromise($
|
|
76195
|
+
return new APIPromise($do92(client, request, options));
|
|
74820
76196
|
}
|
|
74821
|
-
async function $
|
|
76197
|
+
async function $do92(client, request, options) {
|
|
74822
76198
|
const parsed = safeParse(request, (value) => GetOnePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74823
76199
|
if (!parsed.ok) {
|
|
74824
76200
|
return [parsed, { status: "invalid" }];
|
|
@@ -74890,12 +76266,12 @@ var init_promptsRetrieve = __esm(() => {
|
|
|
74890
76266
|
});
|
|
74891
76267
|
|
|
74892
76268
|
// src/mcp-server/tools/promptsRetrieve.ts
|
|
74893
|
-
var
|
|
76269
|
+
var args90, tool$promptsRetrieve;
|
|
74894
76270
|
var init_promptsRetrieve2 = __esm(() => {
|
|
74895
76271
|
init_promptsRetrieve();
|
|
74896
76272
|
init_operations();
|
|
74897
76273
|
init_tools();
|
|
74898
|
-
|
|
76274
|
+
args90 = {
|
|
74899
76275
|
request: GetOnePromptRequest$inboundSchema
|
|
74900
76276
|
};
|
|
74901
76277
|
tool$promptsRetrieve = {
|
|
@@ -74903,9 +76279,9 @@ var init_promptsRetrieve2 = __esm(() => {
|
|
|
74903
76279
|
description: `Retrieve a prompt
|
|
74904
76280
|
|
|
74905
76281
|
Retrieves a prompt object`,
|
|
74906
|
-
args:
|
|
74907
|
-
tool: async (client,
|
|
74908
|
-
const [result, apiCall] = await promptsRetrieve(client,
|
|
76282
|
+
args: args90,
|
|
76283
|
+
tool: async (client, args91, ctx) => {
|
|
76284
|
+
const [result, apiCall] = await promptsRetrieve(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74909
76285
|
if (!result.ok) {
|
|
74910
76286
|
return {
|
|
74911
76287
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74920,9 +76296,9 @@ Retrieves a prompt object`,
|
|
|
74920
76296
|
|
|
74921
76297
|
// src/funcs/promptsUpdate.ts
|
|
74922
76298
|
function promptsUpdate(client, request, options) {
|
|
74923
|
-
return new APIPromise($
|
|
76299
|
+
return new APIPromise($do93(client, request, options));
|
|
74924
76300
|
}
|
|
74925
|
-
async function $
|
|
76301
|
+
async function $do93(client, request, options) {
|
|
74926
76302
|
const parsed = safeParse(request, (value) => UpdatePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74927
76303
|
if (!parsed.ok) {
|
|
74928
76304
|
return [parsed, { status: "invalid" }];
|
|
@@ -74999,20 +76375,20 @@ var init_promptsUpdate = __esm(() => {
|
|
|
74999
76375
|
});
|
|
75000
76376
|
|
|
75001
76377
|
// src/mcp-server/tools/promptsUpdate.ts
|
|
75002
|
-
var
|
|
76378
|
+
var args91, tool$promptsUpdate;
|
|
75003
76379
|
var init_promptsUpdate2 = __esm(() => {
|
|
75004
76380
|
init_promptsUpdate();
|
|
75005
76381
|
init_operations();
|
|
75006
76382
|
init_tools();
|
|
75007
|
-
|
|
76383
|
+
args91 = {
|
|
75008
76384
|
request: UpdatePromptRequest$inboundSchema
|
|
75009
76385
|
};
|
|
75010
76386
|
tool$promptsUpdate = {
|
|
75011
76387
|
name: "prompts-update",
|
|
75012
76388
|
description: `Update a prompt`,
|
|
75013
|
-
args:
|
|
75014
|
-
tool: async (client,
|
|
75015
|
-
const [result, apiCall] = await promptsUpdate(client,
|
|
76389
|
+
args: args91,
|
|
76390
|
+
tool: async (client, args92, ctx) => {
|
|
76391
|
+
const [result, apiCall] = await promptsUpdate(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75016
76392
|
if (!result.ok) {
|
|
75017
76393
|
return {
|
|
75018
76394
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75027,9 +76403,9 @@ var init_promptsUpdate2 = __esm(() => {
|
|
|
75027
76403
|
|
|
75028
76404
|
// src/funcs/remoteconfigsRetrieve.ts
|
|
75029
76405
|
function remoteconfigsRetrieve(client, request, options) {
|
|
75030
|
-
return new APIPromise($
|
|
76406
|
+
return new APIPromise($do94(client, request, options));
|
|
75031
76407
|
}
|
|
75032
|
-
async function $
|
|
76408
|
+
async function $do94(client, request, options) {
|
|
75033
76409
|
const parsed = safeParse(request, (value) => RemoteConfigsGetConfigRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
75034
76410
|
if (!parsed.ok) {
|
|
75035
76411
|
return [parsed, { status: "invalid" }];
|
|
@@ -75096,20 +76472,20 @@ var init_remoteconfigsRetrieve = __esm(() => {
|
|
|
75096
76472
|
});
|
|
75097
76473
|
|
|
75098
76474
|
// src/mcp-server/tools/remoteconfigsRetrieve.ts
|
|
75099
|
-
var
|
|
76475
|
+
var args92, tool$remoteconfigsRetrieve;
|
|
75100
76476
|
var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
75101
76477
|
init_remoteconfigsRetrieve();
|
|
75102
76478
|
init_operations();
|
|
75103
76479
|
init_tools();
|
|
75104
|
-
|
|
76480
|
+
args92 = {
|
|
75105
76481
|
request: RemoteConfigsGetConfigRequestBody$inboundSchema.optional()
|
|
75106
76482
|
};
|
|
75107
76483
|
tool$remoteconfigsRetrieve = {
|
|
75108
76484
|
name: "remoteconfigs-retrieve",
|
|
75109
76485
|
description: `Retrieve a remote config`,
|
|
75110
|
-
args:
|
|
75111
|
-
tool: async (client,
|
|
75112
|
-
const [result, apiCall] = await remoteconfigsRetrieve(client,
|
|
76486
|
+
args: args92,
|
|
76487
|
+
tool: async (client, args93, ctx) => {
|
|
76488
|
+
const [result, apiCall] = await remoteconfigsRetrieve(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75113
76489
|
if (!result.ok) {
|
|
75114
76490
|
return {
|
|
75115
76491
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75126,7 +76502,7 @@ var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
|
75126
76502
|
function createMCPServer(deps) {
|
|
75127
76503
|
const server = new McpServer({
|
|
75128
76504
|
name: "Orq",
|
|
75129
|
-
version: "3.8.0-rc.
|
|
76505
|
+
version: "3.8.0-rc.8"
|
|
75130
76506
|
});
|
|
75131
76507
|
const client = new OrqCore({
|
|
75132
76508
|
apiKey: deps.apiKey,
|
|
@@ -75142,6 +76518,8 @@ function createMCPServer(deps) {
|
|
|
75142
76518
|
const resourceTemplate = createRegisterResourceTemplate(deps.logger, server, client, scopes);
|
|
75143
76519
|
const prompt = createRegisterPrompt(deps.logger, server, client, scopes);
|
|
75144
76520
|
const register = { tool, resource, resourceTemplate, prompt };
|
|
76521
|
+
tool(tool$getV2ModelsLitellmModels);
|
|
76522
|
+
tool(tool$postV2ModelsLitellmImport);
|
|
75145
76523
|
tool(tool$contactsCreate);
|
|
75146
76524
|
tool(tool$contactsList);
|
|
75147
76525
|
tool(tool$contactsRetrieve);
|
|
@@ -75308,6 +76686,7 @@ var init_server2 = __esm(() => {
|
|
|
75308
76686
|
init_filesDelete2();
|
|
75309
76687
|
init_filesGet2();
|
|
75310
76688
|
init_filesList2();
|
|
76689
|
+
init_getV2ModelsLitellmModels2();
|
|
75311
76690
|
init_knowledgeCreate2();
|
|
75312
76691
|
init_knowledgeCreateChunks2();
|
|
75313
76692
|
init_knowledgeCreateDatasource2();
|
|
@@ -75325,6 +76704,7 @@ var init_server2 = __esm(() => {
|
|
|
75325
76704
|
init_knowledgeUpdateChunk2();
|
|
75326
76705
|
init_knowledgeUpdateDatasource2();
|
|
75327
76706
|
init_modelsList2();
|
|
76707
|
+
init_postV2ModelsLitellmImport2();
|
|
75328
76708
|
init_promptsCreate2();
|
|
75329
76709
|
init_promptsDelete2();
|
|
75330
76710
|
init_promptsGetVersion2();
|
|
@@ -76546,7 +77926,7 @@ var routes = rn({
|
|
|
76546
77926
|
var app = Ve(routes, {
|
|
76547
77927
|
name: "mcp",
|
|
76548
77928
|
versionInfo: {
|
|
76549
|
-
currentVersion: "3.8.0-rc.
|
|
77929
|
+
currentVersion: "3.8.0-rc.8"
|
|
76550
77930
|
}
|
|
76551
77931
|
});
|
|
76552
77932
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -76554,5 +77934,5 @@ export {
|
|
|
76554
77934
|
app
|
|
76555
77935
|
};
|
|
76556
77936
|
|
|
76557
|
-
//# debugId=
|
|
77937
|
+
//# debugId=09E8B8B058DF0A1D64756E2164756E21
|
|
76558
77938
|
//# sourceMappingURL=mcp-server.js.map
|