@orq-ai/node 3.13.10 → 3.13.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +107 -93
- package/bin/mcp-server.js +44131 -41116
- package/bin/mcp-server.js.map +118 -99
- package/docs/sdks/agents/README.md +566 -0
- package/examples/package-lock.json +1 -1
- package/funcs/agentsCreate.d.ts +18 -0
- package/funcs/agentsCreate.d.ts.map +1 -0
- package/funcs/agentsCreate.js +120 -0
- package/funcs/agentsCreate.js.map +1 -0
- package/funcs/agentsDelete.d.ts +18 -0
- package/funcs/agentsDelete.d.ts.map +1 -0
- package/funcs/agentsDelete.js +124 -0
- package/funcs/agentsDelete.js.map +1 -0
- package/funcs/agentsInvoke.d.ts +17 -0
- package/funcs/agentsInvoke.d.ts.map +1 -0
- package/funcs/agentsInvoke.js +120 -0
- package/funcs/agentsInvoke.js.map +1 -0
- package/funcs/agentsStream.d.ts +19 -0
- package/funcs/agentsStream.d.ts.map +1 -0
- package/funcs/agentsStream.js +134 -0
- package/funcs/agentsStream.js.map +1 -0
- package/funcs/agentsUpdate.d.ts +18 -0
- package/funcs/agentsUpdate.d.ts.map +1 -0
- package/funcs/agentsUpdate.js +124 -0
- package/funcs/agentsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/lib/env.d.ts.map +1 -1
- package/lib/env.js +18 -1
- package/lib/env.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +11 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/agentsCreate.d.ts +8 -0
- package/mcp-server/tools/agentsCreate.d.ts.map +1 -0
- package/mcp-server/tools/agentsCreate.js +64 -0
- package/mcp-server/tools/agentsCreate.js.map +1 -0
- package/mcp-server/tools/agentsDelete.d.ts +8 -0
- package/mcp-server/tools/agentsDelete.d.ts.map +1 -0
- package/mcp-server/tools/agentsDelete.js +63 -0
- package/mcp-server/tools/agentsDelete.js.map +1 -0
- package/mcp-server/tools/agentsInvoke.d.ts +8 -0
- package/mcp-server/tools/agentsInvoke.d.ts.map +1 -0
- package/mcp-server/tools/agentsInvoke.js +64 -0
- package/mcp-server/tools/agentsInvoke.js.map +1 -0
- package/mcp-server/tools/agentsStream.d.ts +8 -0
- package/mcp-server/tools/agentsStream.d.ts.map +1 -0
- package/mcp-server/tools/agentsStream.js +64 -0
- package/mcp-server/tools/agentsStream.js.map +1 -0
- package/mcp-server/tools/agentsUpdate.d.ts +8 -0
- package/mcp-server/tools/agentsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/agentsUpdate.js +64 -0
- package/mcp-server/tools/agentsUpdate.js.map +1 -0
- package/models/errors/createagent.d.ts +41 -0
- package/models/errors/createagent.d.ts.map +1 -0
- package/models/errors/createagent.js +85 -0
- package/models/errors/createagent.js.map +1 -0
- package/models/errors/deleteagent.d.ts +41 -0
- package/models/errors/deleteagent.d.ts.map +1 -0
- package/models/errors/deleteagent.js +85 -0
- package/models/errors/deleteagent.js.map +1 -0
- package/models/errors/index.d.ts +4 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +4 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/streamagent.d.ts +41 -0
- package/models/errors/streamagent.d.ts.map +1 -0
- package/models/errors/streamagent.js +85 -0
- package/models/errors/streamagent.js.map +1 -0
- package/models/errors/updateagent.d.ts +41 -0
- package/models/errors/updateagent.d.ts.map +1 -0
- package/models/errors/updateagent.js +85 -0
- package/models/errors/updateagent.js.map +1 -0
- package/models/operations/createagent.d.ts +1504 -0
- package/models/operations/createagent.d.ts.map +1 -0
- package/models/operations/createagent.js +1530 -0
- package/models/operations/createagent.js.map +1 -0
- package/models/operations/createbudget.js +2 -2
- 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 +28 -28
- package/models/operations/createtool.d.ts +20 -20
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +34 -34
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deleteagent.d.ts +32 -0
- package/models/operations/deleteagent.d.ts.map +1 -0
- package/models/operations/deleteagent.js +78 -0
- package/models/operations/deleteagent.js.map +1 -0
- package/models/operations/duplicatetool.d.ts +10 -10
- package/models/operations/duplicatetool.d.ts.map +1 -1
- package/models/operations/duplicatetool.js +20 -20
- package/models/operations/duplicatetool.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/getagent.d.ts +44 -175
- package/models/operations/getagent.d.ts.map +1 -1
- package/models/operations/getagent.js +51 -184
- package/models/operations/getagent.js.map +1 -1
- package/models/operations/getalltools.d.ts +10 -10
- package/models/operations/getalltools.d.ts.map +1 -1
- package/models/operations/getalltools.js +20 -20
- package/models/operations/getalltools.js.map +1 -1
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/invokeagent.d.ts +912 -0
- package/models/operations/invokeagent.d.ts.map +1 -0
- package/models/operations/invokeagent.js +824 -0
- package/models/operations/invokeagent.js.map +1 -0
- package/models/operations/listagents.d.ts +6 -137
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +3 -139
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +5 -0
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +2 -0
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- 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/retrievetool.d.ts +10 -10
- package/models/operations/retrievetool.d.ts.map +1 -1
- package/models/operations/retrievetool.js +20 -20
- package/models/operations/retrievetool.js.map +1 -1
- package/models/operations/runagent.d.ts +640 -721
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +817 -928
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +676 -0
- package/models/operations/streamagent.d.ts.map +1 -0
- package/models/operations/streamagent.js +670 -0
- package/models/operations/streamagent.js.map +1 -0
- package/models/operations/streamrunagent.d.ts +567 -648
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +721 -835
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +1515 -0
- package/models/operations/updateagent.d.ts.map +1 -0
- package/models/operations/updateagent.js +1576 -0
- package/models/operations/updateagent.js.map +1 -0
- package/models/operations/updatebudget.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 +28 -28
- package/models/operations/updatetool.d.ts +18 -18
- package/models/operations/updatetool.d.ts.map +1 -1
- package/models/operations/updatetool.js +36 -36
- package/models/operations/updatetool.js.map +1 -1
- package/package.json +1 -1
- package/packages/orq-rc/README.md +103 -94
- package/packages/orq-rc/docs/sdks/agents/README.md +297 -0
- package/packages/orq-rc/examples/package-lock.json +1 -1
- package/packages/orq-rc/jsr.json +1 -1
- package/packages/orq-rc/package-lock.json +2 -2
- package/packages/orq-rc/package.json +1 -1
- package/packages/orq-rc/src/funcs/agentsCreate.ts +172 -0
- package/packages/orq-rc/src/funcs/agentsDelete.ts +176 -0
- package/packages/orq-rc/src/funcs/agentsUpdate.ts +176 -0
- package/packages/orq-rc/src/lib/config.ts +3 -3
- package/packages/orq-rc/src/lib/env.ts +20 -3
- package/packages/orq-rc/src/mcp-server/mcp-server.ts +1 -1
- package/packages/orq-rc/src/mcp-server/server.ts +7 -1
- package/packages/orq-rc/src/mcp-server/tools/agentsCreate.ts +37 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsDelete.ts +35 -0
- package/packages/orq-rc/src/mcp-server/tools/agentsUpdate.ts +37 -0
- package/packages/orq-rc/src/models/components/deployments.ts +6 -6
- package/packages/orq-rc/src/models/errors/createagent.ts +80 -0
- package/packages/orq-rc/src/models/errors/deleteagent.ts +80 -0
- package/packages/orq-rc/src/models/errors/index.ts +3 -0
- package/packages/orq-rc/src/models/errors/updateagent.ts +80 -0
- package/packages/orq-rc/src/models/operations/createagent.ts +3027 -0
- package/packages/orq-rc/src/models/operations/createbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/createcontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/createdatasetitem.ts +14 -14
- package/packages/orq-rc/src/models/operations/createdatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/createeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/createtool.ts +50 -50
- package/packages/orq-rc/src/models/operations/deleteagent.ts +78 -0
- package/packages/orq-rc/src/models/operations/deploymentcreatemetric.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +6 -6
- package/packages/orq-rc/src/models/operations/deploymentstream.ts +6 -6
- package/packages/orq-rc/src/models/operations/duplicatetool.ts +30 -30
- package/packages/orq-rc/src/models/operations/fileget.ts +2 -2
- package/packages/orq-rc/src/models/operations/filelist.ts +2 -2
- package/packages/orq-rc/src/models/operations/fileupload.ts +2 -2
- package/packages/orq-rc/src/models/operations/getagent.ts +87 -387
- package/packages/orq-rc/src/models/operations/getalltools.ts +30 -30
- package/packages/orq-rc/src/models/operations/getbudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/getevals.ts +28 -28
- package/packages/orq-rc/src/models/operations/index.ts +3 -0
- package/packages/orq-rc/src/models/operations/invokeagent.ts +12 -4
- package/packages/orq-rc/src/models/operations/listagents.ts +8 -321
- package/packages/orq-rc/src/models/operations/listagenttasks.ts +7 -0
- package/packages/orq-rc/src/models/operations/listbudgets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listcontacts.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +11 -11
- package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
- package/packages/orq-rc/src/models/operations/listdatasources.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +11 -11
- package/packages/orq-rc/src/models/operations/retrievedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/retrievetool.ts +30 -30
- package/packages/orq-rc/src/models/operations/runagent.ts +1003 -1113
- package/packages/orq-rc/src/models/operations/streamagent.ts +4 -2
- package/packages/orq-rc/src/models/operations/streamrunagent.ts +1276 -1427
- package/packages/orq-rc/src/models/operations/updateagent.ts +3239 -0
- package/packages/orq-rc/src/models/operations/updatebudget.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatecontact.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatapoint.ts +14 -14
- package/packages/orq-rc/src/models/operations/updatedataset.ts +2 -2
- package/packages/orq-rc/src/models/operations/updatedatasource.ts +2 -2
- package/packages/orq-rc/src/models/operations/updateeval.ts +28 -28
- package/packages/orq-rc/src/models/operations/updatetool.ts +56 -56
- package/packages/orq-rc/src/sdk/agents.ts +54 -0
- package/sdk/agents.d.ts +35 -0
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +50 -0
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsCreate.ts +172 -0
- package/src/funcs/agentsDelete.ts +176 -0
- package/src/funcs/agentsInvoke.ts +167 -0
- package/src/funcs/agentsStream.ts +191 -0
- package/src/funcs/agentsUpdate.ts +176 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/env.ts +20 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -1
- package/src/mcp-server/tools/agentsCreate.ts +37 -0
- package/src/mcp-server/tools/agentsDelete.ts +35 -0
- package/src/mcp-server/tools/agentsInvoke.ts +37 -0
- package/src/mcp-server/tools/agentsStream.ts +37 -0
- package/src/mcp-server/tools/agentsUpdate.ts +37 -0
- package/src/models/errors/createagent.ts +80 -0
- package/src/models/errors/deleteagent.ts +80 -0
- package/src/models/errors/index.ts +4 -0
- package/src/models/errors/streamagent.ts +80 -0
- package/src/models/errors/updateagent.ts +80 -0
- package/src/models/operations/createagent.ts +3021 -0
- package/src/models/operations/createbudget.ts +2 -2
- 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 +28 -28
- package/src/models/operations/createtool.ts +54 -54
- package/src/models/operations/deleteagent.ts +78 -0
- package/src/models/operations/duplicatetool.ts +30 -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/getagent.ts +87 -387
- package/src/models/operations/getalltools.ts +30 -30
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/invokeagent.ts +1569 -0
- package/src/models/operations/listagents.ts +8 -321
- package/src/models/operations/listagenttasks.ts +7 -0
- package/src/models/operations/listbudgets.ts +2 -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/retrievetool.ts +30 -30
- package/src/models/operations/runagent.ts +1441 -1488
- package/src/models/operations/streamagent.ts +1367 -0
- package/src/models/operations/streamrunagent.ts +1542 -1657
- package/src/models/operations/updateagent.ts +3227 -0
- package/src/models/operations/updatebudget.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 +28 -28
- package/src/models/operations/updatetool.ts +60 -60
- package/src/sdk/agents.ts +90 -0
|
@@ -67,7 +67,7 @@ export type RequestBody5 = {
|
|
|
67
67
|
/**
|
|
68
68
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
69
69
|
*/
|
|
70
|
-
displayName
|
|
70
|
+
displayName?: string | undefined;
|
|
71
71
|
/**
|
|
72
72
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
73
73
|
*/
|
|
@@ -181,7 +181,7 @@ export type RequestBody4 = {
|
|
|
181
181
|
/**
|
|
182
182
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
183
183
|
*/
|
|
184
|
-
displayName
|
|
184
|
+
displayName?: string | undefined;
|
|
185
185
|
/**
|
|
186
186
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
187
187
|
*/
|
|
@@ -323,7 +323,7 @@ export type RequestBody3 = {
|
|
|
323
323
|
/**
|
|
324
324
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
325
325
|
*/
|
|
326
|
-
displayName
|
|
326
|
+
displayName?: string | undefined;
|
|
327
327
|
/**
|
|
328
328
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
329
329
|
*/
|
|
@@ -396,7 +396,7 @@ export type CreateToolRequestBody2 = {
|
|
|
396
396
|
/**
|
|
397
397
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
398
398
|
*/
|
|
399
|
-
displayName
|
|
399
|
+
displayName?: string | undefined;
|
|
400
400
|
/**
|
|
401
401
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
402
402
|
*/
|
|
@@ -467,7 +467,7 @@ export type CreateToolRequestBody1 = {
|
|
|
467
467
|
/**
|
|
468
468
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
469
469
|
*/
|
|
470
|
-
displayName
|
|
470
|
+
displayName?: string | undefined;
|
|
471
471
|
/**
|
|
472
472
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
473
473
|
*/
|
|
@@ -548,7 +548,7 @@ export type ResponseBody5 = {
|
|
|
548
548
|
/**
|
|
549
549
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
550
550
|
*/
|
|
551
|
-
displayName
|
|
551
|
+
displayName?: string | undefined;
|
|
552
552
|
/**
|
|
553
553
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
554
554
|
*/
|
|
@@ -677,7 +677,7 @@ export type ResponseBody4 = {
|
|
|
677
677
|
/**
|
|
678
678
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
679
679
|
*/
|
|
680
|
-
displayName
|
|
680
|
+
displayName?: string | undefined;
|
|
681
681
|
/**
|
|
682
682
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
683
683
|
*/
|
|
@@ -832,7 +832,7 @@ export type ResponseBody3 = {
|
|
|
832
832
|
/**
|
|
833
833
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
834
834
|
*/
|
|
835
|
-
displayName
|
|
835
|
+
displayName?: string | undefined;
|
|
836
836
|
/**
|
|
837
837
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
838
838
|
*/
|
|
@@ -919,7 +919,7 @@ export type CreateToolResponseBody2 = {
|
|
|
919
919
|
/**
|
|
920
920
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
921
921
|
*/
|
|
922
|
-
displayName
|
|
922
|
+
displayName?: string | undefined;
|
|
923
923
|
/**
|
|
924
924
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
925
925
|
*/
|
|
@@ -1004,7 +1004,7 @@ export type CreateToolResponseBody1 = {
|
|
|
1004
1004
|
/**
|
|
1005
1005
|
* The name of the tool as it will be displayed in the UI. This is optional and if not provided, the `key` will be used.
|
|
1006
1006
|
*/
|
|
1007
|
-
displayName
|
|
1007
|
+
displayName?: string | undefined;
|
|
1008
1008
|
/**
|
|
1009
1009
|
* A description of the tool, used by the model to choose when and how to call the tool. We do recommend using the `description` field as accurate as possible to give enough context to the model to make the right decision.
|
|
1010
1010
|
*/
|
|
@@ -1176,7 +1176,7 @@ export const RequestBody5$inboundSchema: z.ZodType<
|
|
|
1176
1176
|
> = z.object({
|
|
1177
1177
|
path: z.string(),
|
|
1178
1178
|
key: z.string(),
|
|
1179
|
-
display_name: z.string(),
|
|
1179
|
+
display_name: z.string().optional(),
|
|
1180
1180
|
description: z.string(),
|
|
1181
1181
|
status: CreateToolRequestBodyToolsRequest5Status$inboundSchema.default(
|
|
1182
1182
|
"live",
|
|
@@ -1194,7 +1194,7 @@ export const RequestBody5$inboundSchema: z.ZodType<
|
|
|
1194
1194
|
export type RequestBody5$Outbound = {
|
|
1195
1195
|
path: string;
|
|
1196
1196
|
key: string;
|
|
1197
|
-
display_name
|
|
1197
|
+
display_name?: string | undefined;
|
|
1198
1198
|
description: string;
|
|
1199
1199
|
status: string;
|
|
1200
1200
|
type: string;
|
|
@@ -1209,7 +1209,7 @@ export const RequestBody5$outboundSchema: z.ZodType<
|
|
|
1209
1209
|
> = z.object({
|
|
1210
1210
|
path: z.string(),
|
|
1211
1211
|
key: z.string(),
|
|
1212
|
-
displayName: z.string(),
|
|
1212
|
+
displayName: z.string().optional(),
|
|
1213
1213
|
description: z.string(),
|
|
1214
1214
|
status: CreateToolRequestBodyToolsRequest5Status$outboundSchema.default(
|
|
1215
1215
|
"live",
|
|
@@ -1530,7 +1530,7 @@ export const RequestBody4$inboundSchema: z.ZodType<
|
|
|
1530
1530
|
> = z.object({
|
|
1531
1531
|
path: z.string(),
|
|
1532
1532
|
key: z.string(),
|
|
1533
|
-
display_name: z.string(),
|
|
1533
|
+
display_name: z.string().optional(),
|
|
1534
1534
|
description: z.string(),
|
|
1535
1535
|
status: CreateToolRequestBodyToolsRequestStatus$inboundSchema.default("live"),
|
|
1536
1536
|
type: CreateToolRequestBodyToolsRequest4Type$inboundSchema,
|
|
@@ -1545,7 +1545,7 @@ export const RequestBody4$inboundSchema: z.ZodType<
|
|
|
1545
1545
|
export type RequestBody4$Outbound = {
|
|
1546
1546
|
path: string;
|
|
1547
1547
|
key: string;
|
|
1548
|
-
display_name
|
|
1548
|
+
display_name?: string | undefined;
|
|
1549
1549
|
description: string;
|
|
1550
1550
|
status: string;
|
|
1551
1551
|
type: string;
|
|
@@ -1560,7 +1560,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
|
|
|
1560
1560
|
> = z.object({
|
|
1561
1561
|
path: z.string(),
|
|
1562
1562
|
key: z.string(),
|
|
1563
|
-
displayName: z.string(),
|
|
1563
|
+
displayName: z.string().optional(),
|
|
1564
1564
|
description: z.string(),
|
|
1565
1565
|
status: CreateToolRequestBodyToolsRequestStatus$outboundSchema.default(
|
|
1566
1566
|
"live",
|
|
@@ -1941,7 +1941,7 @@ export const RequestBody3$inboundSchema: z.ZodType<
|
|
|
1941
1941
|
> = z.object({
|
|
1942
1942
|
path: z.string(),
|
|
1943
1943
|
key: z.string(),
|
|
1944
|
-
display_name: z.string(),
|
|
1944
|
+
display_name: z.string().optional(),
|
|
1945
1945
|
description: z.string(),
|
|
1946
1946
|
status: CreateToolRequestBodyToolsStatus$inboundSchema.default("live"),
|
|
1947
1947
|
type: CreateToolRequestBodyToolsRequestType$inboundSchema,
|
|
@@ -1956,7 +1956,7 @@ export const RequestBody3$inboundSchema: z.ZodType<
|
|
|
1956
1956
|
export type RequestBody3$Outbound = {
|
|
1957
1957
|
path: string;
|
|
1958
1958
|
key: string;
|
|
1959
|
-
display_name
|
|
1959
|
+
display_name?: string | undefined;
|
|
1960
1960
|
description: string;
|
|
1961
1961
|
status: string;
|
|
1962
1962
|
type: string;
|
|
@@ -1971,7 +1971,7 @@ export const RequestBody3$outboundSchema: z.ZodType<
|
|
|
1971
1971
|
> = z.object({
|
|
1972
1972
|
path: z.string(),
|
|
1973
1973
|
key: z.string(),
|
|
1974
|
-
displayName: z.string(),
|
|
1974
|
+
displayName: z.string().optional(),
|
|
1975
1975
|
description: z.string(),
|
|
1976
1976
|
status: CreateToolRequestBodyToolsStatus$outboundSchema.default("live"),
|
|
1977
1977
|
type: CreateToolRequestBodyToolsRequestType$outboundSchema,
|
|
@@ -2122,7 +2122,7 @@ export const CreateToolRequestBody2$inboundSchema: z.ZodType<
|
|
|
2122
2122
|
> = z.object({
|
|
2123
2123
|
path: z.string(),
|
|
2124
2124
|
key: z.string(),
|
|
2125
|
-
display_name: z.string(),
|
|
2125
|
+
display_name: z.string().optional(),
|
|
2126
2126
|
description: z.string(),
|
|
2127
2127
|
status: CreateToolRequestBodyStatus$inboundSchema.default("live"),
|
|
2128
2128
|
type: CreateToolRequestBodyToolsType$inboundSchema,
|
|
@@ -2138,7 +2138,7 @@ export const CreateToolRequestBody2$inboundSchema: z.ZodType<
|
|
|
2138
2138
|
export type CreateToolRequestBody2$Outbound = {
|
|
2139
2139
|
path: string;
|
|
2140
2140
|
key: string;
|
|
2141
|
-
display_name
|
|
2141
|
+
display_name?: string | undefined;
|
|
2142
2142
|
description: string;
|
|
2143
2143
|
status: string;
|
|
2144
2144
|
type: string;
|
|
@@ -2153,7 +2153,7 @@ export const CreateToolRequestBody2$outboundSchema: z.ZodType<
|
|
|
2153
2153
|
> = z.object({
|
|
2154
2154
|
path: z.string(),
|
|
2155
2155
|
key: z.string(),
|
|
2156
|
-
displayName: z.string(),
|
|
2156
|
+
displayName: z.string().optional(),
|
|
2157
2157
|
description: z.string(),
|
|
2158
2158
|
status: CreateToolRequestBodyStatus$outboundSchema.default("live"),
|
|
2159
2159
|
type: CreateToolRequestBodyToolsType$outboundSchema,
|
|
@@ -2309,7 +2309,7 @@ export const CreateToolRequestBody1$inboundSchema: z.ZodType<
|
|
|
2309
2309
|
> = z.object({
|
|
2310
2310
|
path: z.string(),
|
|
2311
2311
|
key: z.string(),
|
|
2312
|
-
display_name: z.string(),
|
|
2312
|
+
display_name: z.string().optional(),
|
|
2313
2313
|
description: z.string(),
|
|
2314
2314
|
status: RequestBodyStatus$inboundSchema.default("live"),
|
|
2315
2315
|
type: CreateToolRequestBodyType$inboundSchema,
|
|
@@ -2324,7 +2324,7 @@ export const CreateToolRequestBody1$inboundSchema: z.ZodType<
|
|
|
2324
2324
|
export type CreateToolRequestBody1$Outbound = {
|
|
2325
2325
|
path: string;
|
|
2326
2326
|
key: string;
|
|
2327
|
-
display_name
|
|
2327
|
+
display_name?: string | undefined;
|
|
2328
2328
|
description: string;
|
|
2329
2329
|
status: string;
|
|
2330
2330
|
type: string;
|
|
@@ -2339,7 +2339,7 @@ export const CreateToolRequestBody1$outboundSchema: z.ZodType<
|
|
|
2339
2339
|
> = z.object({
|
|
2340
2340
|
path: z.string(),
|
|
2341
2341
|
key: z.string(),
|
|
2342
|
-
displayName: z.string(),
|
|
2342
|
+
displayName: z.string().optional(),
|
|
2343
2343
|
description: z.string(),
|
|
2344
2344
|
status: RequestBodyStatus$outboundSchema.default("live"),
|
|
2345
2345
|
type: CreateToolRequestBodyType$outboundSchema,
|
|
@@ -2581,10 +2581,10 @@ export const ResponseBody5$inboundSchema: z.ZodType<
|
|
|
2581
2581
|
z.ZodTypeDef,
|
|
2582
2582
|
unknown
|
|
2583
2583
|
> = z.object({
|
|
2584
|
-
_id: z.string().default("
|
|
2584
|
+
_id: z.string().default("01K7RBQGW4TRN3Q1YYY9066QZG"),
|
|
2585
2585
|
path: z.string(),
|
|
2586
2586
|
key: z.string(),
|
|
2587
|
-
display_name: z.string(),
|
|
2587
|
+
display_name: z.string().optional(),
|
|
2588
2588
|
description: z.string(),
|
|
2589
2589
|
created_by_id: z.string().optional(),
|
|
2590
2590
|
updated_by_id: z.string().optional(),
|
|
@@ -2616,7 +2616,7 @@ export type ResponseBody5$Outbound = {
|
|
|
2616
2616
|
_id: string;
|
|
2617
2617
|
path: string;
|
|
2618
2618
|
key: string;
|
|
2619
|
-
display_name
|
|
2619
|
+
display_name?: string | undefined;
|
|
2620
2620
|
description: string;
|
|
2621
2621
|
created_by_id?: string | undefined;
|
|
2622
2622
|
updated_by_id?: string | undefined;
|
|
@@ -2636,10 +2636,10 @@ export const ResponseBody5$outboundSchema: z.ZodType<
|
|
|
2636
2636
|
z.ZodTypeDef,
|
|
2637
2637
|
ResponseBody5
|
|
2638
2638
|
> = z.object({
|
|
2639
|
-
id: z.string().default("
|
|
2639
|
+
id: z.string().default("01K7RBQGW4TRN3Q1YYY9066QZG"),
|
|
2640
2640
|
path: z.string(),
|
|
2641
2641
|
key: z.string(),
|
|
2642
|
-
displayName: z.string(),
|
|
2642
|
+
displayName: z.string().optional(),
|
|
2643
2643
|
description: z.string(),
|
|
2644
2644
|
createdById: z.string().optional(),
|
|
2645
2645
|
updatedById: z.string().optional(),
|
|
@@ -2995,10 +2995,10 @@ export const ResponseBody4$inboundSchema: z.ZodType<
|
|
|
2995
2995
|
z.ZodTypeDef,
|
|
2996
2996
|
unknown
|
|
2997
2997
|
> = z.object({
|
|
2998
|
-
_id: z.string().default("
|
|
2998
|
+
_id: z.string().default("01K7RBQGW3F89SZ7TB5FY7JTCR"),
|
|
2999
2999
|
path: z.string(),
|
|
3000
3000
|
key: z.string(),
|
|
3001
|
-
display_name: z.string(),
|
|
3001
|
+
display_name: z.string().optional(),
|
|
3002
3002
|
description: z.string(),
|
|
3003
3003
|
created_by_id: z.string().optional(),
|
|
3004
3004
|
updated_by_id: z.string().optional(),
|
|
@@ -3029,7 +3029,7 @@ export type ResponseBody4$Outbound = {
|
|
|
3029
3029
|
_id: string;
|
|
3030
3030
|
path: string;
|
|
3031
3031
|
key: string;
|
|
3032
|
-
display_name
|
|
3032
|
+
display_name?: string | undefined;
|
|
3033
3033
|
description: string;
|
|
3034
3034
|
created_by_id?: string | undefined;
|
|
3035
3035
|
updated_by_id?: string | undefined;
|
|
@@ -3049,10 +3049,10 @@ export const ResponseBody4$outboundSchema: z.ZodType<
|
|
|
3049
3049
|
z.ZodTypeDef,
|
|
3050
3050
|
ResponseBody4
|
|
3051
3051
|
> = z.object({
|
|
3052
|
-
id: z.string().default("
|
|
3052
|
+
id: z.string().default("01K7RBQGW3F89SZ7TB5FY7JTCR"),
|
|
3053
3053
|
path: z.string(),
|
|
3054
3054
|
key: z.string(),
|
|
3055
|
-
displayName: z.string(),
|
|
3055
|
+
displayName: z.string().optional(),
|
|
3056
3056
|
description: z.string(),
|
|
3057
3057
|
createdById: z.string().optional(),
|
|
3058
3058
|
updatedById: z.string().optional(),
|
|
@@ -3447,10 +3447,10 @@ export const ResponseBody3$inboundSchema: z.ZodType<
|
|
|
3447
3447
|
z.ZodTypeDef,
|
|
3448
3448
|
unknown
|
|
3449
3449
|
> = z.object({
|
|
3450
|
-
_id: z.string().default("
|
|
3450
|
+
_id: z.string().default("01K7RBQGW3V16VE9PJPNRE27Q1"),
|
|
3451
3451
|
path: z.string(),
|
|
3452
3452
|
key: z.string(),
|
|
3453
|
-
display_name: z.string(),
|
|
3453
|
+
display_name: z.string().optional(),
|
|
3454
3454
|
description: z.string(),
|
|
3455
3455
|
created_by_id: z.string().optional(),
|
|
3456
3456
|
updated_by_id: z.string().optional(),
|
|
@@ -3479,7 +3479,7 @@ export type ResponseBody3$Outbound = {
|
|
|
3479
3479
|
_id: string;
|
|
3480
3480
|
path: string;
|
|
3481
3481
|
key: string;
|
|
3482
|
-
display_name
|
|
3482
|
+
display_name?: string | undefined;
|
|
3483
3483
|
description: string;
|
|
3484
3484
|
created_by_id?: string | undefined;
|
|
3485
3485
|
updated_by_id?: string | undefined;
|
|
@@ -3499,10 +3499,10 @@ export const ResponseBody3$outboundSchema: z.ZodType<
|
|
|
3499
3499
|
z.ZodTypeDef,
|
|
3500
3500
|
ResponseBody3
|
|
3501
3501
|
> = z.object({
|
|
3502
|
-
id: z.string().default("
|
|
3502
|
+
id: z.string().default("01K7RBQGW3V16VE9PJPNRE27Q1"),
|
|
3503
3503
|
path: z.string(),
|
|
3504
3504
|
key: z.string(),
|
|
3505
|
-
displayName: z.string(),
|
|
3505
|
+
displayName: z.string().optional(),
|
|
3506
3506
|
description: z.string(),
|
|
3507
3507
|
createdById: z.string().optional(),
|
|
3508
3508
|
updatedById: z.string().optional(),
|
|
@@ -3664,10 +3664,10 @@ export const CreateToolResponseBody2$inboundSchema: z.ZodType<
|
|
|
3664
3664
|
z.ZodTypeDef,
|
|
3665
3665
|
unknown
|
|
3666
3666
|
> = z.object({
|
|
3667
|
-
_id: z.string().default("
|
|
3667
|
+
_id: z.string().default("01K7RBQGW1PWZ467XTKYR4BKCW"),
|
|
3668
3668
|
path: z.string(),
|
|
3669
3669
|
key: z.string(),
|
|
3670
|
-
display_name: z.string(),
|
|
3670
|
+
display_name: z.string().optional(),
|
|
3671
3671
|
description: z.string(),
|
|
3672
3672
|
created_by_id: z.string().optional(),
|
|
3673
3673
|
updated_by_id: z.string().optional(),
|
|
@@ -3697,7 +3697,7 @@ export type CreateToolResponseBody2$Outbound = {
|
|
|
3697
3697
|
_id: string;
|
|
3698
3698
|
path: string;
|
|
3699
3699
|
key: string;
|
|
3700
|
-
display_name
|
|
3700
|
+
display_name?: string | undefined;
|
|
3701
3701
|
description: string;
|
|
3702
3702
|
created_by_id?: string | undefined;
|
|
3703
3703
|
updated_by_id?: string | undefined;
|
|
@@ -3717,10 +3717,10 @@ export const CreateToolResponseBody2$outboundSchema: z.ZodType<
|
|
|
3717
3717
|
z.ZodTypeDef,
|
|
3718
3718
|
CreateToolResponseBody2
|
|
3719
3719
|
> = z.object({
|
|
3720
|
-
id: z.string().default("
|
|
3720
|
+
id: z.string().default("01K7RBQGW1PWZ467XTKYR4BKCW"),
|
|
3721
3721
|
path: z.string(),
|
|
3722
3722
|
key: z.string(),
|
|
3723
|
-
displayName: z.string(),
|
|
3723
|
+
displayName: z.string().optional(),
|
|
3724
3724
|
description: z.string(),
|
|
3725
3725
|
createdById: z.string().optional(),
|
|
3726
3726
|
updatedById: z.string().optional(),
|
|
@@ -3889,10 +3889,10 @@ export const CreateToolResponseBody1$inboundSchema: z.ZodType<
|
|
|
3889
3889
|
z.ZodTypeDef,
|
|
3890
3890
|
unknown
|
|
3891
3891
|
> = z.object({
|
|
3892
|
-
_id: z.string().default("
|
|
3892
|
+
_id: z.string().default("01K7RBQGW1ZSEYDCPC5KA0C33E"),
|
|
3893
3893
|
path: z.string(),
|
|
3894
3894
|
key: z.string(),
|
|
3895
|
-
display_name: z.string(),
|
|
3895
|
+
display_name: z.string().optional(),
|
|
3896
3896
|
description: z.string(),
|
|
3897
3897
|
created_by_id: z.string().optional(),
|
|
3898
3898
|
updated_by_id: z.string().optional(),
|
|
@@ -3921,7 +3921,7 @@ export type CreateToolResponseBody1$Outbound = {
|
|
|
3921
3921
|
_id: string;
|
|
3922
3922
|
path: string;
|
|
3923
3923
|
key: string;
|
|
3924
|
-
display_name
|
|
3924
|
+
display_name?: string | undefined;
|
|
3925
3925
|
description: string;
|
|
3926
3926
|
created_by_id?: string | undefined;
|
|
3927
3927
|
updated_by_id?: string | undefined;
|
|
@@ -3941,10 +3941,10 @@ export const CreateToolResponseBody1$outboundSchema: z.ZodType<
|
|
|
3941
3941
|
z.ZodTypeDef,
|
|
3942
3942
|
CreateToolResponseBody1
|
|
3943
3943
|
> = z.object({
|
|
3944
|
-
id: z.string().default("
|
|
3944
|
+
id: z.string().default("01K7RBQGW1ZSEYDCPC5KA0C33E"),
|
|
3945
3945
|
path: z.string(),
|
|
3946
3946
|
key: z.string(),
|
|
3947
|
-
displayName: z.string(),
|
|
3947
|
+
displayName: z.string().optional(),
|
|
3948
3948
|
description: z.string(),
|
|
3949
3949
|
createdById: z.string().optional(),
|
|
3950
3950
|
updatedById: z.string().optional(),
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type DeleteAgentRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* The unique key of the agent to delete
|
|
14
|
+
*/
|
|
15
|
+
agentKey: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const DeleteAgentRequest$inboundSchema: z.ZodType<
|
|
20
|
+
DeleteAgentRequest,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
agent_key: z.string(),
|
|
25
|
+
}).transform((v) => {
|
|
26
|
+
return remap$(v, {
|
|
27
|
+
"agent_key": "agentKey",
|
|
28
|
+
});
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type DeleteAgentRequest$Outbound = {
|
|
33
|
+
agent_key: string;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const DeleteAgentRequest$outboundSchema: z.ZodType<
|
|
38
|
+
DeleteAgentRequest$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
DeleteAgentRequest
|
|
41
|
+
> = z.object({
|
|
42
|
+
agentKey: z.string(),
|
|
43
|
+
}).transform((v) => {
|
|
44
|
+
return remap$(v, {
|
|
45
|
+
agentKey: "agent_key",
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
+
*/
|
|
53
|
+
export namespace DeleteAgentRequest$ {
|
|
54
|
+
/** @deprecated use `DeleteAgentRequest$inboundSchema` instead. */
|
|
55
|
+
export const inboundSchema = DeleteAgentRequest$inboundSchema;
|
|
56
|
+
/** @deprecated use `DeleteAgentRequest$outboundSchema` instead. */
|
|
57
|
+
export const outboundSchema = DeleteAgentRequest$outboundSchema;
|
|
58
|
+
/** @deprecated use `DeleteAgentRequest$Outbound` instead. */
|
|
59
|
+
export type Outbound = DeleteAgentRequest$Outbound;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function deleteAgentRequestToJSON(
|
|
63
|
+
deleteAgentRequest: DeleteAgentRequest,
|
|
64
|
+
): string {
|
|
65
|
+
return JSON.stringify(
|
|
66
|
+
DeleteAgentRequest$outboundSchema.parse(deleteAgentRequest),
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function deleteAgentRequestFromJSON(
|
|
71
|
+
jsonString: string,
|
|
72
|
+
): SafeParseResult<DeleteAgentRequest, SDKValidationError> {
|
|
73
|
+
return safeParse(
|
|
74
|
+
jsonString,
|
|
75
|
+
(x) => DeleteAgentRequest$inboundSchema.parse(JSON.parse(x)),
|
|
76
|
+
`Failed to parse 'DeleteAgentRequest' from JSON`,
|
|
77
|
+
);
|
|
78
|
+
}
|
|
@@ -193,14 +193,14 @@ export type DeploymentCreateMetricMessagesDeploymentsMetricsContent =
|
|
|
193
193
|
>;
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
|
-
* The role of the messages author, in this case `assistant
|
|
196
|
+
* The role of the messages author, in this case `assistant`.
|
|
197
197
|
*/
|
|
198
198
|
export const DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyRole =
|
|
199
199
|
{
|
|
200
200
|
Assistant: "assistant",
|
|
201
201
|
} as const;
|
|
202
202
|
/**
|
|
203
|
-
* The role of the messages author, in this case `assistant
|
|
203
|
+
* The role of the messages author, in this case `assistant`.
|
|
204
204
|
*/
|
|
205
205
|
export type DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyRole =
|
|
206
206
|
ClosedEnum<
|
|
@@ -270,7 +270,7 @@ export type DeploymentCreateMetricMessagesAssistantMessage = {
|
|
|
270
270
|
*/
|
|
271
271
|
refusal?: string | null | undefined;
|
|
272
272
|
/**
|
|
273
|
-
* The role of the messages author, in this case `assistant
|
|
273
|
+
* The role of the messages author, in this case `assistant`.
|
|
274
274
|
*/
|
|
275
275
|
role: DeploymentCreateMetricMessagesDeploymentsMetricsRequestRequestBodyRole;
|
|
276
276
|
/**
|
|
@@ -697,13 +697,13 @@ export type DeploymentCreateMetricChoicesContent =
|
|
|
697
697
|
>;
|
|
698
698
|
|
|
699
699
|
/**
|
|
700
|
-
* The role of the messages author, in this case `assistant
|
|
700
|
+
* The role of the messages author, in this case `assistant`.
|
|
701
701
|
*/
|
|
702
702
|
export const DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole = {
|
|
703
703
|
Assistant: "assistant",
|
|
704
704
|
} as const;
|
|
705
705
|
/**
|
|
706
|
-
* The role of the messages author, in this case `assistant
|
|
706
|
+
* The role of the messages author, in this case `assistant`.
|
|
707
707
|
*/
|
|
708
708
|
export type DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole =
|
|
709
709
|
ClosedEnum<typeof DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole>;
|
|
@@ -769,7 +769,7 @@ export type ChoicesAssistantMessage = {
|
|
|
769
769
|
*/
|
|
770
770
|
refusal?: string | null | undefined;
|
|
771
771
|
/**
|
|
772
|
-
* The role of the messages author, in this case `assistant
|
|
772
|
+
* The role of the messages author, in this case `assistant`.
|
|
773
773
|
*/
|
|
774
774
|
role: DeploymentCreateMetricChoicesDeploymentsMetricsRequestRole;
|
|
775
775
|
/**
|
|
@@ -142,13 +142,13 @@ export type PrefixMessagesContent =
|
|
|
142
142
|
| Array<TextContentPart | RefusalContentPart>;
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
|
-
* The role of the messages author, in this case `assistant
|
|
145
|
+
* The role of the messages author, in this case `assistant`.
|
|
146
146
|
*/
|
|
147
147
|
export const DeploymentGetConfigPrefixMessagesDeploymentsRole = {
|
|
148
148
|
Assistant: "assistant",
|
|
149
149
|
} as const;
|
|
150
150
|
/**
|
|
151
|
-
* The role of the messages author, in this case `assistant
|
|
151
|
+
* The role of the messages author, in this case `assistant`.
|
|
152
152
|
*/
|
|
153
153
|
export type DeploymentGetConfigPrefixMessagesDeploymentsRole = ClosedEnum<
|
|
154
154
|
typeof DeploymentGetConfigPrefixMessagesDeploymentsRole
|
|
@@ -212,7 +212,7 @@ export type AssistantMessage = {
|
|
|
212
212
|
*/
|
|
213
213
|
refusal?: string | null | undefined;
|
|
214
214
|
/**
|
|
215
|
-
* The role of the messages author, in this case `assistant
|
|
215
|
+
* The role of the messages author, in this case `assistant`.
|
|
216
216
|
*/
|
|
217
217
|
role: DeploymentGetConfigPrefixMessagesDeploymentsRole;
|
|
218
218
|
/**
|
|
@@ -594,13 +594,13 @@ export type DeploymentGetConfigMessagesContent =
|
|
|
594
594
|
| Array<TwoTextContentPart | TwoRefusalContentPart>;
|
|
595
595
|
|
|
596
596
|
/**
|
|
597
|
-
* The role of the messages author, in this case `assistant
|
|
597
|
+
* The role of the messages author, in this case `assistant`.
|
|
598
598
|
*/
|
|
599
599
|
export const DeploymentGetConfigMessagesDeploymentsRequestRole = {
|
|
600
600
|
Assistant: "assistant",
|
|
601
601
|
} as const;
|
|
602
602
|
/**
|
|
603
|
-
* The role of the messages author, in this case `assistant
|
|
603
|
+
* The role of the messages author, in this case `assistant`.
|
|
604
604
|
*/
|
|
605
605
|
export type DeploymentGetConfigMessagesDeploymentsRequestRole = ClosedEnum<
|
|
606
606
|
typeof DeploymentGetConfigMessagesDeploymentsRequestRole
|
|
@@ -664,7 +664,7 @@ export type MessagesAssistantMessage = {
|
|
|
664
664
|
*/
|
|
665
665
|
refusal?: string | null | undefined;
|
|
666
666
|
/**
|
|
667
|
-
* The role of the messages author, in this case `assistant
|
|
667
|
+
* The role of the messages author, in this case `assistant`.
|
|
668
668
|
*/
|
|
669
669
|
role: DeploymentGetConfigMessagesDeploymentsRequestRole;
|
|
670
670
|
/**
|
|
@@ -166,13 +166,13 @@ export type DeploymentStreamPrefixMessagesDeploymentsContent =
|
|
|
166
166
|
>;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
|
-
* The role of the messages author, in this case `assistant
|
|
169
|
+
* The role of the messages author, in this case `assistant`.
|
|
170
170
|
*/
|
|
171
171
|
export const DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyRole = {
|
|
172
172
|
Assistant: "assistant",
|
|
173
173
|
} as const;
|
|
174
174
|
/**
|
|
175
|
-
* The role of the messages author, in this case `assistant
|
|
175
|
+
* The role of the messages author, in this case `assistant`.
|
|
176
176
|
*/
|
|
177
177
|
export type DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyRole =
|
|
178
178
|
ClosedEnum<
|
|
@@ -241,7 +241,7 @@ export type PrefixMessagesAssistantMessage = {
|
|
|
241
241
|
*/
|
|
242
242
|
refusal?: string | null | undefined;
|
|
243
243
|
/**
|
|
244
|
-
* The role of the messages author, in this case `assistant
|
|
244
|
+
* The role of the messages author, in this case `assistant`.
|
|
245
245
|
*/
|
|
246
246
|
role: DeploymentStreamPrefixMessagesDeploymentsRequestRequestBodyRole;
|
|
247
247
|
/**
|
|
@@ -656,13 +656,13 @@ export type DeploymentStreamMessagesDeploymentsContent =
|
|
|
656
656
|
>;
|
|
657
657
|
|
|
658
658
|
/**
|
|
659
|
-
* The role of the messages author, in this case `assistant
|
|
659
|
+
* The role of the messages author, in this case `assistant`.
|
|
660
660
|
*/
|
|
661
661
|
export const DeploymentStreamMessagesDeploymentsRequestRequestBodyRole = {
|
|
662
662
|
Assistant: "assistant",
|
|
663
663
|
} as const;
|
|
664
664
|
/**
|
|
665
|
-
* The role of the messages author, in this case `assistant
|
|
665
|
+
* The role of the messages author, in this case `assistant`.
|
|
666
666
|
*/
|
|
667
667
|
export type DeploymentStreamMessagesDeploymentsRequestRequestBodyRole =
|
|
668
668
|
ClosedEnum<typeof DeploymentStreamMessagesDeploymentsRequestRequestBodyRole>;
|
|
@@ -730,7 +730,7 @@ export type DeploymentStreamMessagesAssistantMessage = {
|
|
|
730
730
|
*/
|
|
731
731
|
refusal?: string | null | undefined;
|
|
732
732
|
/**
|
|
733
|
-
* The role of the messages author, in this case `assistant
|
|
733
|
+
* The role of the messages author, in this case `assistant`.
|
|
734
734
|
*/
|
|
735
735
|
role: DeploymentStreamMessagesDeploymentsRequestRequestBodyRole;
|
|
736
736
|
/**
|