@orq-ai/node 4.16.0-rc.10 → 4.16.0-rc.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/funcs/projectsCreate.d.ts +1 -1
- package/funcs/projectsCreate.js +1 -1
- package/funcs/projectsDelete.d.ts +1 -1
- package/funcs/projectsDelete.js +1 -1
- package/funcs/projectsUpdate.d.ts +1 -1
- package/funcs/projectsUpdate.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/apikeyrestresponse.d.ts +1 -1
- package/models/components/datasource.d.ts +2 -2
- package/models/components/datasourcesservicecreaterequest.d.ts +2 -2
- package/models/components/extendedmessage.d.ts +1 -1
- package/models/components/filesystem.d.ts +4 -4
- package/models/components/filesystem.d.ts.map +1 -1
- package/models/components/filesystem.js +2 -1
- package/models/components/filesystem.js.map +1 -1
- package/models/components/hubitem.d.ts +1 -1
- package/models/components/hubitem.d.ts.map +1 -1
- package/models/components/hubitem.js +1 -1
- package/models/components/hubitem.js.map +1 -1
- package/models/components/hubitemsummary.d.ts +1 -1
- package/models/components/knowledge.d.ts +2 -2
- package/models/components/knowledgechunk.d.ts +1 -1
- package/models/components/mcpauthconfig.d.ts +1 -1
- package/models/components/mcpauthconfigoutput.d.ts +1 -1
- package/models/components/memory.d.ts +2 -5
- package/models/components/memory.d.ts.map +1 -1
- package/models/components/memory.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/toolexecutionfailedstreamingevent.d.ts +3 -3
- package/models/components/toolexecutionfailedstreamingevent.js +1 -1
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +3 -3
- package/models/components/toolexecutionfinishedstreamingevent.js +1 -1
- package/models/components/toolexecutionstartedstreamingevent.d.ts +3 -3
- package/models/components/toolexecutionstartedstreamingevent.js +1 -1
- package/models/operations/createagentrequest.d.ts +7 -7
- package/models/operations/createagentrequest.js +1 -1
- package/models/operations/createchatcompletion.d.ts +2 -2
- package/models/operations/createcompletion.d.ts +3 -3
- package/models/operations/createimage.d.ts +2 -2
- package/models/operations/createimageedit.d.ts +2 -2
- package/models/operations/createimagevariation.d.ts +2 -2
- package/models/operations/creatererank.d.ts +2 -2
- package/models/operations/createspeech.d.ts +2 -2
- package/models/operations/createtool.js +4 -4
- package/models/operations/createtranscription.d.ts +2 -2
- package/models/operations/createtranslation.d.ts +2 -2
- package/models/operations/deployments.d.ts +2 -2
- package/models/operations/getallmemories.d.ts +3 -3
- package/models/operations/getallmemorydocuments.d.ts +3 -3
- package/models/operations/getallmemorystores.d.ts +3 -3
- package/models/operations/getallprompts.d.ts +2 -2
- package/models/operations/getalltools.d.ts +2 -2
- package/models/operations/getalltools.js +4 -4
- package/models/operations/getevals.d.ts +2 -2
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/getv2toolstoolidversions.d.ts +2 -2
- package/models/operations/listagents.d.ts +7 -7
- package/models/operations/listagents.js +1 -1
- package/models/operations/listchunks.d.ts +3 -3
- package/models/operations/listdatasources.d.ts +3 -3
- package/models/operations/listidentities.d.ts +1 -1
- package/models/operations/listknowledgebases.d.ts +2 -2
- package/models/operations/listpromptversions.d.ts +2 -2
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +5 -5
- package/models/operations/retrieveagentrequest.js +1 -1
- package/models/operations/retrievetool.js +4 -4
- package/models/operations/runagent.d.ts +2 -2
- package/models/operations/runagent.js +1 -1
- package/models/operations/streamrunagent.d.ts +2 -2
- package/models/operations/streamrunagent.js +1 -1
- package/models/operations/updateagent.d.ts +7 -7
- package/models/operations/updateagent.js +1 -1
- package/models/operations/updatetool.js +4 -4
- package/package.json +7 -7
- package/sdk/projects.d.ts +3 -3
- package/sdk/projects.js +3 -3
- package/src/funcs/projectsCreate.ts +1 -1
- package/src/funcs/projectsDelete.ts +1 -1
- package/src/funcs/projectsUpdate.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/apikeyrestresponse.ts +1 -1
- package/src/models/components/datasource.ts +2 -2
- package/src/models/components/datasourcesservicecreaterequest.ts +2 -2
- package/src/models/components/extendedmessage.ts +1 -1
- package/src/models/components/filesystem.ts +6 -5
- package/src/models/components/hubitem.ts +2 -2
- package/src/models/components/hubitemsummary.ts +1 -1
- package/src/models/components/knowledge.ts +2 -2
- package/src/models/components/knowledgechunk.ts +1 -1
- package/src/models/components/mcpauthconfig.ts +1 -1
- package/src/models/components/mcpauthconfigoutput.ts +1 -1
- package/src/models/components/memory.ts +2 -5
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/toolexecutionfailedstreamingevent.ts +3 -3
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +3 -3
- package/src/models/components/toolexecutionstartedstreamingevent.ts +3 -3
- package/src/models/operations/createagentrequest.ts +7 -7
- package/src/models/operations/createchatcompletion.ts +2 -2
- package/src/models/operations/createcompletion.ts +3 -3
- package/src/models/operations/createimage.ts +2 -2
- package/src/models/operations/createimageedit.ts +2 -2
- package/src/models/operations/createimagevariation.ts +2 -2
- package/src/models/operations/creatererank.ts +2 -2
- package/src/models/operations/createspeech.ts +2 -2
- package/src/models/operations/createtool.ts +4 -4
- package/src/models/operations/createtranscription.ts +2 -2
- package/src/models/operations/createtranslation.ts +2 -2
- package/src/models/operations/deployments.ts +2 -2
- package/src/models/operations/getallmemories.ts +3 -3
- package/src/models/operations/getallmemorydocuments.ts +3 -3
- package/src/models/operations/getallmemorystores.ts +3 -3
- package/src/models/operations/getallprompts.ts +2 -2
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getevals.ts +2 -2
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/getv2toolstoolidversions.ts +2 -2
- package/src/models/operations/listagents.ts +7 -7
- package/src/models/operations/listchunks.ts +3 -3
- package/src/models/operations/listdatasources.ts +3 -3
- package/src/models/operations/listidentities.ts +1 -1
- package/src/models/operations/listknowledgebases.ts +2 -2
- package/src/models/operations/listpromptversions.ts +2 -2
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +5 -5
- package/src/models/operations/retrievetool.ts +4 -4
- package/src/models/operations/runagent.ts +3 -3
- package/src/models/operations/streamrunagent.ts +3 -3
- package/src/models/operations/updateagent.ts +7 -7
- package/src/models/operations/updatetool.ts +4 -4
- package/src/sdk/projects.ts +3 -3
|
@@ -11,7 +11,7 @@ import { Result } from "../types/fp.js";
|
|
|
11
11
|
* Create a new project
|
|
12
12
|
*
|
|
13
13
|
* @remarks
|
|
14
|
-
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a
|
|
14
|
+
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
15
15
|
*/
|
|
16
16
|
export declare function projectsCreate(client: OrqCore, request: components.CreateProjectRequest, options?: RequestOptions): APIPromise<Result<components.CreateProjectResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
17
|
//# sourceMappingURL=projectsCreate.d.ts.map
|
package/funcs/projectsCreate.js
CHANGED
|
@@ -50,7 +50,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
50
50
|
* Create a new project
|
|
51
51
|
*
|
|
52
52
|
* @remarks
|
|
53
|
-
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a
|
|
53
|
+
* Creates a project in the current workspace. Projects are workspace-level containers for resources such as skills, deployments, datasets, rules, and related team access. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
54
54
|
*/
|
|
55
55
|
function projectsCreate(client, request, options) {
|
|
56
56
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Delete a project
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a
|
|
15
|
+
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
16
16
|
*/
|
|
17
17
|
export declare function projectsDelete(client: OrqCore, request: operations.ProjectDeleteRequest, options?: RequestOptions): APIPromise<Result<components.DeleteProjectResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=projectsDelete.d.ts.map
|
package/funcs/projectsDelete.js
CHANGED
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* Delete a project
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a
|
|
54
|
+
* Deletes a project from the workspace. The response body is empty when the delete succeeds. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
55
55
|
*/
|
|
56
56
|
function projectsDelete(client, request, options) {
|
|
57
57
|
return new async_js_1.APIPromise($do(client, request, options));
|
|
@@ -12,7 +12,7 @@ import { Result } from "../types/fp.js";
|
|
|
12
12
|
* Update a project
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
|
-
* Updates the specified project by setting the values of the parameters passed. Requires a
|
|
15
|
+
* Updates the specified project by setting the values of the parameters passed. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
16
16
|
*/
|
|
17
17
|
export declare function projectsUpdate(client: OrqCore, request: operations.ProjectUpdateRequest, options?: RequestOptions): APIPromise<Result<components.UpdateProjectResponse, OrqError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
18
18
|
//# sourceMappingURL=projectsUpdate.d.ts.map
|
package/funcs/projectsUpdate.js
CHANGED
|
@@ -51,7 +51,7 @@ const async_js_1 = require("../types/async.js");
|
|
|
51
51
|
* Update a project
|
|
52
52
|
*
|
|
53
53
|
* @remarks
|
|
54
|
-
* Updates the specified project by setting the values of the parameters passed. Requires a
|
|
54
|
+
* Updates the specified project by setting the values of the parameters passed. Requires a workspace-scoped management key or API key with Projects write access, or an admin session. Project-scoped API keys cannot be granted Projects access.
|
|
55
55
|
*/
|
|
56
56
|
function projectsUpdate(client, request, options) {
|
|
57
57
|
return new async_js_1.APIPromise($do(client, request, options));
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "2.0";
|
|
34
|
-
readonly sdkVersion: "4.16.0-rc.
|
|
34
|
+
readonly sdkVersion: "4.16.0-rc.12";
|
|
35
35
|
readonly genVersion: "2.938.0";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 4.16.0-rc.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 4.16.0-rc.12 2.938.0 2.0 @orq-ai/node";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -28,8 +28,8 @@ function serverURLFromOptions(options) {
|
|
|
28
28
|
exports.SDK_METADATA = {
|
|
29
29
|
language: "typescript",
|
|
30
30
|
openapiDocVersion: "2.0",
|
|
31
|
-
sdkVersion: "4.16.0-rc.
|
|
31
|
+
sdkVersion: "4.16.0-rc.12",
|
|
32
32
|
genVersion: "2.938.0",
|
|
33
|
-
userAgent: "speakeasy-sdk/typescript 4.16.0-rc.
|
|
33
|
+
userAgent: "speakeasy-sdk/typescript 4.16.0-rc.12 2.938.0 2.0 @orq-ai/node",
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=config.js.map
|
|
@@ -6,7 +6,7 @@ export type ApiKeyRestResponse = {
|
|
|
6
6
|
name: string;
|
|
7
7
|
workspaceId: string;
|
|
8
8
|
/**
|
|
9
|
-
* Raw on create
|
|
9
|
+
* Raw on create; the key prefix on retrieve and update; masked in list responses.
|
|
10
10
|
*/
|
|
11
11
|
token: string;
|
|
12
12
|
active?: boolean | undefined;
|
|
@@ -16,7 +16,7 @@ export type DatasourceStatus = ClosedEnum<typeof DatasourceStatus>;
|
|
|
16
16
|
export type Datasource = {
|
|
17
17
|
displayName: string;
|
|
18
18
|
/**
|
|
19
|
-
* The description of the
|
|
19
|
+
* The description of the datasource
|
|
20
20
|
*/
|
|
21
21
|
description?: string | null | undefined;
|
|
22
22
|
status: DatasourceStatus;
|
|
@@ -37,7 +37,7 @@ export type Datasource = {
|
|
|
37
37
|
knowledgeId: string;
|
|
38
38
|
chunksCount: number;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Processing attempts recorded for the datasource.
|
|
41
41
|
*/
|
|
42
42
|
processingAttempts?: Array<ProcessingAttempt> | undefined;
|
|
43
43
|
metadata?: CountMetadata | undefined;
|
|
@@ -5,13 +5,13 @@ import { DatasourceChunkingOptions, DatasourceChunkingOptions$Outbound } from ".
|
|
|
5
5
|
export type DatasourcesServiceCreateRequest = {
|
|
6
6
|
displayName?: string | undefined;
|
|
7
7
|
/**
|
|
8
|
-
* The description of the
|
|
8
|
+
* The description of the datasource
|
|
9
9
|
*/
|
|
10
10
|
description?: string | null | undefined;
|
|
11
11
|
fileId?: string | undefined;
|
|
12
12
|
chunkingOptions?: DatasourceChunkingOptions | undefined;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Optional datasource ID. When omitted, the server generates one.
|
|
15
15
|
*/
|
|
16
16
|
id?: string | undefined;
|
|
17
17
|
attachment?: DatasourceAttachment | undefined;
|
|
@@ -27,7 +27,7 @@ export declare const ExtendedMessageRole: {
|
|
|
27
27
|
export type ExtendedMessageRole = ClosedEnum<typeof ExtendedMessageRole>;
|
|
28
28
|
export type ExtendedMessageParts = TextPart | ErrorPart | DataPart | FilePart | ToolCallPart | ToolResultPart;
|
|
29
29
|
/**
|
|
30
|
-
* Extended Agent-to-Agent protocol message with support for tool calls and tool results. Extends the base A2A message format with
|
|
30
|
+
* Extended Agent-to-Agent protocol message with support for tool calls and tool results. Extends the base A2A message format with orq.ai-specific features.
|
|
31
31
|
*/
|
|
32
32
|
export type ExtendedMessage = {
|
|
33
33
|
kind: ExtendedMessageKind;
|
|
@@ -4,10 +4,6 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
import { FileSystemExternalAccess } from "./filesystemexternalaccess.js";
|
|
5
5
|
import { Sharing } from "./sharing.js";
|
|
6
6
|
export type FileSystem = {
|
|
7
|
-
/**
|
|
8
|
-
* The unique identifier of the file system
|
|
9
|
-
*/
|
|
10
|
-
id?: string | undefined;
|
|
11
7
|
/**
|
|
12
8
|
* The unique key of the file system. The key is unique and immutable and cannot be repeated within the same workspace.
|
|
13
9
|
*/
|
|
@@ -60,6 +56,10 @@ export type FileSystem = {
|
|
|
60
56
|
* When usage was last measured. Absent until first metered.
|
|
61
57
|
*/
|
|
62
58
|
lastMeteredAt?: string | null | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* The unique identifier of the file system
|
|
61
|
+
*/
|
|
62
|
+
id: string;
|
|
63
63
|
};
|
|
64
64
|
/** @internal */
|
|
65
65
|
export declare const FileSystem$inboundSchema: z.ZodType<FileSystem, z.ZodTypeDef, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filesystem.d.ts","sourceRoot":"","sources":["../../src/models/components/filesystem.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAE9D,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"filesystem.d.ts","sourceRoot":"","sources":["../../src/models/components/filesystem.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,wBAAwB,EAEzB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAE9D,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,wBAAwB,CAAC;IACzC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAC9C,UAAU,EACV,CAAC,CAAC,UAAU,EACZ,OAAO,CA4BP,CAAC;AAEH,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAMjD"}
|
|
@@ -45,7 +45,6 @@ const filesystemexternalaccess_js_1 = require("./filesystemexternalaccess.js");
|
|
|
45
45
|
const sharing_js_1 = require("./sharing.js");
|
|
46
46
|
/** @internal */
|
|
47
47
|
exports.FileSystem$inboundSchema = z.object({
|
|
48
|
-
id: z.string().optional(),
|
|
49
48
|
key: z.string(),
|
|
50
49
|
display_name: z.string(),
|
|
51
50
|
description: z.string(),
|
|
@@ -59,6 +58,7 @@ exports.FileSystem$inboundSchema = z.object({
|
|
|
59
58
|
used_bytes: z.nullable(z.string()).optional(),
|
|
60
59
|
used_inodes: z.nullable(z.string()).optional(),
|
|
61
60
|
last_metered_at: z.nullable(z.string()).optional(),
|
|
61
|
+
_id: z.string(),
|
|
62
62
|
}).transform((v) => {
|
|
63
63
|
return (0, primitives_js_1.remap)(v, {
|
|
64
64
|
"display_name": "displayName",
|
|
@@ -69,6 +69,7 @@ exports.FileSystem$inboundSchema = z.object({
|
|
|
69
69
|
"used_bytes": "usedBytes",
|
|
70
70
|
"used_inodes": "usedInodes",
|
|
71
71
|
"last_metered_at": "lastMeteredAt",
|
|
72
|
+
"_id": "id",
|
|
72
73
|
});
|
|
73
74
|
});
|
|
74
75
|
function fileSystemFromJSON(jsonString) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filesystem.js","sourceRoot":"","sources":["../../src/models/components/filesystem.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"filesystem.js","sourceRoot":"","sources":["../../src/models/components/filesystem.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0GH,gDAQC;AAhHD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,+EAGuC;AACvC,6CAA8D;AA6D9D,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,eAAe,EAAE,oEAAsC;IACvD,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,OAAO,EAAE,kCAAqB,CAAC,QAAQ,EAAE;IACzC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC7C,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CA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,EAAE;IAChB,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAClC,kBAAkB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC1C,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC7B,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,+BAAuB,CAAC,CAAC,QAAQ,EAAE;IAC3D,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,4BAAoB,CAAC,CAAC,QAAQ,EAAE;CACtD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,cAAc,EAAE,aAAa;QAC7B,WAAW,EAAE,UAAU;QACvB,YAAY,EAAE,WAAW;QACzB,oBAAoB,EAAE,iBAAiB;KACxC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEL,SAAgB,eAAe,CAC7B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6BAAqB,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjD,qCAAqC,CACtC,CAAC;AACJ,CAAC"}
|
|
@@ -7,7 +7,7 @@ export type HubItemSummary = {
|
|
|
7
7
|
*/
|
|
8
8
|
id: string;
|
|
9
9
|
/**
|
|
10
|
-
* ID of the workspace entity represented by this hub item. Empty on search results: the field is not part of the
|
|
10
|
+
* ID of the workspace entity represented by this hub item. Empty on search results: the field is not part of the search index.
|
|
11
11
|
*/
|
|
12
12
|
entityId?: string | undefined;
|
|
13
13
|
/**
|
|
@@ -109,7 +109,7 @@ export type Knowledge2 = {
|
|
|
109
109
|
retrievalSettings?: KnowledgeRetrievalSettings | undefined;
|
|
110
110
|
externalConfig: ExternalConfig;
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Settings for the knowledge base: embedding model, retrieval configuration, and agentic RAG configuration.
|
|
113
113
|
*/
|
|
114
114
|
settings?: KnowledgeSettings | undefined;
|
|
115
115
|
metadata?: KnowledgeMetadata | undefined;
|
|
@@ -228,7 +228,7 @@ export type Knowledge1 = {
|
|
|
228
228
|
*/
|
|
229
229
|
model: string;
|
|
230
230
|
/**
|
|
231
|
-
*
|
|
231
|
+
* Settings for the knowledge base: embedding model, retrieval configuration, and agentic RAG configuration.
|
|
232
232
|
*/
|
|
233
233
|
settings?: KnowledgeSettings | undefined;
|
|
234
234
|
metadata?: KnowledgeMetadata | undefined;
|
|
@@ -43,7 +43,7 @@ export type KnowledgeChunk = {
|
|
|
43
43
|
*/
|
|
44
44
|
updateById?: string | null | undefined;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Processing attempts recorded for the chunk.
|
|
47
47
|
*/
|
|
48
48
|
processingAttempts?: Array<ProcessingAttempt> | undefined;
|
|
49
49
|
countMetadata?: CountMetadata | undefined;
|
|
@@ -9,7 +9,7 @@ export type McpAuthConfig = {
|
|
|
9
9
|
*/
|
|
10
10
|
staticHeaders?: Array<McpHeaderSecret> | undefined;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* OAuth client credentials the gateway presents to the upstream authorization server; set when type is OAUTH_CLIENT_CREDENTIALS.
|
|
13
13
|
*/
|
|
14
14
|
oauth?: McpOAuthConfig | undefined;
|
|
15
15
|
};
|
|
@@ -11,7 +11,7 @@ export type McpAuthConfigOutput = {
|
|
|
11
11
|
*/
|
|
12
12
|
staticHeaders?: Array<McpHeaderSecretOutput> | undefined;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* OAuth client credentials the gateway presents to the upstream authorization server; set when type is OAUTH_CLIENT_CREDENTIALS.
|
|
15
15
|
*/
|
|
16
16
|
oauth?: McpOAuthConfigOutput | undefined;
|
|
17
17
|
};
|
|
@@ -15,14 +15,11 @@ export type Memory = {
|
|
|
15
15
|
storeId: string;
|
|
16
16
|
workspaceId: string;
|
|
17
17
|
/**
|
|
18
|
-
* The number of
|
|
18
|
+
* The number of documents in the entity
|
|
19
19
|
*/
|
|
20
20
|
documentsCount: number;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* though the legacy generated OpenAPI schema omitted it.
|
|
22
|
+
* Key-value metadata for the memory.
|
|
26
23
|
*/
|
|
27
24
|
metadata?: {
|
|
28
25
|
[k: string]: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/models/components/memory.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,MAAM,GAAG;IACnB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/models/components/memory.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,MAAM,GAAG;IACnB;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,SAAS,CAAC;IAC/C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAsBtE,CAAC;AAEL,wBAAgB,cAAc,CAC5B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAM7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.js","sourceRoot":"","sources":["../../src/models/components/memory.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"memory.js","sourceRoot":"","sources":["../../src/models/components/memory.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DH,wCAQC;AAlED,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AA+BjD,g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as_js_1 = require("../../lib/schemas.js");
|
|
44
44
|
/** @internal */
|
|
45
45
|
exports.ReasoningPart$inboundSchema = z.object({
|
|
46
|
-
_id: z.string().default("
|
|
46
|
+
_id: z.string().default("reasoning_01m346z14scz5tepcrmd2mqyx0"),
|
|
47
47
|
metadata: z.record(z.any()).optional(),
|
|
48
48
|
kind: z.literal("reasoning"),
|
|
49
49
|
reasoning: z.string(),
|
|
@@ -7,7 +7,7 @@ export type ErrorT = {
|
|
|
7
7
|
stack?: string | undefined;
|
|
8
8
|
};
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* orq.ai product
|
|
11
11
|
*/
|
|
12
12
|
export declare const ToolExecutionFailedStreamingEventProduct: {
|
|
13
13
|
readonly Remoteconfigs: "remoteconfigs";
|
|
@@ -30,7 +30,7 @@ export declare const ToolExecutionFailedStreamingEventProduct: {
|
|
|
30
30
|
readonly McpGateway: "mcp_gateway";
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* orq.ai product
|
|
34
34
|
*/
|
|
35
35
|
export type ToolExecutionFailedStreamingEventProduct = ClosedEnum<typeof ToolExecutionFailedStreamingEventProduct>;
|
|
36
36
|
export type ToolExecutionFailedStreamingEventMemory = {
|
|
@@ -43,7 +43,7 @@ export type ToolExecutionFailedStreamingEventToolExecutionContext = {
|
|
|
43
43
|
agentManifestId: string;
|
|
44
44
|
agentExecutionId: string;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* orq.ai product
|
|
47
47
|
*/
|
|
48
48
|
product: ToolExecutionFailedStreamingEventProduct;
|
|
49
49
|
memory?: ToolExecutionFailedStreamingEventMemory | undefined;
|
|
@@ -46,7 +46,7 @@ const z = __importStar(require("zod/v3"));
|
|
|
46
46
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
47
47
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* orq.ai product
|
|
50
50
|
*/
|
|
51
51
|
exports.ToolExecutionFailedStreamingEventProduct = {
|
|
52
52
|
Remoteconfigs: "remoteconfigs",
|
|
@@ -3,7 +3,7 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* orq.ai product
|
|
7
7
|
*/
|
|
8
8
|
export declare const ToolExecutionFinishedStreamingEventProduct: {
|
|
9
9
|
readonly Remoteconfigs: "remoteconfigs";
|
|
@@ -26,7 +26,7 @@ export declare const ToolExecutionFinishedStreamingEventProduct: {
|
|
|
26
26
|
readonly McpGateway: "mcp_gateway";
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* orq.ai product
|
|
30
30
|
*/
|
|
31
31
|
export type ToolExecutionFinishedStreamingEventProduct = ClosedEnum<typeof ToolExecutionFinishedStreamingEventProduct>;
|
|
32
32
|
export type ToolExecutionFinishedStreamingEventMemory = {
|
|
@@ -39,7 +39,7 @@ export type ToolExecutionFinishedStreamingEventToolExecutionContext = {
|
|
|
39
39
|
agentManifestId: string;
|
|
40
40
|
agentExecutionId: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* orq.ai product
|
|
43
43
|
*/
|
|
44
44
|
product: ToolExecutionFinishedStreamingEventProduct;
|
|
45
45
|
memory?: ToolExecutionFinishedStreamingEventMemory | undefined;
|
|
@@ -45,7 +45,7 @@ const z = __importStar(require("zod/v3"));
|
|
|
45
45
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
46
46
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* orq.ai product
|
|
49
49
|
*/
|
|
50
50
|
exports.ToolExecutionFinishedStreamingEventProduct = {
|
|
51
51
|
Remoteconfigs: "remoteconfigs",
|
|
@@ -3,7 +3,7 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* orq.ai product
|
|
7
7
|
*/
|
|
8
8
|
export declare const Product: {
|
|
9
9
|
readonly Remoteconfigs: "remoteconfigs";
|
|
@@ -26,7 +26,7 @@ export declare const Product: {
|
|
|
26
26
|
readonly McpGateway: "mcp_gateway";
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* orq.ai product
|
|
30
30
|
*/
|
|
31
31
|
export type Product = ClosedEnum<typeof Product>;
|
|
32
32
|
export type ToolExecutionStartedStreamingEventMemory = {
|
|
@@ -39,7 +39,7 @@ export type ToolExecutionContext = {
|
|
|
39
39
|
agentManifestId: string;
|
|
40
40
|
agentExecutionId: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* orq.ai product
|
|
43
43
|
*/
|
|
44
44
|
product: Product;
|
|
45
45
|
memory?: ToolExecutionStartedStreamingEventMemory | undefined;
|
|
@@ -45,7 +45,7 @@ const z = __importStar(require("zod/v3"));
|
|
|
45
45
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
46
46
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* orq.ai product
|
|
49
49
|
*/
|
|
50
50
|
exports.Product = {
|
|
51
51
|
Remoteconfigs: "remoteconfigs",
|
|
@@ -269,7 +269,7 @@ export type ModelConfigurationCacheControl = {
|
|
|
269
269
|
ttl?: ModelConfigurationTtl | undefined;
|
|
270
270
|
};
|
|
271
271
|
/**
|
|
272
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
272
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
273
273
|
*/
|
|
274
274
|
export type ParametersT = {
|
|
275
275
|
/**
|
|
@@ -409,7 +409,7 @@ export type ModelConfiguration2 = {
|
|
|
409
409
|
*/
|
|
410
410
|
id: string;
|
|
411
411
|
/**
|
|
412
|
-
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-
|
|
412
|
+
* Model behavior parameters that control how the model generates responses. Common parameters: `temperature` (0-2, randomness; the selected model may impose a lower maximum), `max_completion_tokens` (max output length), `top_p` (sampling diversity). Advanced: `frequency_penalty`, `presence_penalty`, `response_format` (JSON/structured), `reasoning_effort`, `seed` (reproducibility). Support varies by model - consult AI Gateway documentation.
|
|
413
413
|
*/
|
|
414
414
|
parameters?: ParametersT | undefined;
|
|
415
415
|
/**
|
|
@@ -1088,14 +1088,14 @@ export declare const CreateAgentRequestEngine: {
|
|
|
1088
1088
|
};
|
|
1089
1089
|
export type CreateAgentRequestEngine = ClosedEnum<typeof CreateAgentRequestEngine>;
|
|
1090
1090
|
/**
|
|
1091
|
-
* Agent type: internal (
|
|
1091
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
1092
1092
|
*/
|
|
1093
1093
|
export declare const CreateAgentRequestType: {
|
|
1094
1094
|
readonly Internal: "internal";
|
|
1095
1095
|
readonly A2a: "a2a";
|
|
1096
1096
|
};
|
|
1097
1097
|
/**
|
|
1098
|
-
* Agent type: internal (
|
|
1098
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
1099
1099
|
*/
|
|
1100
1100
|
export type CreateAgentRequestType = ClosedEnum<typeof CreateAgentRequestType>;
|
|
1101
1101
|
/**
|
|
@@ -1515,7 +1515,7 @@ export type CreateAgentRequestCacheControl = {
|
|
|
1515
1515
|
ttl: CreateAgentRequestTtl;
|
|
1516
1516
|
};
|
|
1517
1517
|
/**
|
|
1518
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
1518
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
1519
1519
|
*/
|
|
1520
1520
|
export type CreateAgentRequestParameters = {
|
|
1521
1521
|
/**
|
|
@@ -2070,7 +2070,7 @@ export type Model = {
|
|
|
2070
2070
|
*/
|
|
2071
2071
|
integrationId?: string | null | undefined;
|
|
2072
2072
|
/**
|
|
2073
|
-
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-
|
|
2073
|
+
* Model behavior parameters (snake_case) stored as part of the agent configuration. These become the default parameters used when the agent is executed. Commonly used: temperature (0-2, controls randomness; the selected model may impose a lower maximum), max_completion_tokens (response length), top_p (nucleus sampling). Advanced: frequency_penalty, presence_penalty, response_format (JSON/structured output), reasoning_effort (for o1/thinking models), seed (reproducibility), stop sequences. Model-specific support varies. Runtime parameters in agent execution requests can override these defaults.
|
|
2074
2074
|
*/
|
|
2075
2075
|
parameters?: CreateAgentRequestParameters | null | undefined;
|
|
2076
2076
|
/**
|
|
@@ -2141,7 +2141,7 @@ export type CreateAgentRequestResponseBody = {
|
|
|
2141
2141
|
source?: CreateAgentRequestSource | undefined;
|
|
2142
2142
|
engine: CreateAgentRequestEngine;
|
|
2143
2143
|
/**
|
|
2144
|
-
* Agent type: internal (
|
|
2144
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
2145
2145
|
*/
|
|
2146
2146
|
type: CreateAgentRequestType;
|
|
2147
2147
|
role: string;
|
|
@@ -363,7 +363,7 @@ exports.CreateAgentRequestEngine = {
|
|
|
363
363
|
Mustache: "mustache",
|
|
364
364
|
};
|
|
365
365
|
/**
|
|
366
|
-
* Agent type: internal (
|
|
366
|
+
* Agent type: internal (orq.ai-managed) or a2a (external A2A-compliant)
|
|
367
367
|
*/
|
|
368
368
|
exports.CreateAgentRequestType = {
|
|
369
369
|
Internal: "internal",
|
|
@@ -1061,7 +1061,7 @@ export type CreateChatCompletionLoadBalancerRouterChatCompletions1 = {
|
|
|
1061
1061
|
models: Array<CreateChatCompletionLoadBalancerRouterChatCompletionsModels>;
|
|
1062
1062
|
};
|
|
1063
1063
|
/**
|
|
1064
|
-
*
|
|
1064
|
+
* Load balancer configuration for the request.
|
|
1065
1065
|
*/
|
|
1066
1066
|
export type CreateChatCompletionRouterChatCompletionsLoadBalancer = CreateChatCompletionLoadBalancerRouterChatCompletions1;
|
|
1067
1067
|
/**
|
|
@@ -1123,7 +1123,7 @@ export type Orq = {
|
|
|
1123
1123
|
cache?: CreateChatCompletionRouterChatCompletionsCache | undefined;
|
|
1124
1124
|
knowledgeBases?: Array<CreateChatCompletionKnowledgeBases> | undefined;
|
|
1125
1125
|
/**
|
|
1126
|
-
*
|
|
1126
|
+
* Load balancer configuration for the request.
|
|
1127
1127
|
*/
|
|
1128
1128
|
loadBalancer?: CreateChatCompletionLoadBalancerRouterChatCompletions1 | undefined;
|
|
1129
1129
|
/**
|
|
@@ -453,7 +453,7 @@ export type CreateCompletionLoadBalancerRouterCompletions1 = {
|
|
|
453
453
|
models: Array<CreateCompletionLoadBalancerRouterCompletionsModels>;
|
|
454
454
|
};
|
|
455
455
|
/**
|
|
456
|
-
*
|
|
456
|
+
* Load balancer configuration for the request.
|
|
457
457
|
*/
|
|
458
458
|
export type CreateCompletionRouterCompletionsLoadBalancer = CreateCompletionLoadBalancerRouterCompletions1;
|
|
459
459
|
/**
|
|
@@ -515,7 +515,7 @@ export type CreateCompletionOrq = {
|
|
|
515
515
|
cache?: CreateCompletionRouterCompletionsCache | undefined;
|
|
516
516
|
knowledgeBases?: Array<CreateCompletionKnowledgeBases> | undefined;
|
|
517
517
|
/**
|
|
518
|
-
*
|
|
518
|
+
* Load balancer configuration for the request.
|
|
519
519
|
*/
|
|
520
520
|
loadBalancer?: CreateCompletionLoadBalancerRouterCompletions1 | undefined;
|
|
521
521
|
/**
|
|
@@ -569,7 +569,7 @@ export type CreateCompletionRequestBody = {
|
|
|
569
569
|
*/
|
|
570
570
|
n?: number | null | undefined;
|
|
571
571
|
/**
|
|
572
|
-
* A unique identifier representing your end-user, which can help
|
|
572
|
+
* A unique identifier representing your end-user, which can help monitor and detect abuse.
|
|
573
573
|
*/
|
|
574
574
|
user?: string | undefined;
|
|
575
575
|
/**
|