@orq-ai/node 3.8.0-rc.32 → 3.8.0-rc.34
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 +19 -3
- package/README.md +165 -91
- package/bin/mcp-server.js +218 -1588
- package/bin/mcp-server.js.map +32 -38
- package/docs/sdks/knowledge/README.md +1 -1
- package/docs/sdks/orq/README.md +0 -138
- 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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +1 -5
- package/mcp-server/server.js.map +1 -1
- package/models/operations/createchunk.d.ts +28 -28
- package/models/operations/createchunk.d.ts.map +1 -1
- package/models/operations/createchunk.js +33 -35
- 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/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/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +0 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -2
- 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/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/package.json +1 -1
- package/sdk/knowledge.d.ts +1 -1
- package/sdk/knowledge.d.ts.map +1 -1
- package/sdk/sdk.d.ts +1 -16
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -21
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/knowledgeCreateChunks.ts +4 -4
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -5
- package/src/models/operations/createchunk.ts +44 -54
- 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/deploymentgetconfig.ts +24 -30
- 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/getevals.ts +28 -28
- package/src/models/operations/index.ts +0 -2
- 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/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/sdk/knowledge.ts +1 -1
- package/src/sdk/sdk.ts +1 -37
- package/funcs/getV2ModelsLitellmModels.d.ts +0 -17
- package/funcs/getV2ModelsLitellmModels.d.ts.map +0 -1
- package/funcs/getV2ModelsLitellmModels.js +0 -105
- package/funcs/getV2ModelsLitellmModels.js.map +0 -1
- package/funcs/postV2ModelsLitellmImport.d.ts +0 -17
- package/funcs/postV2ModelsLitellmImport.d.ts.map +0 -1
- package/funcs/postV2ModelsLitellmImport.js +0 -117
- package/funcs/postV2ModelsLitellmImport.js.map +0 -1
- package/mcp-server/tools/getV2ModelsLitellmModels.d.ts +0 -3
- package/mcp-server/tools/getV2ModelsLitellmModels.d.ts.map +0 -1
- package/mcp-server/tools/getV2ModelsLitellmModels.js +0 -26
- package/mcp-server/tools/getV2ModelsLitellmModels.js.map +0 -1
- package/mcp-server/tools/postV2ModelsLitellmImport.d.ts +0 -9
- package/mcp-server/tools/postV2ModelsLitellmImport.d.ts.map +0 -1
- package/mcp-server/tools/postV2ModelsLitellmImport.js +0 -65
- package/mcp-server/tools/postV2ModelsLitellmImport.js.map +0 -1
- package/models/operations/getv2modelslitellmmodels.d.ts +0 -185
- package/models/operations/getv2modelslitellmmodels.d.ts.map +0 -1
- package/models/operations/getv2modelslitellmmodels.js +0 -349
- package/models/operations/getv2modelslitellmmodels.js.map +0 -1
- package/models/operations/postv2modelslitellmimport.d.ts +0 -1333
- package/models/operations/postv2modelslitellmimport.d.ts.map +0 -1
- package/models/operations/postv2modelslitellmimport.js +0 -1400
- package/models/operations/postv2modelslitellmimport.js.map +0 -1
- package/src/funcs/getV2ModelsLitellmModels.ts +0 -143
- package/src/funcs/postV2ModelsLitellmImport.ts +0 -167
- package/src/mcp-server/tools/getV2ModelsLitellmModels.ts +0 -30
- package/src/mcp-server/tools/postV2ModelsLitellmImport.ts +0 -38
- package/src/models/operations/getv2modelslitellmmodels.ts +0 -530
- package/src/models/operations/postv2modelslitellmimport.ts +0 -2408
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.
|
|
34275
|
+
sdkVersion: "3.8.0-rc.34",
|
|
34276
34276
|
genVersion: "2.630.8",
|
|
34277
|
-
userAgent: "speakeasy-sdk/typescript 3.8.0-rc.
|
|
34277
|
+
userAgent: "speakeasy-sdk/typescript 3.8.0-rc.34 2.630.8 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$, RequestBody$inboundSchema, RequestBody$outboundSchema, RequestBody$, CreateChunkRequest$inboundSchema, CreateChunkRequest$outboundSchema, CreateChunkRequest$, CreateChunkKnowledgeMetadata$inboundSchema, CreateChunkKnowledgeMetadata$outboundSchema, CreateChunkKnowledgeMetadata$, CreateChunkStatus$inboundSchema, CreateChunkStatus$outboundSchema, CreateChunkStatus$, ResponseBody$inboundSchema, ResponseBody$outboundSchema, ResponseBody$;
|
|
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
|
+
RequestBody$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
|
+
RequestBody$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
|
+
((RequestBody$) => {
|
|
36021
|
+
RequestBody$.inboundSchema = RequestBody$inboundSchema;
|
|
36022
|
+
RequestBody$.outboundSchema = RequestBody$outboundSchema;
|
|
36023
|
+
})(RequestBody$ ||= {});
|
|
36024
36024
|
CreateChunkRequest$inboundSchema = objectType({
|
|
36025
36025
|
knowledge_id: stringType(),
|
|
36026
36026
|
datasource_id: stringType(),
|
|
36027
|
-
RequestBody: arrayType(lazyType(() =>
|
|
36027
|
+
RequestBody: arrayType(lazyType(() => RequestBody$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(() => RequestBody$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
|
+
ResponseBody$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
|
+
ResponseBody$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
|
+
((ResponseBody$) => {
|
|
36097
|
+
ResponseBody$.inboundSchema = ResponseBody$inboundSchema;
|
|
36098
|
+
ResponseBody$.outboundSchema = ResponseBody$outboundSchema;
|
|
36099
|
+
})(ResponseBody$ ||= {});
|
|
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-18T09:16:52.189Z").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-18T09:16:52.189Z")).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-18T09:16:52.189Z").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-18T09:16:52.189Z")).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-18T09:16:52.189Z").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-18T09:16:52.189Z")).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("01JY157KFD20KWEZ6ZJ8EGYCVP"),
|
|
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("01JY157KFD20KWEZ6ZJ8EGYCVP"),
|
|
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-18T09:16:54.289Z"),
|
|
38524
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
38525
38525
|
guardrail_config: unionType([
|
|
38526
38526
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
38527
38527
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$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-18T09:16:54.289Z"),
|
|
38542
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
38543
38543
|
guardrailConfig: unionType([
|
|
38544
38544
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
38545
38545
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$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-18T09:16:54.289Z"),
|
|
38636
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
38637
38637
|
guardrail_config: unionType([
|
|
38638
38638
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
38639
38639
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$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-18T09:16:54.289Z"),
|
|
38657
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
38658
38658
|
guardrailConfig: unionType([
|
|
38659
38659
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
38660
38660
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$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-18T09:16:54.289Z"),
|
|
38748
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
38749
38749
|
guardrail_config: unionType([
|
|
38750
38750
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
38751
38751
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$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-18T09:16:54.289Z"),
|
|
38766
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
38767
38767
|
guardrailConfig: unionType([
|
|
38768
38768
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
38769
38769
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponse200Boolean$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-18T09:16:54.289Z"),
|
|
38854
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
38855
38855
|
guardrail_config: unionType([
|
|
38856
38856
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
38857
38857
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseBoolean$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-18T09:16:54.289Z"),
|
|
38873
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
38874
38874
|
guardrailConfig: unionType([
|
|
38875
38875
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
38876
38876
|
lazyType(() => CreateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema)
|
|
@@ -41758,7 +41758,7 @@ var init_deploymentcreatemetric = __esm(() => {
|
|
|
41758
41758
|
});
|
|
41759
41759
|
|
|
41760
41760
|
// src/models/operations/deploymentgetconfig.ts
|
|
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$;
|
|
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$, 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$;
|
|
41762
41762
|
var init_deploymentgetconfig = __esm(() => {
|
|
41763
41763
|
init_esm();
|
|
41764
41764
|
init_primitives();
|
|
@@ -43861,7 +43861,7 @@ var init_deploymentgetconfig = __esm(() => {
|
|
|
43861
43861
|
DeploymentGetConfigReasoningEffort$.inboundSchema = DeploymentGetConfigReasoningEffort$inboundSchema;
|
|
43862
43862
|
DeploymentGetConfigReasoningEffort$.outboundSchema = DeploymentGetConfigReasoningEffort$outboundSchema;
|
|
43863
43863
|
})(DeploymentGetConfigReasoningEffort$ ||= {});
|
|
43864
|
-
|
|
43864
|
+
ParametersT$inboundSchema = objectType({
|
|
43865
43865
|
temperature: numberType().optional(),
|
|
43866
43866
|
maxTokens: numberType().optional(),
|
|
43867
43867
|
topK: numberType().optional(),
|
|
@@ -43887,7 +43887,7 @@ var init_deploymentgetconfig = __esm(() => {
|
|
|
43887
43887
|
encoding_format: "encodingFormat"
|
|
43888
43888
|
});
|
|
43889
43889
|
});
|
|
43890
|
-
|
|
43890
|
+
ParametersT$outboundSchema = objectType({
|
|
43891
43891
|
temperature: numberType().optional(),
|
|
43892
43892
|
maxTokens: numberType().optional(),
|
|
43893
43893
|
topK: numberType().optional(),
|
|
@@ -43913,10 +43913,10 @@ var init_deploymentgetconfig = __esm(() => {
|
|
|
43913
43913
|
encodingFormat: "encoding_format"
|
|
43914
43914
|
});
|
|
43915
43915
|
});
|
|
43916
|
-
((
|
|
43917
|
-
|
|
43918
|
-
|
|
43919
|
-
})(
|
|
43916
|
+
((ParametersT$) => {
|
|
43917
|
+
ParametersT$.inboundSchema = ParametersT$inboundSchema;
|
|
43918
|
+
ParametersT$.outboundSchema = ParametersT$outboundSchema;
|
|
43919
|
+
})(ParametersT$ ||= {});
|
|
43920
43920
|
DeploymentGetConfigDeploymentsType$inboundSchema = nativeEnumType(DeploymentGetConfigDeploymentsType);
|
|
43921
43921
|
DeploymentGetConfigDeploymentsType$outboundSchema = DeploymentGetConfigDeploymentsType$inboundSchema;
|
|
43922
43922
|
((DeploymentGetConfigDeploymentsType$) => {
|
|
@@ -43956,7 +43956,7 @@ var init_deploymentgetconfig = __esm(() => {
|
|
|
43956
43956
|
type: DeploymentGetConfigType$inboundSchema.optional(),
|
|
43957
43957
|
version: stringType(),
|
|
43958
43958
|
messages: arrayType(lazyType(() => DeploymentGetConfigMessages$inboundSchema)),
|
|
43959
|
-
parameters: lazyType(() =>
|
|
43959
|
+
parameters: lazyType(() => ParametersT$inboundSchema),
|
|
43960
43960
|
tools: arrayType(lazyType(() => Tools$inboundSchema)).optional()
|
|
43961
43961
|
});
|
|
43962
43962
|
DeploymentGetConfigResponseBody$outboundSchema = objectType({
|
|
@@ -43966,7 +43966,7 @@ var init_deploymentgetconfig = __esm(() => {
|
|
|
43966
43966
|
type: DeploymentGetConfigType$outboundSchema.optional(),
|
|
43967
43967
|
version: stringType(),
|
|
43968
43968
|
messages: arrayType(lazyType(() => DeploymentGetConfigMessages$outboundSchema)),
|
|
43969
|
-
parameters: lazyType(() =>
|
|
43969
|
+
parameters: lazyType(() => ParametersT$outboundSchema),
|
|
43970
43970
|
tools: arrayType(lazyType(() => Tools$outboundSchema)).optional()
|
|
43971
43971
|
});
|
|
43972
43972
|
((DeploymentGetConfigResponseBody$) => {
|
|
@@ -48566,7 +48566,7 @@ var init_fileget = __esm(() => {
|
|
|
48566
48566
|
bytes: numberType(),
|
|
48567
48567
|
file_name: stringType(),
|
|
48568
48568
|
workspace_id: stringType(),
|
|
48569
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48569
|
+
created: stringType().datetime({ offset: true }).default("2025-06-18T09:16:55.261Z").transform((v2) => new Date(v2))
|
|
48570
48570
|
}).transform((v2) => {
|
|
48571
48571
|
return remap(v2, {
|
|
48572
48572
|
_id: "id",
|
|
@@ -48582,7 +48582,7 @@ var init_fileget = __esm(() => {
|
|
|
48582
48582
|
bytes: numberType(),
|
|
48583
48583
|
fileName: stringType(),
|
|
48584
48584
|
workspaceId: stringType(),
|
|
48585
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48585
|
+
created: dateType().default(() => new Date("2025-06-18T09:16:55.261Z")).transform((v2) => v2.toISOString())
|
|
48586
48586
|
}).transform((v2) => {
|
|
48587
48587
|
return remap(v2, {
|
|
48588
48588
|
id: "_id",
|
|
@@ -48653,7 +48653,7 @@ var init_filelist = __esm(() => {
|
|
|
48653
48653
|
bytes: numberType(),
|
|
48654
48654
|
file_name: stringType(),
|
|
48655
48655
|
workspace_id: stringType(),
|
|
48656
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48656
|
+
created: stringType().datetime({ offset: true }).default("2025-06-18T09:16:55.261Z").transform((v2) => new Date(v2))
|
|
48657
48657
|
}).transform((v2) => {
|
|
48658
48658
|
return remap(v2, {
|
|
48659
48659
|
_id: "id",
|
|
@@ -48669,7 +48669,7 @@ var init_filelist = __esm(() => {
|
|
|
48669
48669
|
bytes: numberType(),
|
|
48670
48670
|
fileName: stringType(),
|
|
48671
48671
|
workspaceId: stringType(),
|
|
48672
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48672
|
+
created: dateType().default(() => new Date("2025-06-18T09:16:55.261Z")).transform((v2) => v2.toISOString())
|
|
48673
48673
|
}).transform((v2) => {
|
|
48674
48674
|
return remap(v2, {
|
|
48675
48675
|
id: "_id",
|
|
@@ -48801,7 +48801,7 @@ var init_fileupload = __esm(() => {
|
|
|
48801
48801
|
bytes: numberType(),
|
|
48802
48802
|
file_name: stringType(),
|
|
48803
48803
|
workspace_id: stringType(),
|
|
48804
|
-
created: stringType().datetime({ offset: true }).default("2025-06-
|
|
48804
|
+
created: stringType().datetime({ offset: true }).default("2025-06-18T09:16:55.261Z").transform((v2) => new Date(v2))
|
|
48805
48805
|
}).transform((v2) => {
|
|
48806
48806
|
return remap(v2, {
|
|
48807
48807
|
_id: "id",
|
|
@@ -48817,7 +48817,7 @@ var init_fileupload = __esm(() => {
|
|
|
48817
48817
|
bytes: numberType(),
|
|
48818
48818
|
fileName: stringType(),
|
|
48819
48819
|
workspaceId: stringType(),
|
|
48820
|
-
created: dateType().default(() => new Date("2025-06-
|
|
48820
|
+
created: dateType().default(() => new Date("2025-06-18T09:16:55.261Z")).transform((v2) => v2.toISOString())
|
|
48821
48821
|
}).transform((v2) => {
|
|
48822
48822
|
return remap(v2, {
|
|
48823
48823
|
id: "_id",
|
|
@@ -49820,8 +49820,8 @@ var init_getevals = __esm(() => {
|
|
|
49820
49820
|
Typescript$inboundSchema = objectType({
|
|
49821
49821
|
_id: stringType(),
|
|
49822
49822
|
description: stringType(),
|
|
49823
|
-
created: stringType().default("2025-06-
|
|
49824
|
-
updated: stringType().default("2025-06-
|
|
49823
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
49824
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
49825
49825
|
guardrail_config: unionType([
|
|
49826
49826
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
49827
49827
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
|
|
@@ -49838,8 +49838,8 @@ var init_getevals = __esm(() => {
|
|
|
49838
49838
|
Typescript$outboundSchema = objectType({
|
|
49839
49839
|
id: stringType(),
|
|
49840
49840
|
description: stringType(),
|
|
49841
|
-
created: stringType().default("2025-06-
|
|
49842
|
-
updated: stringType().default("2025-06-
|
|
49841
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
49842
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
49843
49843
|
guardrailConfig: unionType([
|
|
49844
49844
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
49845
49845
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
|
|
@@ -49932,8 +49932,8 @@ var init_getevals = __esm(() => {
|
|
|
49932
49932
|
Ragas$inboundSchema = objectType({
|
|
49933
49933
|
_id: stringType(),
|
|
49934
49934
|
description: stringType(),
|
|
49935
|
-
created: stringType().default("2025-06-
|
|
49936
|
-
updated: stringType().default("2025-06-
|
|
49935
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
49936
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
49937
49937
|
guardrail_config: unionType([
|
|
49938
49938
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
49939
49939
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$inboundSchema)
|
|
@@ -49952,8 +49952,8 @@ var init_getevals = __esm(() => {
|
|
|
49952
49952
|
Ragas$outboundSchema = objectType({
|
|
49953
49953
|
id: stringType(),
|
|
49954
49954
|
description: stringType(),
|
|
49955
|
-
created: stringType().default("2025-06-
|
|
49956
|
-
updated: stringType().default("2025-06-
|
|
49955
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
49956
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
49957
49957
|
guardrailConfig: unionType([
|
|
49958
49958
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
49959
49959
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200Boolean$outboundSchema)
|
|
@@ -50504,8 +50504,8 @@ var init_getevals = __esm(() => {
|
|
|
50504
50504
|
DataFunction$inboundSchema = objectType({
|
|
50505
50505
|
_id: stringType(),
|
|
50506
50506
|
description: stringType(),
|
|
50507
|
-
created: stringType().default("2025-06-
|
|
50508
|
-
updated: stringType().default("2025-06-
|
|
50507
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50508
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50509
50509
|
guardrail_config: unionType([
|
|
50510
50510
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
50511
50511
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseBoolean$inboundSchema)
|
|
@@ -50548,8 +50548,8 @@ var init_getevals = __esm(() => {
|
|
|
50548
50548
|
DataFunction$outboundSchema = objectType({
|
|
50549
50549
|
id: stringType(),
|
|
50550
50550
|
description: stringType(),
|
|
50551
|
-
created: stringType().default("2025-06-
|
|
50552
|
-
updated: stringType().default("2025-06-
|
|
50551
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50552
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50553
50553
|
guardrailConfig: unionType([
|
|
50554
50554
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
50555
50555
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponseBoolean$outboundSchema)
|
|
@@ -50662,8 +50662,8 @@ var init_getevals = __esm(() => {
|
|
|
50662
50662
|
DataPython$inboundSchema = objectType({
|
|
50663
50663
|
_id: stringType(),
|
|
50664
50664
|
description: stringType(),
|
|
50665
|
-
created: stringType().default("2025-06-
|
|
50666
|
-
updated: stringType().default("2025-06-
|
|
50665
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50666
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50667
50667
|
guardrail_config: unionType([
|
|
50668
50668
|
lazyType(() => GetEvalsGuardrailConfigEvalsNumber$inboundSchema),
|
|
50669
50669
|
lazyType(() => GetEvalsGuardrailConfigEvalsBoolean$inboundSchema)
|
|
@@ -50680,8 +50680,8 @@ var init_getevals = __esm(() => {
|
|
|
50680
50680
|
DataPython$outboundSchema = objectType({
|
|
50681
50681
|
id: stringType(),
|
|
50682
50682
|
description: stringType(),
|
|
50683
|
-
created: stringType().default("2025-06-
|
|
50684
|
-
updated: stringType().default("2025-06-
|
|
50683
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50684
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50685
50685
|
guardrailConfig: unionType([
|
|
50686
50686
|
lazyType(() => GetEvalsGuardrailConfigEvalsNumber$outboundSchema),
|
|
50687
50687
|
lazyType(() => GetEvalsGuardrailConfigEvalsBoolean$outboundSchema)
|
|
@@ -50774,8 +50774,8 @@ var init_getevals = __esm(() => {
|
|
|
50774
50774
|
DataHTTP$inboundSchema = objectType({
|
|
50775
50775
|
_id: stringType(),
|
|
50776
50776
|
description: stringType(),
|
|
50777
|
-
created: stringType().default("2025-06-
|
|
50778
|
-
updated: stringType().default("2025-06-
|
|
50777
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50778
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50779
50779
|
guardrail_config: unionType([
|
|
50780
50780
|
lazyType(() => GetEvalsGuardrailConfigNumber$inboundSchema),
|
|
50781
50781
|
lazyType(() => GetEvalsGuardrailConfigBoolean$inboundSchema)
|
|
@@ -50795,8 +50795,8 @@ var init_getevals = __esm(() => {
|
|
|
50795
50795
|
DataHTTP$outboundSchema = objectType({
|
|
50796
50796
|
id: stringType(),
|
|
50797
50797
|
description: stringType(),
|
|
50798
|
-
created: stringType().default("2025-06-
|
|
50799
|
-
updated: stringType().default("2025-06-
|
|
50798
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50799
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50800
50800
|
guardrailConfig: unionType([
|
|
50801
50801
|
lazyType(() => GetEvalsGuardrailConfigNumber$outboundSchema),
|
|
50802
50802
|
lazyType(() => GetEvalsGuardrailConfigBoolean$outboundSchema)
|
|
@@ -50886,8 +50886,8 @@ var init_getevals = __esm(() => {
|
|
|
50886
50886
|
DataJSON$inboundSchema = objectType({
|
|
50887
50887
|
_id: stringType(),
|
|
50888
50888
|
description: stringType(),
|
|
50889
|
-
created: stringType().default("2025-06-
|
|
50890
|
-
updated: stringType().default("2025-06-
|
|
50889
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50890
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50891
50891
|
guardrail_config: unionType([
|
|
50892
50892
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$inboundSchema),
|
|
50893
50893
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$inboundSchema)
|
|
@@ -50904,8 +50904,8 @@ var init_getevals = __esm(() => {
|
|
|
50904
50904
|
DataJSON$outboundSchema = objectType({
|
|
50905
50905
|
id: stringType(),
|
|
50906
50906
|
description: stringType(),
|
|
50907
|
-
created: stringType().default("2025-06-
|
|
50908
|
-
updated: stringType().default("2025-06-
|
|
50907
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50908
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50909
50909
|
guardrailConfig: unionType([
|
|
50910
50910
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataNumber$outboundSchema),
|
|
50911
50911
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyDataBoolean$outboundSchema)
|
|
@@ -50992,8 +50992,8 @@ var init_getevals = __esm(() => {
|
|
|
50992
50992
|
DataLLM$inboundSchema = objectType({
|
|
50993
50993
|
_id: stringType(),
|
|
50994
50994
|
description: stringType(),
|
|
50995
|
-
created: stringType().default("2025-06-
|
|
50996
|
-
updated: stringType().default("2025-06-
|
|
50995
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50996
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
50997
50997
|
guardrail_config: unionType([
|
|
50998
50998
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
50999
50999
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
|
|
@@ -51011,8 +51011,8 @@ var init_getevals = __esm(() => {
|
|
|
51011
51011
|
DataLLM$outboundSchema = objectType({
|
|
51012
51012
|
id: stringType(),
|
|
51013
51013
|
description: stringType(),
|
|
51014
|
-
created: stringType().default("2025-06-
|
|
51015
|
-
updated: stringType().default("2025-06-
|
|
51014
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
51015
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
51016
51016
|
guardrailConfig: unionType([
|
|
51017
51017
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
51018
51018
|
lazyType(() => GetEvalsGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
|
|
@@ -52574,267 +52574,6 @@ var init_getpromptversion = __esm(() => {
|
|
|
52574
52574
|
})(GetPromptVersionResponseBody$ ||= {});
|
|
52575
52575
|
});
|
|
52576
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
|
-
|
|
52838
52577
|
// src/models/operations/invokeeval.ts
|
|
52839
52578
|
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$, InvokeEvalResponseBodyHTTP$inboundSchema, InvokeEvalResponseBodyHTTP$outboundSchema, InvokeEvalResponseBodyHTTP$, InvokeEvalResponseBodyEvalsResponse200ApplicationJson7Type$inboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson7Type$outboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson7Type$, InvokeEvalResponseBodyEvalsResponse200ApplicationJson7Value$inboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson7Value$outboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson7Value$, InvokeEvalResponseBodyEvalsResponseValue$inboundSchema, InvokeEvalResponseBodyEvalsResponseValue$outboundSchema, InvokeEvalResponseBodyEvalsResponseValue$, InvokeEvalResponseBodyLLM$inboundSchema, InvokeEvalResponseBodyLLM$outboundSchema, InvokeEvalResponseBodyLLM$, InvokeEvalResponseBodyEvalsResponse200ApplicationJson6Type$inboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson6Type$outboundSchema, InvokeEvalResponseBodyEvalsResponse200ApplicationJson6Type$, InvokeEvalResponseBodyEvalsValue$inboundSchema, InvokeEvalResponseBodyEvalsValue$outboundSchema, InvokeEvalResponseBodyEvalsValue$, BERTScore$inboundSchema, BERTScore$outboundSchema, BERTScore$, 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$, RougeN$inboundSchema, RougeN$outboundSchema, RougeN$, InvokeEvalResponseBodyEvalsResponse200Type$inboundSchema, InvokeEvalResponseBodyEvalsResponse200Type$outboundSchema, InvokeEvalResponseBodyEvalsResponse200Type$, StringArray$inboundSchema, StringArray$outboundSchema, StringArray$, InvokeEvalResponseBodyEvalsResponseType$inboundSchema, InvokeEvalResponseBodyEvalsResponseType$outboundSchema, InvokeEvalResponseBodyEvalsResponseType$, ResponseBodyValue$inboundSchema, ResponseBodyValue$outboundSchema, ResponseBodyValue$, ResponseBodyBoolean$inboundSchema, ResponseBodyBoolean$outboundSchema, ResponseBodyBoolean$, InvokeEvalResponseBodyEvalsType$inboundSchema, InvokeEvalResponseBodyEvalsType$outboundSchema, InvokeEvalResponseBodyEvalsType$, ResponseBodyNumber$inboundSchema, ResponseBodyNumber$outboundSchema, ResponseBodyNumber$, InvokeEvalResponseBodyType$inboundSchema, InvokeEvalResponseBodyType$outboundSchema, InvokeEvalResponseBodyType$, String$inboundSchema, String$outboundSchema, String$, InvokeEvalResponseBody$inboundSchema, InvokeEvalResponseBody$outboundSchema, InvokeEvalResponseBody$;
|
|
52840
52579
|
var init_invokeeval = __esm(() => {
|
|
@@ -53668,7 +53407,7 @@ var init_listcontacts = __esm(() => {
|
|
|
53668
53407
|
tags: arrayType(stringType()).optional(),
|
|
53669
53408
|
metadata: recordType(anyType()).optional(),
|
|
53670
53409
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
53671
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
53410
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-18T09:16:52.189Z").transform((v2) => new Date(v2)),
|
|
53672
53411
|
metrics: lazyType(() => Metrics$inboundSchema)
|
|
53673
53412
|
}).transform((v2) => {
|
|
53674
53413
|
return remap(v2, {
|
|
@@ -53687,7 +53426,7 @@ var init_listcontacts = __esm(() => {
|
|
|
53687
53426
|
tags: arrayType(stringType()).optional(),
|
|
53688
53427
|
metadata: recordType(anyType()).optional(),
|
|
53689
53428
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
53690
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
53429
|
+
updated: dateType().default(() => new Date("2025-06-18T09:16:52.189Z")).transform((v2) => v2.toISOString()),
|
|
53691
53430
|
metrics: lazyType(() => Metrics$outboundSchema)
|
|
53692
53431
|
}).transform((v2) => {
|
|
53693
53432
|
return remap(v2, {
|
|
@@ -54302,7 +54041,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
54302
54041
|
created_by_id: stringType().optional(),
|
|
54303
54042
|
updated_by_id: stringType().optional(),
|
|
54304
54043
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
54305
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
54044
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-18T09:16:52.189Z").transform((v2) => new Date(v2))
|
|
54306
54045
|
}).transform((v2) => {
|
|
54307
54046
|
return remap(v2, {
|
|
54308
54047
|
_id: "id",
|
|
@@ -54329,7 +54068,7 @@ var init_listdatasetdatapoints = __esm(() => {
|
|
|
54329
54068
|
createdById: stringType().optional(),
|
|
54330
54069
|
updatedById: stringType().optional(),
|
|
54331
54070
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
54332
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
54071
|
+
updated: dateType().default(() => new Date("2025-06-18T09:16:52.189Z")).transform((v2) => v2.toISOString())
|
|
54333
54072
|
}).transform((v2) => {
|
|
54334
54073
|
return remap(v2, {
|
|
54335
54074
|
id: "_id",
|
|
@@ -54437,7 +54176,7 @@ var init_listdatasets = __esm(() => {
|
|
|
54437
54176
|
updated_by_id: stringType().optional(),
|
|
54438
54177
|
metadata: lazyType(() => ListDatasetsMetadata$inboundSchema),
|
|
54439
54178
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
54440
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
54179
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-18T09:16:52.189Z").transform((v2) => new Date(v2))
|
|
54441
54180
|
}).transform((v2) => {
|
|
54442
54181
|
return remap(v2, {
|
|
54443
54182
|
_id: "id",
|
|
@@ -54457,7 +54196,7 @@ var init_listdatasets = __esm(() => {
|
|
|
54457
54196
|
updatedById: stringType().optional(),
|
|
54458
54197
|
metadata: lazyType(() => ListDatasetsMetadata$outboundSchema),
|
|
54459
54198
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
54460
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
54199
|
+
updated: dateType().default(() => new Date("2025-06-18T09:16:52.189Z")).transform((v2) => v2.toISOString())
|
|
54461
54200
|
}).transform((v2) => {
|
|
54462
54201
|
return remap(v2, {
|
|
54463
54202
|
id: "_id",
|
|
@@ -54562,7 +54301,7 @@ var init_listdatasources = __esm(() => {
|
|
|
54562
54301
|
ListDatasourcesStatus$.outboundSchema = ListDatasourcesStatus$outboundSchema;
|
|
54563
54302
|
})(ListDatasourcesStatus$ ||= {});
|
|
54564
54303
|
ListDatasourcesData$inboundSchema = objectType({
|
|
54565
|
-
_id: stringType().default("
|
|
54304
|
+
_id: stringType().default("01JY157KFCH1X3M10DXG0MTN3G"),
|
|
54566
54305
|
display_name: stringType(),
|
|
54567
54306
|
description: stringType().optional(),
|
|
54568
54307
|
status: ListDatasourcesStatus$inboundSchema,
|
|
@@ -54585,7 +54324,7 @@ var init_listdatasources = __esm(() => {
|
|
|
54585
54324
|
});
|
|
54586
54325
|
});
|
|
54587
54326
|
ListDatasourcesData$outboundSchema = objectType({
|
|
54588
|
-
id: stringType().default("
|
|
54327
|
+
id: stringType().default("01JY157KFCH1X3M10DXG0MTN3G"),
|
|
54589
54328
|
displayName: stringType(),
|
|
54590
54329
|
description: stringType().optional(),
|
|
54591
54330
|
status: ListDatasourcesStatus$outboundSchema,
|
|
@@ -55561,923 +55300,6 @@ var init_listpromptversions = __esm(() => {
|
|
|
55561
55300
|
})(ListPromptVersionsResponseBody$ ||= {});
|
|
55562
55301
|
});
|
|
55563
55302
|
|
|
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(() => Configuration2$inboundSchema),
|
|
56129
|
-
lazyType(() => Configuration1$inboundSchema),
|
|
56130
|
-
lazyType(() => Configuration3$inboundSchema),
|
|
56131
|
-
lazyType(() => Configuration4$inboundSchema)
|
|
56132
|
-
]);
|
|
56133
|
-
Configuration$outboundSchema = unionType([
|
|
56134
|
-
lazyType(() => Configuration2$outboundSchema),
|
|
56135
|
-
lazyType(() => Configuration1$outboundSchema),
|
|
56136
|
-
lazyType(() => Configuration3$outboundSchema),
|
|
56137
|
-
lazyType(() => Configuration4$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(() => Configuration2$inboundSchema),
|
|
56387
|
-
lazyType(() => Configuration1$inboundSchema),
|
|
56388
|
-
lazyType(() => Configuration3$inboundSchema),
|
|
56389
|
-
lazyType(() => Configuration4$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(() => Configuration2$outboundSchema),
|
|
56445
|
-
lazyType(() => Configuration1$outboundSchema),
|
|
56446
|
-
lazyType(() => Configuration3$outboundSchema),
|
|
56447
|
-
lazyType(() => Configuration4$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
|
-
|
|
56481
55303
|
// src/models/operations/remoteconfigsgetconfig.ts
|
|
56482
55304
|
var RemoteConfigsGetConfigType, RemoteConfigsGetConfigRequestBody$inboundSchema, RemoteConfigsGetConfigRequestBody$outboundSchema, RemoteConfigsGetConfigRequestBody$, RemoteConfigsGetConfigType$inboundSchema, RemoteConfigsGetConfigType$outboundSchema, RemoteConfigsGetConfigType$, RemoteConfigsGetConfigResponseBody$inboundSchema, RemoteConfigsGetConfigResponseBody$outboundSchema, RemoteConfigsGetConfigResponseBody$;
|
|
56483
55305
|
var init_remoteconfigsgetconfig = __esm(() => {
|
|
@@ -56549,7 +55371,7 @@ var init_retrievecontact = __esm(() => {
|
|
|
56549
55371
|
tags: arrayType(stringType()).optional(),
|
|
56550
55372
|
metadata: recordType(anyType()).optional(),
|
|
56551
55373
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
56552
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
55374
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-18T09:16:52.189Z").transform((v2) => new Date(v2))
|
|
56553
55375
|
}).transform((v2) => {
|
|
56554
55376
|
return remap(v2, {
|
|
56555
55377
|
_id: "id",
|
|
@@ -56567,7 +55389,7 @@ var init_retrievecontact = __esm(() => {
|
|
|
56567
55389
|
tags: arrayType(stringType()).optional(),
|
|
56568
55390
|
metadata: recordType(anyType()).optional(),
|
|
56569
55391
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
56570
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
55392
|
+
updated: dateType().default(() => new Date("2025-06-18T09:16:52.189Z")).transform((v2) => v2.toISOString())
|
|
56571
55393
|
}).transform((v2) => {
|
|
56572
55394
|
return remap(v2, {
|
|
56573
55395
|
id: "_id",
|
|
@@ -57144,7 +55966,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
57144
55966
|
created_by_id: stringType().optional(),
|
|
57145
55967
|
updated_by_id: stringType().optional(),
|
|
57146
55968
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
57147
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
55969
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-18T09:16:52.189Z").transform((v2) => new Date(v2))
|
|
57148
55970
|
}).transform((v2) => {
|
|
57149
55971
|
return remap(v2, {
|
|
57150
55972
|
_id: "id",
|
|
@@ -57171,7 +55993,7 @@ var init_retrievedatapoint = __esm(() => {
|
|
|
57171
55993
|
createdById: stringType().optional(),
|
|
57172
55994
|
updatedById: stringType().optional(),
|
|
57173
55995
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
57174
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
55996
|
+
updated: dateType().default(() => new Date("2025-06-18T09:16:52.189Z")).transform((v2) => v2.toISOString())
|
|
57175
55997
|
}).transform((v2) => {
|
|
57176
55998
|
return remap(v2, {
|
|
57177
55999
|
id: "_id",
|
|
@@ -57242,7 +56064,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
57242
56064
|
updated_by_id: stringType().optional(),
|
|
57243
56065
|
metadata: lazyType(() => RetrieveDatasetMetadata$inboundSchema),
|
|
57244
56066
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
57245
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
56067
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-18T09:16:52.189Z").transform((v2) => new Date(v2))
|
|
57246
56068
|
}).transform((v2) => {
|
|
57247
56069
|
return remap(v2, {
|
|
57248
56070
|
_id: "id",
|
|
@@ -57262,7 +56084,7 @@ var init_retrievedataset = __esm(() => {
|
|
|
57262
56084
|
updatedById: stringType().optional(),
|
|
57263
56085
|
metadata: lazyType(() => RetrieveDatasetMetadata$outboundSchema),
|
|
57264
56086
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
57265
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
56087
|
+
updated: dateType().default(() => new Date("2025-06-18T09:16:52.189Z")).transform((v2) => v2.toISOString())
|
|
57266
56088
|
}).transform((v2) => {
|
|
57267
56089
|
return remap(v2, {
|
|
57268
56090
|
id: "_id",
|
|
@@ -57320,7 +56142,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
57320
56142
|
RetrieveDatasourceStatus$.outboundSchema = RetrieveDatasourceStatus$outboundSchema;
|
|
57321
56143
|
})(RetrieveDatasourceStatus$ ||= {});
|
|
57322
56144
|
RetrieveDatasourceResponseBody$inboundSchema = objectType({
|
|
57323
|
-
_id: stringType().default("
|
|
56145
|
+
_id: stringType().default("01JY157KFDGZDB2JYDV2CPDJVJ"),
|
|
57324
56146
|
display_name: stringType(),
|
|
57325
56147
|
description: stringType().optional(),
|
|
57326
56148
|
status: RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -57343,7 +56165,7 @@ var init_retrievedatasource = __esm(() => {
|
|
|
57343
56165
|
});
|
|
57344
56166
|
});
|
|
57345
56167
|
RetrieveDatasourceResponseBody$outboundSchema = objectType({
|
|
57346
|
-
id: stringType().default("
|
|
56168
|
+
id: stringType().default("01JY157KFDGZDB2JYDV2CPDJVJ"),
|
|
57347
56169
|
displayName: stringType(),
|
|
57348
56170
|
description: stringType().optional(),
|
|
57349
56171
|
status: RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -58224,7 +57046,7 @@ var init_updatecontact = __esm(() => {
|
|
|
58224
57046
|
tags: arrayType(stringType()).optional(),
|
|
58225
57047
|
metadata: recordType(anyType()).optional(),
|
|
58226
57048
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
58227
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
57049
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-18T09:16:52.189Z").transform((v2) => new Date(v2))
|
|
58228
57050
|
}).transform((v2) => {
|
|
58229
57051
|
return remap(v2, {
|
|
58230
57052
|
_id: "id",
|
|
@@ -58242,7 +57064,7 @@ var init_updatecontact = __esm(() => {
|
|
|
58242
57064
|
tags: arrayType(stringType()).optional(),
|
|
58243
57065
|
metadata: recordType(anyType()).optional(),
|
|
58244
57066
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
58245
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
57067
|
+
updated: dateType().default(() => new Date("2025-06-18T09:16:52.189Z")).transform((v2) => v2.toISOString())
|
|
58246
57068
|
}).transform((v2) => {
|
|
58247
57069
|
return remap(v2, {
|
|
58248
57070
|
id: "_id",
|
|
@@ -59376,7 +58198,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
59376
58198
|
created_by_id: stringType().optional(),
|
|
59377
58199
|
updated_by_id: stringType().optional(),
|
|
59378
58200
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
59379
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
58201
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-18T09:16:52.189Z").transform((v2) => new Date(v2))
|
|
59380
58202
|
}).transform((v2) => {
|
|
59381
58203
|
return remap(v2, {
|
|
59382
58204
|
_id: "id",
|
|
@@ -59403,7 +58225,7 @@ var init_updatedatapoint = __esm(() => {
|
|
|
59403
58225
|
createdById: stringType().optional(),
|
|
59404
58226
|
updatedById: stringType().optional(),
|
|
59405
58227
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
59406
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
58228
|
+
updated: dateType().default(() => new Date("2025-06-18T09:16:52.189Z")).transform((v2) => v2.toISOString())
|
|
59407
58229
|
}).transform((v2) => {
|
|
59408
58230
|
return remap(v2, {
|
|
59409
58231
|
id: "_id",
|
|
@@ -59504,7 +58326,7 @@ var init_updatedataset = __esm(() => {
|
|
|
59504
58326
|
parent_id: stringType().optional(),
|
|
59505
58327
|
version: stringType().optional(),
|
|
59506
58328
|
created: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
59507
|
-
updated: stringType().datetime({ offset: true }).default("2025-06-
|
|
58329
|
+
updated: stringType().datetime({ offset: true }).default("2025-06-18T09:16:52.189Z").transform((v2) => new Date(v2))
|
|
59508
58330
|
}).transform((v2) => {
|
|
59509
58331
|
return remap(v2, {
|
|
59510
58332
|
_id: "id",
|
|
@@ -59527,7 +58349,7 @@ var init_updatedataset = __esm(() => {
|
|
|
59527
58349
|
parentId: stringType().optional(),
|
|
59528
58350
|
version: stringType().optional(),
|
|
59529
58351
|
created: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
59530
|
-
updated: dateType().default(() => new Date("2025-06-
|
|
58352
|
+
updated: dateType().default(() => new Date("2025-06-18T09:16:52.189Z")).transform((v2) => v2.toISOString())
|
|
59531
58353
|
}).transform((v2) => {
|
|
59532
58354
|
return remap(v2, {
|
|
59533
58355
|
id: "_id",
|
|
@@ -59608,7 +58430,7 @@ var init_updatedatasource = __esm(() => {
|
|
|
59608
58430
|
UpdateDatasourceStatus$.outboundSchema = UpdateDatasourceStatus$outboundSchema;
|
|
59609
58431
|
})(UpdateDatasourceStatus$ ||= {});
|
|
59610
58432
|
UpdateDatasourceResponseBody$inboundSchema = objectType({
|
|
59611
|
-
_id: stringType().default("
|
|
58433
|
+
_id: stringType().default("01JY157KFEJ5C4T358TF27EAT1"),
|
|
59612
58434
|
display_name: stringType(),
|
|
59613
58435
|
description: stringType().optional(),
|
|
59614
58436
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -59631,7 +58453,7 @@ var init_updatedatasource = __esm(() => {
|
|
|
59631
58453
|
});
|
|
59632
58454
|
});
|
|
59633
58455
|
UpdateDatasourceResponseBody$outboundSchema = objectType({
|
|
59634
|
-
id: stringType().default("
|
|
58456
|
+
id: stringType().default("01JY157KFEJ5C4T358TF27EAT1"),
|
|
59635
58457
|
displayName: stringType(),
|
|
59636
58458
|
description: stringType().optional(),
|
|
59637
58459
|
status: UpdateDatasourceStatus$outboundSchema,
|
|
@@ -60337,8 +59159,8 @@ var init_updateeval = __esm(() => {
|
|
|
60337
59159
|
UpdateEvalResponseBodyPython$inboundSchema = objectType({
|
|
60338
59160
|
_id: stringType(),
|
|
60339
59161
|
description: stringType(),
|
|
60340
|
-
created: stringType().default("2025-06-
|
|
60341
|
-
updated: stringType().default("2025-06-
|
|
59162
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
59163
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
60342
59164
|
guardrail_config: unionType([
|
|
60343
59165
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$inboundSchema),
|
|
60344
59166
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$inboundSchema)
|
|
@@ -60355,8 +59177,8 @@ var init_updateeval = __esm(() => {
|
|
|
60355
59177
|
UpdateEvalResponseBodyPython$outboundSchema = objectType({
|
|
60356
59178
|
id: stringType(),
|
|
60357
59179
|
description: stringType(),
|
|
60358
|
-
created: stringType().default("2025-06-
|
|
60359
|
-
updated: stringType().default("2025-06-
|
|
59180
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
59181
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
60360
59182
|
guardrailConfig: unionType([
|
|
60361
59183
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyNumber$outboundSchema),
|
|
60362
59184
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONResponseBodyBoolean$outboundSchema)
|
|
@@ -60449,8 +59271,8 @@ var init_updateeval = __esm(() => {
|
|
|
60449
59271
|
UpdateEvalResponseBodyHTTP$inboundSchema = objectType({
|
|
60450
59272
|
_id: stringType(),
|
|
60451
59273
|
description: stringType(),
|
|
60452
|
-
created: stringType().default("2025-06-
|
|
60453
|
-
updated: stringType().default("2025-06-
|
|
59274
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
59275
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
60454
59276
|
guardrail_config: unionType([
|
|
60455
59277
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$inboundSchema),
|
|
60456
59278
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$inboundSchema)
|
|
@@ -60470,8 +59292,8 @@ var init_updateeval = __esm(() => {
|
|
|
60470
59292
|
UpdateEvalResponseBodyHTTP$outboundSchema = objectType({
|
|
60471
59293
|
id: stringType(),
|
|
60472
59294
|
description: stringType(),
|
|
60473
|
-
created: stringType().default("2025-06-
|
|
60474
|
-
updated: stringType().default("2025-06-
|
|
59295
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
59296
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
60475
59297
|
guardrailConfig: unionType([
|
|
60476
59298
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONNumber$outboundSchema),
|
|
60477
59299
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200ApplicationJSONBoolean$outboundSchema)
|
|
@@ -60561,8 +59383,8 @@ var init_updateeval = __esm(() => {
|
|
|
60561
59383
|
UpdateEvalResponseBodyJSON$inboundSchema = objectType({
|
|
60562
59384
|
_id: stringType(),
|
|
60563
59385
|
description: stringType(),
|
|
60564
|
-
created: stringType().default("2025-06-
|
|
60565
|
-
updated: stringType().default("2025-06-
|
|
59386
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
59387
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
60566
59388
|
guardrail_config: unionType([
|
|
60567
59389
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Number$inboundSchema),
|
|
60568
59390
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Boolean$inboundSchema)
|
|
@@ -60579,8 +59401,8 @@ var init_updateeval = __esm(() => {
|
|
|
60579
59401
|
UpdateEvalResponseBodyJSON$outboundSchema = objectType({
|
|
60580
59402
|
id: stringType(),
|
|
60581
59403
|
description: stringType(),
|
|
60582
|
-
created: stringType().default("2025-06-
|
|
60583
|
-
updated: stringType().default("2025-06-
|
|
59404
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
59405
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
60584
59406
|
guardrailConfig: unionType([
|
|
60585
59407
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Number$outboundSchema),
|
|
60586
59408
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponse200Boolean$outboundSchema)
|
|
@@ -60667,8 +59489,8 @@ var init_updateeval = __esm(() => {
|
|
|
60667
59489
|
UpdateEvalResponseBodyLLM$inboundSchema = objectType({
|
|
60668
59490
|
_id: stringType(),
|
|
60669
59491
|
description: stringType(),
|
|
60670
|
-
created: stringType().default("2025-06-
|
|
60671
|
-
updated: stringType().default("2025-06-
|
|
59492
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
59493
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
60672
59494
|
guardrail_config: unionType([
|
|
60673
59495
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseNumber$inboundSchema),
|
|
60674
59496
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$inboundSchema)
|
|
@@ -60686,8 +59508,8 @@ var init_updateeval = __esm(() => {
|
|
|
60686
59508
|
UpdateEvalResponseBodyLLM$outboundSchema = objectType({
|
|
60687
59509
|
id: stringType(),
|
|
60688
59510
|
description: stringType(),
|
|
60689
|
-
created: stringType().default("2025-06-
|
|
60690
|
-
updated: stringType().default("2025-06-
|
|
59511
|
+
created: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
59512
|
+
updated: stringType().default("2025-06-18T09:16:54.289Z"),
|
|
60691
59513
|
guardrailConfig: unionType([
|
|
60692
59514
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseNumber$outboundSchema),
|
|
60693
59515
|
lazyType(() => UpdateEvalGuardrailConfigEvalsResponseBoolean$outboundSchema)
|
|
@@ -62259,7 +61081,6 @@ var init_operations = __esm(() => {
|
|
|
62259
61081
|
init_getoneknowledge();
|
|
62260
61082
|
init_getoneprompt();
|
|
62261
61083
|
init_getpromptversion();
|
|
62262
|
-
init_getv2modelslitellmmodels();
|
|
62263
61084
|
init_invokeeval();
|
|
62264
61085
|
init_listchunks();
|
|
62265
61086
|
init_listcontacts();
|
|
@@ -62269,7 +61090,6 @@ var init_operations = __esm(() => {
|
|
|
62269
61090
|
init_listknowledgebases();
|
|
62270
61091
|
init_listmodels();
|
|
62271
61092
|
init_listpromptversions();
|
|
62272
|
-
init_postv2modelslitellmimport();
|
|
62273
61093
|
init_remoteconfigsgetconfig();
|
|
62274
61094
|
init_retrievecontact();
|
|
62275
61095
|
init_retrievedatapoint();
|
|
@@ -73716,96 +72536,11 @@ Returns a list of the files that your account has access to. orq.ai sorts and re
|
|
|
73716
72536
|
};
|
|
73717
72537
|
});
|
|
73718
72538
|
|
|
73719
|
-
// src/funcs/getV2ModelsLitellmModels.ts
|
|
73720
|
-
function getV2ModelsLitellmModels(client, options) {
|
|
73721
|
-
return new APIPromise($do68(client, options));
|
|
73722
|
-
}
|
|
73723
|
-
async function $do68(client, options) {
|
|
73724
|
-
const path = pathToFunc("/v2/models/litellm/models")();
|
|
73725
|
-
const headers = new Headers(compactMap({
|
|
73726
|
-
Accept: "application/json"
|
|
73727
|
-
}));
|
|
73728
|
-
const secConfig = await extractSecurity(client._options.apiKey);
|
|
73729
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
73730
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
73731
|
-
const context = {
|
|
73732
|
-
options: client._options,
|
|
73733
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
73734
|
-
operationID: "get_/v2/models/litellm/models",
|
|
73735
|
-
oAuth2Scopes: [],
|
|
73736
|
-
resolvedSecurity: requestSecurity,
|
|
73737
|
-
securitySource: client._options.apiKey,
|
|
73738
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
73739
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
73740
|
-
};
|
|
73741
|
-
const requestRes = client._createRequest(context, {
|
|
73742
|
-
security: requestSecurity,
|
|
73743
|
-
method: "GET",
|
|
73744
|
-
baseURL: options?.serverURL,
|
|
73745
|
-
path,
|
|
73746
|
-
headers,
|
|
73747
|
-
userAgent: client._options.userAgent,
|
|
73748
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000
|
|
73749
|
-
}, options);
|
|
73750
|
-
if (!requestRes.ok) {
|
|
73751
|
-
return [requestRes, { status: "invalid" }];
|
|
73752
|
-
}
|
|
73753
|
-
const req = requestRes.value;
|
|
73754
|
-
const doResult = await client._do(req, {
|
|
73755
|
-
context,
|
|
73756
|
-
errorCodes: ["4XX", "5XX"],
|
|
73757
|
-
retryConfig: context.retryConfig,
|
|
73758
|
-
retryCodes: context.retryCodes
|
|
73759
|
-
});
|
|
73760
|
-
if (!doResult.ok) {
|
|
73761
|
-
return [doResult, { status: "request-error", request: req }];
|
|
73762
|
-
}
|
|
73763
|
-
const response = doResult.value;
|
|
73764
|
-
const [result] = await match(json(200, arrayType(ResponseBody$inboundSchema)), fail("4XX"), fail("5XX"))(response, req);
|
|
73765
|
-
if (!result.ok) {
|
|
73766
|
-
return [result, { status: "complete", request: req, response }];
|
|
73767
|
-
}
|
|
73768
|
-
return [result, { status: "complete", request: req, response }];
|
|
73769
|
-
}
|
|
73770
|
-
var init_getV2ModelsLitellmModels = __esm(() => {
|
|
73771
|
-
init_esm();
|
|
73772
|
-
init_matchers();
|
|
73773
|
-
init_primitives();
|
|
73774
|
-
init_security();
|
|
73775
|
-
init_url();
|
|
73776
|
-
init_operations();
|
|
73777
|
-
init_async();
|
|
73778
|
-
});
|
|
73779
|
-
|
|
73780
|
-
// src/mcp-server/tools/getV2ModelsLitellmModels.ts
|
|
73781
|
-
var tool$getV2ModelsLitellmModels;
|
|
73782
|
-
var init_getV2ModelsLitellmModels2 = __esm(() => {
|
|
73783
|
-
init_getV2ModelsLitellmModels();
|
|
73784
|
-
init_tools();
|
|
73785
|
-
tool$getV2ModelsLitellmModels = {
|
|
73786
|
-
name: "get-v2-models-litellm-models",
|
|
73787
|
-
description: `Get available models from LiteLLM
|
|
73788
|
-
|
|
73789
|
-
Fetches all available models from the configured LiteLLM instance`,
|
|
73790
|
-
tool: async (client, ctx) => {
|
|
73791
|
-
const [result, apiCall] = await getV2ModelsLitellmModels(client, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73792
|
-
if (!result.ok) {
|
|
73793
|
-
return {
|
|
73794
|
-
content: [{ type: "text", text: result.error.message }],
|
|
73795
|
-
isError: true
|
|
73796
|
-
};
|
|
73797
|
-
}
|
|
73798
|
-
const value = result.value;
|
|
73799
|
-
return formatResult(value, apiCall);
|
|
73800
|
-
}
|
|
73801
|
-
};
|
|
73802
|
-
});
|
|
73803
|
-
|
|
73804
72539
|
// src/funcs/knowledgeCreate.ts
|
|
73805
72540
|
function knowledgeCreate(client, request, options) {
|
|
73806
|
-
return new APIPromise($
|
|
72541
|
+
return new APIPromise($do68(client, request, options));
|
|
73807
72542
|
}
|
|
73808
|
-
async function $
|
|
72543
|
+
async function $do68(client, request, options) {
|
|
73809
72544
|
const parsed = safeParse(request, (value) => CreateKnowledgeRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
73810
72545
|
if (!parsed.ok) {
|
|
73811
72546
|
return [parsed, { status: "invalid" }];
|
|
@@ -73900,9 +72635,9 @@ var init_knowledgeCreate2 = __esm(() => {
|
|
|
73900
72635
|
|
|
73901
72636
|
// src/funcs/knowledgeCreateChunks.ts
|
|
73902
72637
|
function knowledgeCreateChunks(client, request, options) {
|
|
73903
|
-
return new APIPromise($
|
|
72638
|
+
return new APIPromise($do69(client, request, options));
|
|
73904
72639
|
}
|
|
73905
|
-
async function $
|
|
72640
|
+
async function $do69(client, request, options) {
|
|
73906
72641
|
const parsed = safeParse(request, (value) => CreateChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73907
72642
|
if (!parsed.ok) {
|
|
73908
72643
|
return [parsed, { status: "invalid" }];
|
|
@@ -73961,7 +72696,7 @@ async function $do70(client, request, options) {
|
|
|
73961
72696
|
return [doResult, { status: "request-error", request: req }];
|
|
73962
72697
|
}
|
|
73963
72698
|
const response = doResult.value;
|
|
73964
|
-
const [result] = await match(json(200, arrayType(
|
|
72699
|
+
const [result] = await match(json(200, arrayType(ResponseBody$inboundSchema)), fail("4XX"), fail([500, "5XX"]))(response, req);
|
|
73965
72700
|
if (!result.ok) {
|
|
73966
72701
|
return [result, { status: "complete", request: req, response }];
|
|
73967
72702
|
}
|
|
@@ -74008,9 +72743,9 @@ var init_knowledgeCreateChunks2 = __esm(() => {
|
|
|
74008
72743
|
|
|
74009
72744
|
// src/funcs/knowledgeCreateDatasource.ts
|
|
74010
72745
|
function knowledgeCreateDatasource(client, request, options) {
|
|
74011
|
-
return new APIPromise($
|
|
72746
|
+
return new APIPromise($do70(client, request, options));
|
|
74012
72747
|
}
|
|
74013
|
-
async function $
|
|
72748
|
+
async function $do70(client, request, options) {
|
|
74014
72749
|
const parsed = safeParse(request, (value) => CreateDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74015
72750
|
if (!parsed.ok) {
|
|
74016
72751
|
return [parsed, { status: "invalid" }];
|
|
@@ -74111,9 +72846,9 @@ var init_knowledgeCreateDatasource2 = __esm(() => {
|
|
|
74111
72846
|
|
|
74112
72847
|
// src/funcs/knowledgeDelete.ts
|
|
74113
72848
|
function knowledgeDelete(client, request, options) {
|
|
74114
|
-
return new APIPromise($
|
|
72849
|
+
return new APIPromise($do71(client, request, options));
|
|
74115
72850
|
}
|
|
74116
|
-
async function $
|
|
72851
|
+
async function $do71(client, request, options) {
|
|
74117
72852
|
const parsed = safeParse(request, (value) => DeleteKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74118
72853
|
if (!parsed.ok) {
|
|
74119
72854
|
return [parsed, { status: "invalid" }];
|
|
@@ -74215,9 +72950,9 @@ Deletes a knowledge base. Deleting a knowledge base will delete all the datasour
|
|
|
74215
72950
|
|
|
74216
72951
|
// src/funcs/knowledgeDeleteChunk.ts
|
|
74217
72952
|
function knowledgeDeleteChunk(client, request, options) {
|
|
74218
|
-
return new APIPromise($
|
|
72953
|
+
return new APIPromise($do72(client, request, options));
|
|
74219
72954
|
}
|
|
74220
|
-
async function $
|
|
72955
|
+
async function $do72(client, request, options) {
|
|
74221
72956
|
const parsed = safeParse(request, (value) => DeleteChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74222
72957
|
if (!parsed.ok) {
|
|
74223
72958
|
return [parsed, { status: "invalid" }];
|
|
@@ -74325,9 +73060,9 @@ var init_knowledgeDeleteChunk2 = __esm(() => {
|
|
|
74325
73060
|
|
|
74326
73061
|
// src/funcs/knowledgeDeleteDatasource.ts
|
|
74327
73062
|
function knowledgeDeleteDatasource(client, request, options) {
|
|
74328
|
-
return new APIPromise($
|
|
73063
|
+
return new APIPromise($do73(client, request, options));
|
|
74329
73064
|
}
|
|
74330
|
-
async function $
|
|
73065
|
+
async function $do73(client, request, options) {
|
|
74331
73066
|
const parsed = safeParse(request, (value) => DeleteDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74332
73067
|
if (!parsed.ok) {
|
|
74333
73068
|
return [parsed, { status: "invalid" }];
|
|
@@ -74433,9 +73168,9 @@ Deletes a datasource from a knowledge base. Deleting a datasource will remove it
|
|
|
74433
73168
|
|
|
74434
73169
|
// src/funcs/knowledgeList.ts
|
|
74435
73170
|
function knowledgeList(client, request, options) {
|
|
74436
|
-
return new APIPromise($
|
|
73171
|
+
return new APIPromise($do74(client, request, options));
|
|
74437
73172
|
}
|
|
74438
|
-
async function $
|
|
73173
|
+
async function $do74(client, request, options) {
|
|
74439
73174
|
const parsed = safeParse(request, (value) => ListKnowledgeBasesRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
74440
73175
|
if (!parsed.ok) {
|
|
74441
73176
|
return [parsed, { status: "invalid" }];
|
|
@@ -74537,9 +73272,9 @@ Returns a list of your knowledge bases. The knowledge bases are returned sorted
|
|
|
74537
73272
|
|
|
74538
73273
|
// src/funcs/knowledgeListChunks.ts
|
|
74539
73274
|
function knowledgeListChunks(client, request, options) {
|
|
74540
|
-
return new APIPromise($
|
|
73275
|
+
return new APIPromise($do75(client, request, options));
|
|
74541
73276
|
}
|
|
74542
|
-
async function $
|
|
73277
|
+
async function $do75(client, request, options) {
|
|
74543
73278
|
const parsed = safeParse(request, (value) => ListChunksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74544
73279
|
if (!parsed.ok) {
|
|
74545
73280
|
return [parsed, { status: "invalid" }];
|
|
@@ -74651,9 +73386,9 @@ var init_knowledgeListChunks2 = __esm(() => {
|
|
|
74651
73386
|
|
|
74652
73387
|
// src/funcs/knowledgeListDatasources.ts
|
|
74653
73388
|
function knowledgeListDatasources(client, request, options) {
|
|
74654
|
-
return new APIPromise($
|
|
73389
|
+
return new APIPromise($do76(client, request, options));
|
|
74655
73390
|
}
|
|
74656
|
-
async function $
|
|
73391
|
+
async function $do76(client, request, options) {
|
|
74657
73392
|
const parsed = safeParse(request, (value) => ListDatasourcesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74658
73393
|
if (!parsed.ok) {
|
|
74659
73394
|
return [parsed, { status: "invalid" }];
|
|
@@ -74761,9 +73496,9 @@ var init_knowledgeListDatasources2 = __esm(() => {
|
|
|
74761
73496
|
|
|
74762
73497
|
// src/funcs/knowledgeRetrieve.ts
|
|
74763
73498
|
function knowledgeRetrieve(client, request, options) {
|
|
74764
|
-
return new APIPromise($
|
|
73499
|
+
return new APIPromise($do77(client, request, options));
|
|
74765
73500
|
}
|
|
74766
|
-
async function $
|
|
73501
|
+
async function $do77(client, request, options) {
|
|
74767
73502
|
const parsed = safeParse(request, (value) => GetOneKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74768
73503
|
if (!parsed.ok) {
|
|
74769
73504
|
return [parsed, { status: "invalid" }];
|
|
@@ -74865,9 +73600,9 @@ Retrieve a knowledge base with the settings.`,
|
|
|
74865
73600
|
|
|
74866
73601
|
// src/funcs/knowledgeRetrieveChunk.ts
|
|
74867
73602
|
function knowledgeRetrieveChunk(client, request, options) {
|
|
74868
|
-
return new APIPromise($
|
|
73603
|
+
return new APIPromise($do78(client, request, options));
|
|
74869
73604
|
}
|
|
74870
|
-
async function $
|
|
73605
|
+
async function $do78(client, request, options) {
|
|
74871
73606
|
const parsed = safeParse(request, (value) => GetOneChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74872
73607
|
if (!parsed.ok) {
|
|
74873
73608
|
return [parsed, { status: "invalid" }];
|
|
@@ -74975,9 +73710,9 @@ var init_knowledgeRetrieveChunk2 = __esm(() => {
|
|
|
74975
73710
|
|
|
74976
73711
|
// src/funcs/knowledgeRetrieveDatasource.ts
|
|
74977
73712
|
function knowledgeRetrieveDatasource(client, request, options) {
|
|
74978
|
-
return new APIPromise($
|
|
73713
|
+
return new APIPromise($do79(client, request, options));
|
|
74979
73714
|
}
|
|
74980
|
-
async function $
|
|
73715
|
+
async function $do79(client, request, options) {
|
|
74981
73716
|
const parsed = safeParse(request, (value) => RetrieveDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74982
73717
|
if (!parsed.ok) {
|
|
74983
73718
|
return [parsed, { status: "invalid" }];
|
|
@@ -75081,9 +73816,9 @@ var init_knowledgeRetrieveDatasource2 = __esm(() => {
|
|
|
75081
73816
|
|
|
75082
73817
|
// src/funcs/knowledgeSearch.ts
|
|
75083
73818
|
function knowledgeSearch(client, request, options) {
|
|
75084
|
-
return new APIPromise($
|
|
73819
|
+
return new APIPromise($do80(client, request, options));
|
|
75085
73820
|
}
|
|
75086
|
-
async function $
|
|
73821
|
+
async function $do80(client, request, options) {
|
|
75087
73822
|
const parsed = safeParse(request, (value) => SearchKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75088
73823
|
if (!parsed.ok) {
|
|
75089
73824
|
return [parsed, { status: "invalid" }];
|
|
@@ -75186,9 +73921,9 @@ Search a Knowledge Base and return the most similar chunks, along with their sea
|
|
|
75186
73921
|
|
|
75187
73922
|
// src/funcs/knowledgeUpdate.ts
|
|
75188
73923
|
function knowledgeUpdate(client, request, options) {
|
|
75189
|
-
return new APIPromise($
|
|
73924
|
+
return new APIPromise($do81(client, request, options));
|
|
75190
73925
|
}
|
|
75191
|
-
async function $
|
|
73926
|
+
async function $do81(client, request, options) {
|
|
75192
73927
|
const parsed = safeParse(request, (value) => UpdateKnowledgeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75193
73928
|
if (!parsed.ok) {
|
|
75194
73929
|
return [parsed, { status: "invalid" }];
|
|
@@ -75289,9 +74024,9 @@ var init_knowledgeUpdate2 = __esm(() => {
|
|
|
75289
74024
|
|
|
75290
74025
|
// src/funcs/knowledgeUpdateChunk.ts
|
|
75291
74026
|
function knowledgeUpdateChunk(client, request, options) {
|
|
75292
|
-
return new APIPromise($
|
|
74027
|
+
return new APIPromise($do82(client, request, options));
|
|
75293
74028
|
}
|
|
75294
|
-
async function $
|
|
74029
|
+
async function $do82(client, request, options) {
|
|
75295
74030
|
const parsed = safeParse(request, (value) => UpdateChunkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75296
74031
|
if (!parsed.ok) {
|
|
75297
74032
|
return [parsed, { status: "invalid" }];
|
|
@@ -75400,9 +74135,9 @@ var init_knowledgeUpdateChunk2 = __esm(() => {
|
|
|
75400
74135
|
|
|
75401
74136
|
// src/funcs/knowledgeUpdateDatasource.ts
|
|
75402
74137
|
function knowledgeUpdateDatasource(client, request, options) {
|
|
75403
|
-
return new APIPromise($
|
|
74138
|
+
return new APIPromise($do83(client, request, options));
|
|
75404
74139
|
}
|
|
75405
|
-
async function $
|
|
74140
|
+
async function $do83(client, request, options) {
|
|
75406
74141
|
const parsed = safeParse(request, (value) => UpdateDatasourceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75407
74142
|
if (!parsed.ok) {
|
|
75408
74143
|
return [parsed, { status: "invalid" }];
|
|
@@ -75507,9 +74242,9 @@ var init_knowledgeUpdateDatasource2 = __esm(() => {
|
|
|
75507
74242
|
|
|
75508
74243
|
// src/funcs/modelsList.ts
|
|
75509
74244
|
function modelsList(client, options) {
|
|
75510
|
-
return new APIPromise($
|
|
74245
|
+
return new APIPromise($do84(client, options));
|
|
75511
74246
|
}
|
|
75512
|
-
async function $
|
|
74247
|
+
async function $do84(client, options) {
|
|
75513
74248
|
const path = pathToFunc("/v2/models")();
|
|
75514
74249
|
const headers = new Headers(compactMap({
|
|
75515
74250
|
Accept: "application/json"
|
|
@@ -75589,112 +74324,11 @@ Lists the currently available models, and provides basic information about each
|
|
|
75589
74324
|
};
|
|
75590
74325
|
});
|
|
75591
74326
|
|
|
75592
|
-
// src/funcs/postV2ModelsLitellmImport.ts
|
|
75593
|
-
function postV2ModelsLitellmImport(client, request, options) {
|
|
75594
|
-
return new APIPromise($do86(client, request, options));
|
|
75595
|
-
}
|
|
75596
|
-
async function $do86(client, request, options) {
|
|
75597
|
-
const parsed = safeParse(request, (value) => arrayType(RequestBody$outboundSchema).optional().parse(value), "Input validation failed");
|
|
75598
|
-
if (!parsed.ok) {
|
|
75599
|
-
return [parsed, { status: "invalid" }];
|
|
75600
|
-
}
|
|
75601
|
-
const payload = parsed.value;
|
|
75602
|
-
const body = payload === undefined ? null : encodeJSON("body", payload, { explode: true });
|
|
75603
|
-
const path = pathToFunc("/v2/models/litellm/import")();
|
|
75604
|
-
const headers = new Headers(compactMap({
|
|
75605
|
-
"Content-Type": "application/json",
|
|
75606
|
-
Accept: "application/json"
|
|
75607
|
-
}));
|
|
75608
|
-
const secConfig = await extractSecurity(client._options.apiKey);
|
|
75609
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
75610
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
75611
|
-
const context = {
|
|
75612
|
-
options: client._options,
|
|
75613
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
75614
|
-
operationID: "post_/v2/models/litellm/import",
|
|
75615
|
-
oAuth2Scopes: [],
|
|
75616
|
-
resolvedSecurity: requestSecurity,
|
|
75617
|
-
securitySource: client._options.apiKey,
|
|
75618
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
75619
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
75620
|
-
};
|
|
75621
|
-
const requestRes = client._createRequest(context, {
|
|
75622
|
-
security: requestSecurity,
|
|
75623
|
-
method: "POST",
|
|
75624
|
-
baseURL: options?.serverURL,
|
|
75625
|
-
path,
|
|
75626
|
-
headers,
|
|
75627
|
-
body,
|
|
75628
|
-
userAgent: client._options.userAgent,
|
|
75629
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || 600000
|
|
75630
|
-
}, options);
|
|
75631
|
-
if (!requestRes.ok) {
|
|
75632
|
-
return [requestRes, { status: "invalid" }];
|
|
75633
|
-
}
|
|
75634
|
-
const req = requestRes.value;
|
|
75635
|
-
const doResult = await client._do(req, {
|
|
75636
|
-
context,
|
|
75637
|
-
errorCodes: ["4XX", "5XX"],
|
|
75638
|
-
retryConfig: context.retryConfig,
|
|
75639
|
-
retryCodes: context.retryCodes
|
|
75640
|
-
});
|
|
75641
|
-
if (!doResult.ok) {
|
|
75642
|
-
return [doResult, { status: "request-error", request: req }];
|
|
75643
|
-
}
|
|
75644
|
-
const response = doResult.value;
|
|
75645
|
-
const [result] = await match(json(200, arrayType(PostV2ModelsLitellmImportResponseBody$inboundSchema)), fail("4XX"), fail("5XX"))(response, req);
|
|
75646
|
-
if (!result.ok) {
|
|
75647
|
-
return [result, { status: "complete", request: req, response }];
|
|
75648
|
-
}
|
|
75649
|
-
return [result, { status: "complete", request: req, response }];
|
|
75650
|
-
}
|
|
75651
|
-
var init_postV2ModelsLitellmImport = __esm(() => {
|
|
75652
|
-
init_esm();
|
|
75653
|
-
init_encodings();
|
|
75654
|
-
init_matchers();
|
|
75655
|
-
init_primitives();
|
|
75656
|
-
init_schemas();
|
|
75657
|
-
init_security();
|
|
75658
|
-
init_url();
|
|
75659
|
-
init_operations();
|
|
75660
|
-
init_async();
|
|
75661
|
-
});
|
|
75662
|
-
|
|
75663
|
-
// src/mcp-server/tools/postV2ModelsLitellmImport.ts
|
|
75664
|
-
var args84, tool$postV2ModelsLitellmImport;
|
|
75665
|
-
var init_postV2ModelsLitellmImport2 = __esm(() => {
|
|
75666
|
-
init_esm();
|
|
75667
|
-
init_postV2ModelsLitellmImport();
|
|
75668
|
-
init_operations();
|
|
75669
|
-
init_tools();
|
|
75670
|
-
args84 = {
|
|
75671
|
-
request: arrayType(RequestBody$inboundSchema).optional()
|
|
75672
|
-
};
|
|
75673
|
-
tool$postV2ModelsLitellmImport = {
|
|
75674
|
-
name: "post-v2-models-litellm-import",
|
|
75675
|
-
description: `Import models from LiteLLM
|
|
75676
|
-
|
|
75677
|
-
Imports selected models from LiteLLM instance into the model garden`,
|
|
75678
|
-
args: args84,
|
|
75679
|
-
tool: async (client, args85, ctx) => {
|
|
75680
|
-
const [result, apiCall] = await postV2ModelsLitellmImport(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75681
|
-
if (!result.ok) {
|
|
75682
|
-
return {
|
|
75683
|
-
content: [{ type: "text", text: result.error.message }],
|
|
75684
|
-
isError: true
|
|
75685
|
-
};
|
|
75686
|
-
}
|
|
75687
|
-
const value = result.value;
|
|
75688
|
-
return formatResult(value, apiCall);
|
|
75689
|
-
}
|
|
75690
|
-
};
|
|
75691
|
-
});
|
|
75692
|
-
|
|
75693
74327
|
// src/funcs/promptsCreate.ts
|
|
75694
74328
|
function promptsCreate(client, request, options) {
|
|
75695
|
-
return new APIPromise($
|
|
74329
|
+
return new APIPromise($do85(client, request, options));
|
|
75696
74330
|
}
|
|
75697
|
-
async function $
|
|
74331
|
+
async function $do85(client, request, options) {
|
|
75698
74332
|
const parsed = safeParse(request, (value) => CreatePromptRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
75699
74333
|
if (!parsed.ok) {
|
|
75700
74334
|
return [parsed, { status: "invalid" }];
|
|
@@ -75761,20 +74395,20 @@ var init_promptsCreate = __esm(() => {
|
|
|
75761
74395
|
});
|
|
75762
74396
|
|
|
75763
74397
|
// src/mcp-server/tools/promptsCreate.ts
|
|
75764
|
-
var
|
|
74398
|
+
var args84, tool$promptsCreate;
|
|
75765
74399
|
var init_promptsCreate2 = __esm(() => {
|
|
75766
74400
|
init_promptsCreate();
|
|
75767
74401
|
init_operations();
|
|
75768
74402
|
init_tools();
|
|
75769
|
-
|
|
74403
|
+
args84 = {
|
|
75770
74404
|
request: CreatePromptRequestBody$inboundSchema.optional()
|
|
75771
74405
|
};
|
|
75772
74406
|
tool$promptsCreate = {
|
|
75773
74407
|
name: "prompts-create",
|
|
75774
74408
|
description: `Create a prompt`,
|
|
75775
|
-
args:
|
|
75776
|
-
tool: async (client,
|
|
75777
|
-
const [result, apiCall] = await promptsCreate(client,
|
|
74409
|
+
args: args84,
|
|
74410
|
+
tool: async (client, args85, ctx) => {
|
|
74411
|
+
const [result, apiCall] = await promptsCreate(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75778
74412
|
if (!result.ok) {
|
|
75779
74413
|
return {
|
|
75780
74414
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75789,9 +74423,9 @@ var init_promptsCreate2 = __esm(() => {
|
|
|
75789
74423
|
|
|
75790
74424
|
// src/funcs/promptsDelete.ts
|
|
75791
74425
|
function promptsDelete(client, request, options) {
|
|
75792
|
-
return new APIPromise($
|
|
74426
|
+
return new APIPromise($do86(client, request, options));
|
|
75793
74427
|
}
|
|
75794
|
-
async function $
|
|
74428
|
+
async function $do86(client, request, options) {
|
|
75795
74429
|
const parsed = safeParse(request, (value) => DeletePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75796
74430
|
if (!parsed.ok) {
|
|
75797
74431
|
return [parsed, { status: "invalid" }];
|
|
@@ -75864,20 +74498,20 @@ var init_promptsDelete = __esm(() => {
|
|
|
75864
74498
|
});
|
|
75865
74499
|
|
|
75866
74500
|
// src/mcp-server/tools/promptsDelete.ts
|
|
75867
|
-
var
|
|
74501
|
+
var args85, tool$promptsDelete;
|
|
75868
74502
|
var init_promptsDelete2 = __esm(() => {
|
|
75869
74503
|
init_promptsDelete();
|
|
75870
74504
|
init_operations();
|
|
75871
74505
|
init_tools();
|
|
75872
|
-
|
|
74506
|
+
args85 = {
|
|
75873
74507
|
request: DeletePromptRequest$inboundSchema
|
|
75874
74508
|
};
|
|
75875
74509
|
tool$promptsDelete = {
|
|
75876
74510
|
name: "prompts-delete",
|
|
75877
74511
|
description: `Delete a prompt`,
|
|
75878
|
-
args:
|
|
75879
|
-
tool: async (client,
|
|
75880
|
-
const [result, apiCall] = await promptsDelete(client,
|
|
74512
|
+
args: args85,
|
|
74513
|
+
tool: async (client, args86, ctx) => {
|
|
74514
|
+
const [result, apiCall] = await promptsDelete(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75881
74515
|
if (!result.ok) {
|
|
75882
74516
|
return {
|
|
75883
74517
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75891,9 +74525,9 @@ var init_promptsDelete2 = __esm(() => {
|
|
|
75891
74525
|
|
|
75892
74526
|
// src/funcs/promptsGetVersion.ts
|
|
75893
74527
|
function promptsGetVersion(client, request, options) {
|
|
75894
|
-
return new APIPromise($
|
|
74528
|
+
return new APIPromise($do87(client, request, options));
|
|
75895
74529
|
}
|
|
75896
|
-
async function $
|
|
74530
|
+
async function $do87(client, request, options) {
|
|
75897
74531
|
const parsed = safeParse(request, (value) => GetPromptVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75898
74532
|
if (!parsed.ok) {
|
|
75899
74533
|
return [parsed, { status: "invalid" }];
|
|
@@ -75973,12 +74607,12 @@ var init_promptsGetVersion = __esm(() => {
|
|
|
75973
74607
|
});
|
|
75974
74608
|
|
|
75975
74609
|
// src/mcp-server/tools/promptsGetVersion.ts
|
|
75976
|
-
var
|
|
74610
|
+
var args86, tool$promptsGetVersion;
|
|
75977
74611
|
var init_promptsGetVersion2 = __esm(() => {
|
|
75978
74612
|
init_promptsGetVersion();
|
|
75979
74613
|
init_operations();
|
|
75980
74614
|
init_tools();
|
|
75981
|
-
|
|
74615
|
+
args86 = {
|
|
75982
74616
|
request: GetPromptVersionRequest$inboundSchema
|
|
75983
74617
|
};
|
|
75984
74618
|
tool$promptsGetVersion = {
|
|
@@ -75986,9 +74620,9 @@ var init_promptsGetVersion2 = __esm(() => {
|
|
|
75986
74620
|
description: `Retrieve a prompt version
|
|
75987
74621
|
|
|
75988
74622
|
Retrieves a specific version of a prompt by its ID and version ID.`,
|
|
75989
|
-
args:
|
|
75990
|
-
tool: async (client,
|
|
75991
|
-
const [result, apiCall] = await promptsGetVersion(client,
|
|
74623
|
+
args: args86,
|
|
74624
|
+
tool: async (client, args87, ctx) => {
|
|
74625
|
+
const [result, apiCall] = await promptsGetVersion(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75992
74626
|
if (!result.ok) {
|
|
75993
74627
|
return {
|
|
75994
74628
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76003,9 +74637,9 @@ Retrieves a specific version of a prompt by its ID and version ID.`,
|
|
|
76003
74637
|
|
|
76004
74638
|
// src/funcs/promptsList.ts
|
|
76005
74639
|
function promptsList(client, request, options) {
|
|
76006
|
-
return new APIPromise($
|
|
74640
|
+
return new APIPromise($do88(client, request, options));
|
|
76007
74641
|
}
|
|
76008
|
-
async function $
|
|
74642
|
+
async function $do88(client, request, options) {
|
|
76009
74643
|
const parsed = safeParse(request, (value) => GetAllPromptsRequest$outboundSchema.optional().parse(value), "Input validation failed");
|
|
76010
74644
|
if (!parsed.ok) {
|
|
76011
74645
|
return [parsed, { status: "invalid" }];
|
|
@@ -76077,12 +74711,12 @@ var init_promptsList = __esm(() => {
|
|
|
76077
74711
|
});
|
|
76078
74712
|
|
|
76079
74713
|
// src/mcp-server/tools/promptsList.ts
|
|
76080
|
-
var
|
|
74714
|
+
var args87, tool$promptsList;
|
|
76081
74715
|
var init_promptsList2 = __esm(() => {
|
|
76082
74716
|
init_promptsList();
|
|
76083
74717
|
init_operations();
|
|
76084
74718
|
init_tools();
|
|
76085
|
-
|
|
74719
|
+
args87 = {
|
|
76086
74720
|
request: GetAllPromptsRequest$inboundSchema.optional()
|
|
76087
74721
|
};
|
|
76088
74722
|
tool$promptsList = {
|
|
@@ -76090,9 +74724,9 @@ var init_promptsList2 = __esm(() => {
|
|
|
76090
74724
|
description: `List all prompts
|
|
76091
74725
|
|
|
76092
74726
|
Returns a list of your prompts. The prompts are returned sorted by creation date, with the most recent prompts appearing first`,
|
|
76093
|
-
args:
|
|
76094
|
-
tool: async (client,
|
|
76095
|
-
const [result, apiCall] = await promptsList(client,
|
|
74727
|
+
args: args87,
|
|
74728
|
+
tool: async (client, args88, ctx) => {
|
|
74729
|
+
const [result, apiCall] = await promptsList(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76096
74730
|
if (!result.ok) {
|
|
76097
74731
|
return {
|
|
76098
74732
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76107,9 +74741,9 @@ Returns a list of your prompts. The prompts are returned sorted by creation date
|
|
|
76107
74741
|
|
|
76108
74742
|
// src/funcs/promptsListVersions.ts
|
|
76109
74743
|
function promptsListVersions(client, request, options) {
|
|
76110
|
-
return new APIPromise($
|
|
74744
|
+
return new APIPromise($do89(client, request, options));
|
|
76111
74745
|
}
|
|
76112
|
-
async function $
|
|
74746
|
+
async function $do89(client, request, options) {
|
|
76113
74747
|
const parsed = safeParse(request, (value) => ListPromptVersionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76114
74748
|
if (!parsed.ok) {
|
|
76115
74749
|
return [parsed, { status: "invalid" }];
|
|
@@ -76187,12 +74821,12 @@ var init_promptsListVersions = __esm(() => {
|
|
|
76187
74821
|
});
|
|
76188
74822
|
|
|
76189
74823
|
// src/mcp-server/tools/promptsListVersions.ts
|
|
76190
|
-
var
|
|
74824
|
+
var args88, tool$promptsListVersions;
|
|
76191
74825
|
var init_promptsListVersions2 = __esm(() => {
|
|
76192
74826
|
init_promptsListVersions();
|
|
76193
74827
|
init_operations();
|
|
76194
74828
|
init_tools();
|
|
76195
|
-
|
|
74829
|
+
args88 = {
|
|
76196
74830
|
request: ListPromptVersionsRequest$inboundSchema
|
|
76197
74831
|
};
|
|
76198
74832
|
tool$promptsListVersions = {
|
|
@@ -76200,9 +74834,9 @@ var init_promptsListVersions2 = __esm(() => {
|
|
|
76200
74834
|
description: `List all prompt versions
|
|
76201
74835
|
|
|
76202
74836
|
Returns a list of your prompt versions. The prompt versions are returned sorted by creation date, with the most recent prompt versions appearing first`,
|
|
76203
|
-
args:
|
|
76204
|
-
tool: async (client,
|
|
76205
|
-
const [result, apiCall] = await promptsListVersions(client,
|
|
74837
|
+
args: args88,
|
|
74838
|
+
tool: async (client, args89, ctx) => {
|
|
74839
|
+
const [result, apiCall] = await promptsListVersions(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76206
74840
|
if (!result.ok) {
|
|
76207
74841
|
return {
|
|
76208
74842
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76217,9 +74851,9 @@ Returns a list of your prompt versions. The prompt versions are returned sorted
|
|
|
76217
74851
|
|
|
76218
74852
|
// src/funcs/promptsRetrieve.ts
|
|
76219
74853
|
function promptsRetrieve(client, request, options) {
|
|
76220
|
-
return new APIPromise($
|
|
74854
|
+
return new APIPromise($do90(client, request, options));
|
|
76221
74855
|
}
|
|
76222
|
-
async function $
|
|
74856
|
+
async function $do90(client, request, options) {
|
|
76223
74857
|
const parsed = safeParse(request, (value) => GetOnePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76224
74858
|
if (!parsed.ok) {
|
|
76225
74859
|
return [parsed, { status: "invalid" }];
|
|
@@ -76291,12 +74925,12 @@ var init_promptsRetrieve = __esm(() => {
|
|
|
76291
74925
|
});
|
|
76292
74926
|
|
|
76293
74927
|
// src/mcp-server/tools/promptsRetrieve.ts
|
|
76294
|
-
var
|
|
74928
|
+
var args89, tool$promptsRetrieve;
|
|
76295
74929
|
var init_promptsRetrieve2 = __esm(() => {
|
|
76296
74930
|
init_promptsRetrieve();
|
|
76297
74931
|
init_operations();
|
|
76298
74932
|
init_tools();
|
|
76299
|
-
|
|
74933
|
+
args89 = {
|
|
76300
74934
|
request: GetOnePromptRequest$inboundSchema
|
|
76301
74935
|
};
|
|
76302
74936
|
tool$promptsRetrieve = {
|
|
@@ -76304,9 +74938,9 @@ var init_promptsRetrieve2 = __esm(() => {
|
|
|
76304
74938
|
description: `Retrieve a prompt
|
|
76305
74939
|
|
|
76306
74940
|
Retrieves a prompt object`,
|
|
76307
|
-
args:
|
|
76308
|
-
tool: async (client,
|
|
76309
|
-
const [result, apiCall] = await promptsRetrieve(client,
|
|
74941
|
+
args: args89,
|
|
74942
|
+
tool: async (client, args90, ctx) => {
|
|
74943
|
+
const [result, apiCall] = await promptsRetrieve(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76310
74944
|
if (!result.ok) {
|
|
76311
74945
|
return {
|
|
76312
74946
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76321,9 +74955,9 @@ Retrieves a prompt object`,
|
|
|
76321
74955
|
|
|
76322
74956
|
// src/funcs/promptsUpdate.ts
|
|
76323
74957
|
function promptsUpdate(client, request, options) {
|
|
76324
|
-
return new APIPromise($
|
|
74958
|
+
return new APIPromise($do91(client, request, options));
|
|
76325
74959
|
}
|
|
76326
|
-
async function $
|
|
74960
|
+
async function $do91(client, request, options) {
|
|
76327
74961
|
const parsed = safeParse(request, (value) => UpdatePromptRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76328
74962
|
if (!parsed.ok) {
|
|
76329
74963
|
return [parsed, { status: "invalid" }];
|
|
@@ -76400,20 +75034,20 @@ var init_promptsUpdate = __esm(() => {
|
|
|
76400
75034
|
});
|
|
76401
75035
|
|
|
76402
75036
|
// src/mcp-server/tools/promptsUpdate.ts
|
|
76403
|
-
var
|
|
75037
|
+
var args90, tool$promptsUpdate;
|
|
76404
75038
|
var init_promptsUpdate2 = __esm(() => {
|
|
76405
75039
|
init_promptsUpdate();
|
|
76406
75040
|
init_operations();
|
|
76407
75041
|
init_tools();
|
|
76408
|
-
|
|
75042
|
+
args90 = {
|
|
76409
75043
|
request: UpdatePromptRequest$inboundSchema
|
|
76410
75044
|
};
|
|
76411
75045
|
tool$promptsUpdate = {
|
|
76412
75046
|
name: "prompts-update",
|
|
76413
75047
|
description: `Update a prompt`,
|
|
76414
|
-
args:
|
|
76415
|
-
tool: async (client,
|
|
76416
|
-
const [result, apiCall] = await promptsUpdate(client,
|
|
75048
|
+
args: args90,
|
|
75049
|
+
tool: async (client, args91, ctx) => {
|
|
75050
|
+
const [result, apiCall] = await promptsUpdate(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76417
75051
|
if (!result.ok) {
|
|
76418
75052
|
return {
|
|
76419
75053
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76428,9 +75062,9 @@ var init_promptsUpdate2 = __esm(() => {
|
|
|
76428
75062
|
|
|
76429
75063
|
// src/funcs/remoteconfigsRetrieve.ts
|
|
76430
75064
|
function remoteconfigsRetrieve(client, request, options) {
|
|
76431
|
-
return new APIPromise($
|
|
75065
|
+
return new APIPromise($do92(client, request, options));
|
|
76432
75066
|
}
|
|
76433
|
-
async function $
|
|
75067
|
+
async function $do92(client, request, options) {
|
|
76434
75068
|
const parsed = safeParse(request, (value) => RemoteConfigsGetConfigRequestBody$outboundSchema.optional().parse(value), "Input validation failed");
|
|
76435
75069
|
if (!parsed.ok) {
|
|
76436
75070
|
return [parsed, { status: "invalid" }];
|
|
@@ -76497,20 +75131,20 @@ var init_remoteconfigsRetrieve = __esm(() => {
|
|
|
76497
75131
|
});
|
|
76498
75132
|
|
|
76499
75133
|
// src/mcp-server/tools/remoteconfigsRetrieve.ts
|
|
76500
|
-
var
|
|
75134
|
+
var args91, tool$remoteconfigsRetrieve;
|
|
76501
75135
|
var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
76502
75136
|
init_remoteconfigsRetrieve();
|
|
76503
75137
|
init_operations();
|
|
76504
75138
|
init_tools();
|
|
76505
|
-
|
|
75139
|
+
args91 = {
|
|
76506
75140
|
request: RemoteConfigsGetConfigRequestBody$inboundSchema.optional()
|
|
76507
75141
|
};
|
|
76508
75142
|
tool$remoteconfigsRetrieve = {
|
|
76509
75143
|
name: "remoteconfigs-retrieve",
|
|
76510
75144
|
description: `Retrieve a remote config`,
|
|
76511
|
-
args:
|
|
76512
|
-
tool: async (client,
|
|
76513
|
-
const [result, apiCall] = await remoteconfigsRetrieve(client,
|
|
75145
|
+
args: args91,
|
|
75146
|
+
tool: async (client, args92, ctx) => {
|
|
75147
|
+
const [result, apiCall] = await remoteconfigsRetrieve(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76514
75148
|
if (!result.ok) {
|
|
76515
75149
|
return {
|
|
76516
75150
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76527,7 +75161,7 @@ var init_remoteconfigsRetrieve2 = __esm(() => {
|
|
|
76527
75161
|
function createMCPServer(deps) {
|
|
76528
75162
|
const server = new McpServer({
|
|
76529
75163
|
name: "Orq",
|
|
76530
|
-
version: "3.8.0-rc.
|
|
75164
|
+
version: "3.8.0-rc.34"
|
|
76531
75165
|
});
|
|
76532
75166
|
const client = new OrqCore({
|
|
76533
75167
|
apiKey: deps.apiKey,
|
|
@@ -76543,8 +75177,6 @@ function createMCPServer(deps) {
|
|
|
76543
75177
|
const resourceTemplate = createRegisterResourceTemplate(deps.logger, server, client, scopes);
|
|
76544
75178
|
const prompt = createRegisterPrompt(deps.logger, server, client, scopes);
|
|
76545
75179
|
const register = { tool, resource, resourceTemplate, prompt };
|
|
76546
|
-
tool(tool$getV2ModelsLitellmModels);
|
|
76547
|
-
tool(tool$postV2ModelsLitellmImport);
|
|
76548
75180
|
tool(tool$contactsCreate);
|
|
76549
75181
|
tool(tool$contactsList);
|
|
76550
75182
|
tool(tool$contactsRetrieve);
|
|
@@ -76711,7 +75343,6 @@ var init_server2 = __esm(() => {
|
|
|
76711
75343
|
init_filesDelete2();
|
|
76712
75344
|
init_filesGet2();
|
|
76713
75345
|
init_filesList2();
|
|
76714
|
-
init_getV2ModelsLitellmModels2();
|
|
76715
75346
|
init_knowledgeCreate2();
|
|
76716
75347
|
init_knowledgeCreateChunks2();
|
|
76717
75348
|
init_knowledgeCreateDatasource2();
|
|
@@ -76729,7 +75360,6 @@ var init_server2 = __esm(() => {
|
|
|
76729
75360
|
init_knowledgeUpdateChunk2();
|
|
76730
75361
|
init_knowledgeUpdateDatasource2();
|
|
76731
75362
|
init_modelsList2();
|
|
76732
|
-
init_postV2ModelsLitellmImport2();
|
|
76733
75363
|
init_promptsCreate2();
|
|
76734
75364
|
init_promptsDelete2();
|
|
76735
75365
|
init_promptsGetVersion2();
|
|
@@ -77951,7 +76581,7 @@ var routes = rn({
|
|
|
77951
76581
|
var app = Ve(routes, {
|
|
77952
76582
|
name: "mcp",
|
|
77953
76583
|
versionInfo: {
|
|
77954
|
-
currentVersion: "3.8.0-rc.
|
|
76584
|
+
currentVersion: "3.8.0-rc.34"
|
|
77955
76585
|
}
|
|
77956
76586
|
});
|
|
77957
76587
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -77959,5 +76589,5 @@ export {
|
|
|
77959
76589
|
app
|
|
77960
76590
|
};
|
|
77961
76591
|
|
|
77962
|
-
//# debugId=
|
|
76592
|
+
//# debugId=0345483F6759D05B64756E2164756E21
|
|
77963
76593
|
//# sourceMappingURL=mcp-server.js.map
|