@orq-ai/node 3.13.9 → 3.13.11
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 +43652 -40649
- package/bin/mcp-server.js.map +117 -98
- 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 +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +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 +2 -2
- 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/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 +8 -8
- 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/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 +33 -33
- 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 +8 -8
- 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 +8 -8
- 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 +8 -8
- 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 +2 -2
- 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
|
@@ -33,7 +33,7 @@ export type StreamRunAgentPublicMessagePartAgentsRequestKind = ClosedEnum<typeof
|
|
|
33
33
|
/**
|
|
34
34
|
* Tool execution result part. Use this ONLY when providing results for a pending tool call from the agent. The tool_call_id must match the ID from the agent's tool call request.
|
|
35
35
|
*/
|
|
36
|
-
export type
|
|
36
|
+
export type StreamRunAgentPublicMessagePartToolResultPart = {
|
|
37
37
|
kind: StreamRunAgentPublicMessagePartAgentsRequestKind;
|
|
38
38
|
toolCallId: string;
|
|
39
39
|
result?: any | undefined;
|
|
@@ -48,7 +48,7 @@ export type StreamRunAgentPublicMessagePartAgentsKind = ClosedEnum<typeof Stream
|
|
|
48
48
|
/**
|
|
49
49
|
* File in URI format. Check in the model's documentation for the supported mime types for the URI format
|
|
50
50
|
*/
|
|
51
|
-
export type
|
|
51
|
+
export type StreamRunAgentFileFileInURIFormat = {
|
|
52
52
|
/**
|
|
53
53
|
* URL for the File content
|
|
54
54
|
*/
|
|
@@ -65,7 +65,7 @@ export type FileFileInURIFormat = {
|
|
|
65
65
|
/**
|
|
66
66
|
* Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
|
|
67
67
|
*/
|
|
68
|
-
export type
|
|
68
|
+
export type StreamRunAgentFileBinaryFormat = {
|
|
69
69
|
/**
|
|
70
70
|
* base64 encoded content of the file
|
|
71
71
|
*/
|
|
@@ -79,13 +79,13 @@ export type FileBinaryFormat = {
|
|
|
79
79
|
*/
|
|
80
80
|
name?: string | undefined;
|
|
81
81
|
};
|
|
82
|
-
export type StreamRunAgentPublicMessagePartFile =
|
|
82
|
+
export type StreamRunAgentPublicMessagePartFile = StreamRunAgentFileBinaryFormat | StreamRunAgentFileFileInURIFormat;
|
|
83
83
|
/**
|
|
84
84
|
* File attachment part. Use this to send files (images, documents, etc.) to the agent for processing.
|
|
85
85
|
*/
|
|
86
|
-
export type
|
|
86
|
+
export type StreamRunAgentPublicMessagePartFilePart = {
|
|
87
87
|
kind: StreamRunAgentPublicMessagePartAgentsKind;
|
|
88
|
-
file:
|
|
88
|
+
file: StreamRunAgentFileBinaryFormat | StreamRunAgentFileFileInURIFormat;
|
|
89
89
|
metadata?: {
|
|
90
90
|
[k: string]: any;
|
|
91
91
|
} | undefined;
|
|
@@ -97,14 +97,14 @@ export type StreamRunAgentPublicMessagePartKind = ClosedEnum<typeof StreamRunAge
|
|
|
97
97
|
/**
|
|
98
98
|
* Text content part. Use this to send text messages to the agent.
|
|
99
99
|
*/
|
|
100
|
-
export type
|
|
100
|
+
export type StreamRunAgentPublicMessagePartTextPart = {
|
|
101
101
|
kind: StreamRunAgentPublicMessagePartKind;
|
|
102
102
|
text: string;
|
|
103
103
|
};
|
|
104
104
|
/**
|
|
105
105
|
* Message part that can be provided by users. Use "text" for regular messages, "file" for attachments, or "tool_result" when responding to tool call requests.
|
|
106
106
|
*/
|
|
107
|
-
export type StreamRunAgentPublicMessagePart =
|
|
107
|
+
export type StreamRunAgentPublicMessagePart = StreamRunAgentPublicMessagePartTextPart | StreamRunAgentPublicMessagePartFilePart | StreamRunAgentPublicMessagePartToolResultPart;
|
|
108
108
|
/**
|
|
109
109
|
* The A2A format message containing the task for the agent to perform.
|
|
110
110
|
*/
|
|
@@ -120,7 +120,7 @@ export type StreamRunAgentMessage = {
|
|
|
120
120
|
/**
|
|
121
121
|
* A2A message parts (text, file, or tool_result only)
|
|
122
122
|
*/
|
|
123
|
-
parts: Array<
|
|
123
|
+
parts: Array<StreamRunAgentPublicMessagePartTextPart | StreamRunAgentPublicMessagePartFilePart | StreamRunAgentPublicMessagePartToolResultPart>;
|
|
124
124
|
};
|
|
125
125
|
/**
|
|
126
126
|
* Information about the contact making the request. If the contact does not exist, it will be created automatically.
|
|
@@ -175,36 +175,11 @@ export type StreamRunAgentMemory = {
|
|
|
175
175
|
*/
|
|
176
176
|
entityId: string;
|
|
177
177
|
};
|
|
178
|
-
export declare const StreamRunAgentKnowledgeBaseConfigurationAgentsType: {
|
|
179
|
-
readonly Query: "query";
|
|
180
|
-
};
|
|
181
|
-
export type StreamRunAgentKnowledgeBaseConfigurationAgentsType = ClosedEnum<typeof StreamRunAgentKnowledgeBaseConfigurationAgentsType>;
|
|
182
|
-
/**
|
|
183
|
-
* Defines the configuration settings for a static query.
|
|
184
|
-
*/
|
|
185
|
-
export type KnowledgeBaseConfigurationKnowledgeBaseStaticQuery = {
|
|
186
|
-
type: StreamRunAgentKnowledgeBaseConfigurationAgentsType;
|
|
187
|
-
query: string;
|
|
188
|
-
};
|
|
189
|
-
export declare const StreamRunAgentKnowledgeBaseConfigurationType: {
|
|
190
|
-
readonly LastUserMessage: "last_user_message";
|
|
191
|
-
};
|
|
192
|
-
export type StreamRunAgentKnowledgeBaseConfigurationType = ClosedEnum<typeof StreamRunAgentKnowledgeBaseConfigurationType>;
|
|
193
|
-
/**
|
|
194
|
-
* Defines the configuration settings for a last user message type retrieval.
|
|
195
|
-
*/
|
|
196
|
-
export type KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage = {
|
|
197
|
-
type: StreamRunAgentKnowledgeBaseConfigurationType;
|
|
198
|
-
};
|
|
199
|
-
/**
|
|
200
|
-
* Defines the configuration settings which can either be for a user message or a text entry.
|
|
201
|
-
*/
|
|
202
|
-
export type StreamRunAgentKnowledgeBaseConfiguration = KnowledgeBaseConfigurationKnowledgeBaseStaticQuery | KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage;
|
|
203
178
|
export type StreamRunAgentKnowledgeBases = {
|
|
204
179
|
/**
|
|
205
|
-
*
|
|
180
|
+
* Unique identifier of the knowledge base to search
|
|
206
181
|
*/
|
|
207
|
-
|
|
182
|
+
knowledgeId: string;
|
|
208
183
|
};
|
|
209
184
|
export type StreamRunAgentTeamOfAgents = {
|
|
210
185
|
/**
|
|
@@ -216,80 +191,92 @@ export type StreamRunAgentTeamOfAgents = {
|
|
|
216
191
|
*/
|
|
217
192
|
role?: string | undefined;
|
|
218
193
|
};
|
|
219
|
-
export declare const
|
|
194
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type: {
|
|
220
195
|
readonly Function: "function";
|
|
221
196
|
};
|
|
222
|
-
export type
|
|
223
|
-
export type
|
|
197
|
+
export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type>;
|
|
198
|
+
export type StreamRunAgentAgentToolInputRunFunction = {
|
|
199
|
+
/**
|
|
200
|
+
* The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
|
|
201
|
+
*/
|
|
224
202
|
name: string;
|
|
203
|
+
/**
|
|
204
|
+
* A description of what the function does, used by the model to choose when and how to call the function.
|
|
205
|
+
*/
|
|
225
206
|
description?: string | undefined;
|
|
207
|
+
/**
|
|
208
|
+
* Whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. Currently only compatible with `OpenAI` models.
|
|
209
|
+
*/
|
|
226
210
|
strict?: boolean | undefined;
|
|
211
|
+
/**
|
|
212
|
+
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
213
|
+
*/
|
|
227
214
|
parameters?: {
|
|
228
215
|
[k: string]: any;
|
|
229
216
|
} | undefined;
|
|
230
217
|
};
|
|
231
218
|
/**
|
|
232
|
-
*
|
|
219
|
+
* Function tool with inline definition for on-the-fly creation in run endpoint
|
|
233
220
|
*/
|
|
234
|
-
export type
|
|
235
|
-
type:
|
|
236
|
-
|
|
221
|
+
export type AgentToolInputRunFunctionToolRun = {
|
|
222
|
+
type: StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type;
|
|
223
|
+
/**
|
|
224
|
+
* Unique key of the tool as it will be displayed in the UI
|
|
225
|
+
*/
|
|
237
226
|
key: string;
|
|
227
|
+
id?: string | undefined;
|
|
238
228
|
displayName?: string | undefined;
|
|
239
229
|
description?: string | undefined;
|
|
230
|
+
function: StreamRunAgentAgentToolInputRunFunction;
|
|
240
231
|
requiresApproval?: boolean | undefined;
|
|
241
|
-
function: StreamRunAgentRunAgentRequestToolFunction;
|
|
242
232
|
};
|
|
243
|
-
export declare const
|
|
233
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type: {
|
|
244
234
|
readonly Code: "code";
|
|
245
235
|
};
|
|
246
|
-
export type
|
|
247
|
-
export declare const
|
|
236
|
+
export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type>;
|
|
237
|
+
export declare const AgentToolInputRunLanguage: {
|
|
248
238
|
readonly Python: "python";
|
|
249
239
|
};
|
|
250
|
-
export type
|
|
251
|
-
export type
|
|
240
|
+
export type AgentToolInputRunLanguage = ClosedEnum<typeof AgentToolInputRunLanguage>;
|
|
241
|
+
export type AgentToolInputRunCodeTool = {
|
|
252
242
|
/**
|
|
253
243
|
* The parameters the functions accepts, described as a JSON Schema object. See the `OpenAI` [guide](https://platform.openai.com/docs/guides/function-calling) for examples, and the [JSON Schema reference](https://json-schema.org/understanding-json-schema/) for documentation about the format.
|
|
254
244
|
*/
|
|
255
245
|
parameters?: {
|
|
256
246
|
[k: string]: any;
|
|
257
247
|
} | undefined;
|
|
258
|
-
language:
|
|
248
|
+
language: AgentToolInputRunLanguage;
|
|
259
249
|
/**
|
|
260
250
|
* The code to execute.
|
|
261
251
|
*/
|
|
262
252
|
code: string;
|
|
263
253
|
};
|
|
264
254
|
/**
|
|
265
|
-
*
|
|
255
|
+
* Code execution tool with inline definition for on-the-fly creation in run endpoint
|
|
266
256
|
*/
|
|
267
|
-
export type
|
|
257
|
+
export type AgentToolInputRunCodeToolRun = {
|
|
258
|
+
type: StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type;
|
|
268
259
|
/**
|
|
269
260
|
* Unique key of the tool as it will be displayed in the UI
|
|
270
261
|
*/
|
|
271
262
|
key: string;
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
*/
|
|
275
|
-
displayName: string;
|
|
263
|
+
id?: string | undefined;
|
|
264
|
+
displayName?: string | undefined;
|
|
276
265
|
/**
|
|
277
266
|
* 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.
|
|
278
267
|
*/
|
|
279
268
|
description: string;
|
|
280
|
-
|
|
281
|
-
codeTool: RunAgentRequestToolCodeTool;
|
|
282
|
-
id?: string | undefined;
|
|
269
|
+
codeTool: AgentToolInputRunCodeTool;
|
|
283
270
|
requiresApproval?: boolean | undefined;
|
|
284
271
|
};
|
|
285
|
-
export declare const
|
|
272
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type: {
|
|
286
273
|
readonly Http: "http";
|
|
287
274
|
};
|
|
288
|
-
export type
|
|
275
|
+
export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type>;
|
|
289
276
|
/**
|
|
290
277
|
* The HTTP method to use.
|
|
291
278
|
*/
|
|
292
|
-
export declare const
|
|
279
|
+
export declare const AgentToolInputRunMethod: {
|
|
293
280
|
readonly Get: "GET";
|
|
294
281
|
readonly Post: "POST";
|
|
295
282
|
readonly Put: "PUT";
|
|
@@ -298,11 +285,11 @@ export declare const RunAgentRequestToolMethod: {
|
|
|
298
285
|
/**
|
|
299
286
|
* The HTTP method to use.
|
|
300
287
|
*/
|
|
301
|
-
export type
|
|
288
|
+
export type AgentToolInputRunMethod = ClosedEnum<typeof AgentToolInputRunMethod>;
|
|
302
289
|
/**
|
|
303
290
|
* The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
|
|
304
291
|
*/
|
|
305
|
-
export type
|
|
292
|
+
export type AgentToolInputRunBlueprint = {
|
|
306
293
|
/**
|
|
307
294
|
* The URL to send the request to.
|
|
308
295
|
*/
|
|
@@ -310,7 +297,7 @@ export type RunAgentRequestToolBlueprint = {
|
|
|
310
297
|
/**
|
|
311
298
|
* The HTTP method to use.
|
|
312
299
|
*/
|
|
313
|
-
method:
|
|
300
|
+
method: AgentToolInputRunMethod;
|
|
314
301
|
/**
|
|
315
302
|
* The headers to send with the request.
|
|
316
303
|
*/
|
|
@@ -327,7 +314,7 @@ export type RunAgentRequestToolBlueprint = {
|
|
|
327
314
|
/**
|
|
328
315
|
* The type of the argument.
|
|
329
316
|
*/
|
|
330
|
-
export declare const
|
|
317
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType: {
|
|
331
318
|
readonly String: "string";
|
|
332
319
|
readonly Number: "number";
|
|
333
320
|
readonly Boolean: "boolean";
|
|
@@ -335,16 +322,16 @@ export declare const StreamRunAgentRunAgentRequestToolAgentsRequestRequestBodySe
|
|
|
335
322
|
/**
|
|
336
323
|
* The type of the argument.
|
|
337
324
|
*/
|
|
338
|
-
export type
|
|
325
|
+
export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType>;
|
|
339
326
|
/**
|
|
340
327
|
* The default value of the argument.
|
|
341
328
|
*/
|
|
342
|
-
export type
|
|
343
|
-
export type
|
|
329
|
+
export type AgentToolInputRunDefaultValue = string | number | boolean;
|
|
330
|
+
export type AgentToolInputRunArguments = {
|
|
344
331
|
/**
|
|
345
332
|
* The type of the argument.
|
|
346
333
|
*/
|
|
347
|
-
type:
|
|
334
|
+
type: StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType;
|
|
348
335
|
/**
|
|
349
336
|
* A description of the argument.
|
|
350
337
|
*/
|
|
@@ -358,164 +345,194 @@ export type RunAgentRequestToolArguments = {
|
|
|
358
345
|
*/
|
|
359
346
|
defaultValue?: string | number | boolean | undefined;
|
|
360
347
|
};
|
|
361
|
-
export type
|
|
348
|
+
export type AgentToolInputRunHttp = {
|
|
362
349
|
/**
|
|
363
350
|
* The blueprint for the HTTP request. The `arguments` field will be used to replace the placeholders in the `url`, `headers`, `body`, and `arguments` fields.
|
|
364
351
|
*/
|
|
365
|
-
blueprint:
|
|
352
|
+
blueprint: AgentToolInputRunBlueprint;
|
|
366
353
|
/**
|
|
367
354
|
* The arguments to send with the request. The keys will be used to replace the placeholders in the `blueprint` field.
|
|
368
355
|
*/
|
|
369
356
|
arguments?: {
|
|
370
|
-
[k: string]:
|
|
357
|
+
[k: string]: AgentToolInputRunArguments;
|
|
371
358
|
} | undefined;
|
|
372
359
|
};
|
|
373
360
|
/**
|
|
374
|
-
*
|
|
361
|
+
* HTTP tool with inline definition for on-the-fly creation in run endpoint
|
|
375
362
|
*/
|
|
376
|
-
export type
|
|
377
|
-
|
|
363
|
+
export type AgentToolInputRunHTTPToolRun = {
|
|
364
|
+
type: StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type;
|
|
378
365
|
/**
|
|
379
366
|
* Unique key of the tool as it will be displayed in the UI
|
|
380
367
|
*/
|
|
381
368
|
key: string;
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
*/
|
|
385
|
-
displayName: string;
|
|
369
|
+
id?: string | undefined;
|
|
370
|
+
displayName?: string | undefined;
|
|
386
371
|
/**
|
|
387
372
|
* 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.
|
|
388
373
|
*/
|
|
389
374
|
description: string;
|
|
390
|
-
|
|
391
|
-
http: RunAgentRequestToolHttp;
|
|
375
|
+
http: AgentToolInputRunHttp;
|
|
392
376
|
requiresApproval?: boolean | undefined;
|
|
393
377
|
};
|
|
394
|
-
export declare const
|
|
378
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type: {
|
|
395
379
|
readonly CurrentDate: "current_date";
|
|
396
380
|
};
|
|
397
|
-
export type
|
|
381
|
+
export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type>;
|
|
398
382
|
/**
|
|
399
|
-
*
|
|
383
|
+
* Returns the current date and time
|
|
400
384
|
*/
|
|
401
|
-
export type
|
|
402
|
-
type:
|
|
385
|
+
export type StreamRunAgentAgentToolInputRunCurrentDateTool = {
|
|
386
|
+
type: StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type;
|
|
387
|
+
/**
|
|
388
|
+
* Whether this tool requires approval before execution
|
|
389
|
+
*/
|
|
403
390
|
requiresApproval?: boolean | undefined;
|
|
404
391
|
};
|
|
405
|
-
export declare const
|
|
392
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type: {
|
|
406
393
|
readonly QueryKnowledgeBase: "query_knowledge_base";
|
|
407
394
|
};
|
|
408
|
-
export type
|
|
395
|
+
export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type>;
|
|
409
396
|
/**
|
|
410
397
|
* Queries knowledge bases for information
|
|
411
398
|
*/
|
|
412
|
-
export type
|
|
413
|
-
type:
|
|
399
|
+
export type StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool = {
|
|
400
|
+
type: StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type;
|
|
401
|
+
/**
|
|
402
|
+
* Whether this tool requires approval before execution
|
|
403
|
+
*/
|
|
414
404
|
requiresApproval?: boolean | undefined;
|
|
415
405
|
};
|
|
416
|
-
export declare const
|
|
406
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type: {
|
|
417
407
|
readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
|
|
418
408
|
};
|
|
419
|
-
export type
|
|
409
|
+
export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type>;
|
|
420
410
|
/**
|
|
421
411
|
* Lists available knowledge bases
|
|
422
412
|
*/
|
|
423
|
-
export type
|
|
424
|
-
type:
|
|
413
|
+
export type StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool = {
|
|
414
|
+
type: StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type;
|
|
415
|
+
/**
|
|
416
|
+
* Whether this tool requires approval before execution
|
|
417
|
+
*/
|
|
425
418
|
requiresApproval?: boolean | undefined;
|
|
426
419
|
};
|
|
427
|
-
export declare const
|
|
420
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type: {
|
|
428
421
|
readonly DeleteMemoryDocument: "delete_memory_document";
|
|
429
422
|
};
|
|
430
|
-
export type
|
|
423
|
+
export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type>;
|
|
431
424
|
/**
|
|
432
|
-
* Deletes
|
|
425
|
+
* Deletes documents from memory stores
|
|
433
426
|
*/
|
|
434
|
-
export type
|
|
435
|
-
type:
|
|
427
|
+
export type StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool = {
|
|
428
|
+
type: StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type;
|
|
429
|
+
/**
|
|
430
|
+
* Whether this tool requires approval before execution
|
|
431
|
+
*/
|
|
436
432
|
requiresApproval?: boolean | undefined;
|
|
437
433
|
};
|
|
438
|
-
export declare const
|
|
434
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type: {
|
|
439
435
|
readonly RetrieveMemoryStores: "retrieve_memory_stores";
|
|
440
436
|
};
|
|
441
|
-
export type
|
|
437
|
+
export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type>;
|
|
442
438
|
/**
|
|
443
439
|
* Lists available memory stores
|
|
444
440
|
*/
|
|
445
|
-
export type
|
|
446
|
-
type:
|
|
441
|
+
export type StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool = {
|
|
442
|
+
type: StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type;
|
|
443
|
+
/**
|
|
444
|
+
* Whether this tool requires approval before execution
|
|
445
|
+
*/
|
|
447
446
|
requiresApproval?: boolean | undefined;
|
|
448
447
|
};
|
|
449
|
-
export declare const
|
|
448
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType: {
|
|
450
449
|
readonly WriteMemoryStore: "write_memory_store";
|
|
451
450
|
};
|
|
452
|
-
export type
|
|
451
|
+
export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType>;
|
|
453
452
|
/**
|
|
454
453
|
* Writes information to agent memory stores
|
|
455
454
|
*/
|
|
456
|
-
export type
|
|
457
|
-
type:
|
|
455
|
+
export type StreamRunAgentAgentToolInputRunWriteMemoryStoreTool = {
|
|
456
|
+
type: StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType;
|
|
457
|
+
/**
|
|
458
|
+
* Whether this tool requires approval before execution
|
|
459
|
+
*/
|
|
458
460
|
requiresApproval?: boolean | undefined;
|
|
459
461
|
};
|
|
460
|
-
export declare const
|
|
462
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType: {
|
|
461
463
|
readonly QueryMemoryStore: "query_memory_store";
|
|
462
464
|
};
|
|
463
|
-
export type
|
|
465
|
+
export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType>;
|
|
464
466
|
/**
|
|
465
467
|
* Queries agent memory stores for context
|
|
466
468
|
*/
|
|
467
|
-
export type
|
|
468
|
-
type:
|
|
469
|
+
export type StreamRunAgentAgentToolInputRunQueryMemoryStoreTool = {
|
|
470
|
+
type: StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType;
|
|
471
|
+
/**
|
|
472
|
+
* Whether this tool requires approval before execution
|
|
473
|
+
*/
|
|
469
474
|
requiresApproval?: boolean | undefined;
|
|
470
475
|
};
|
|
471
|
-
export declare const
|
|
476
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType: {
|
|
472
477
|
readonly RetrieveAgents: "retrieve_agents";
|
|
473
478
|
};
|
|
474
|
-
export type
|
|
479
|
+
export type StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType>;
|
|
475
480
|
/**
|
|
476
481
|
* Retrieves available agents in the system
|
|
477
482
|
*/
|
|
478
|
-
export type
|
|
479
|
-
type:
|
|
483
|
+
export type StreamRunAgentAgentToolInputRunRetrieveAgentsTool = {
|
|
484
|
+
type: StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType;
|
|
485
|
+
/**
|
|
486
|
+
* Whether this tool requires approval before execution
|
|
487
|
+
*/
|
|
480
488
|
requiresApproval?: boolean | undefined;
|
|
481
489
|
};
|
|
482
|
-
export declare const
|
|
490
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestType: {
|
|
483
491
|
readonly CallSubAgent: "call_sub_agent";
|
|
484
492
|
};
|
|
485
|
-
export type
|
|
493
|
+
export type StreamRunAgentAgentToolInputRunAgentsRequestType = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestType>;
|
|
486
494
|
/**
|
|
487
495
|
* Delegates tasks to specialized sub-agents
|
|
488
496
|
*/
|
|
489
|
-
export type
|
|
490
|
-
type:
|
|
497
|
+
export type StreamRunAgentAgentToolInputRunCallSubAgentTool = {
|
|
498
|
+
type: StreamRunAgentAgentToolInputRunAgentsRequestType;
|
|
499
|
+
/**
|
|
500
|
+
* Whether this tool requires approval before execution
|
|
501
|
+
*/
|
|
491
502
|
requiresApproval?: boolean | undefined;
|
|
492
503
|
};
|
|
493
|
-
export declare const
|
|
504
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsType: {
|
|
494
505
|
readonly WebScraper: "web_scraper";
|
|
495
506
|
};
|
|
496
|
-
export type
|
|
507
|
+
export type StreamRunAgentAgentToolInputRunAgentsType = ClosedEnum<typeof StreamRunAgentAgentToolInputRunAgentsType>;
|
|
497
508
|
/**
|
|
498
509
|
* Scrapes and extracts content from web pages
|
|
499
510
|
*/
|
|
500
|
-
export type
|
|
501
|
-
type:
|
|
511
|
+
export type StreamRunAgentAgentToolInputRunWebScraperTool = {
|
|
512
|
+
type: StreamRunAgentAgentToolInputRunAgentsType;
|
|
513
|
+
/**
|
|
514
|
+
* Whether this tool requires approval before execution
|
|
515
|
+
*/
|
|
502
516
|
requiresApproval?: boolean | undefined;
|
|
503
517
|
};
|
|
504
|
-
export declare const
|
|
518
|
+
export declare const StreamRunAgentAgentToolInputRunType: {
|
|
505
519
|
readonly GoogleSearch: "google_search";
|
|
506
520
|
};
|
|
507
|
-
export type
|
|
521
|
+
export type StreamRunAgentAgentToolInputRunType = ClosedEnum<typeof StreamRunAgentAgentToolInputRunType>;
|
|
508
522
|
/**
|
|
509
523
|
* Performs Google searches to retrieve web content
|
|
510
524
|
*/
|
|
511
|
-
export type
|
|
512
|
-
type:
|
|
525
|
+
export type StreamRunAgentAgentToolInputRunGoogleSearchTool = {
|
|
526
|
+
type: StreamRunAgentAgentToolInputRunType;
|
|
527
|
+
/**
|
|
528
|
+
* Whether this tool requires approval before execution
|
|
529
|
+
*/
|
|
513
530
|
requiresApproval?: boolean | undefined;
|
|
514
531
|
};
|
|
515
532
|
/**
|
|
516
|
-
*
|
|
533
|
+
* Tool configuration for agent run operations. Built-in tools only require a type and requires_approval, while custom tools (http, code, function) support full inline definitions for on-the-fly creation.
|
|
517
534
|
*/
|
|
518
|
-
export type
|
|
535
|
+
export type StreamRunAgentAgentToolInputRun = AgentToolInputRunHTTPToolRun | AgentToolInputRunCodeToolRun | AgentToolInputRunFunctionToolRun | StreamRunAgentAgentToolInputRunGoogleSearchTool | StreamRunAgentAgentToolInputRunWebScraperTool | StreamRunAgentAgentToolInputRunCallSubAgentTool | StreamRunAgentAgentToolInputRunRetrieveAgentsTool | StreamRunAgentAgentToolInputRunQueryMemoryStoreTool | StreamRunAgentAgentToolInputRunWriteMemoryStoreTool | StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool | StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool | StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool | StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool | StreamRunAgentAgentToolInputRunCurrentDateTool;
|
|
519
536
|
/**
|
|
520
537
|
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
521
538
|
*/
|
|
@@ -532,7 +549,7 @@ export type StreamRunAgentSettings = {
|
|
|
532
549
|
/**
|
|
533
550
|
* Tools available to the agent
|
|
534
551
|
*/
|
|
535
|
-
tools: Array<
|
|
552
|
+
tools: Array<AgentToolInputRunHTTPToolRun | AgentToolInputRunCodeToolRun | AgentToolInputRunFunctionToolRun | StreamRunAgentAgentToolInputRunGoogleSearchTool | StreamRunAgentAgentToolInputRunWebScraperTool | StreamRunAgentAgentToolInputRunCallSubAgentTool | StreamRunAgentAgentToolInputRunRetrieveAgentsTool | StreamRunAgentAgentToolInputRunQueryMemoryStoreTool | StreamRunAgentAgentToolInputRunWriteMemoryStoreTool | StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool | StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool | StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool | StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool | StreamRunAgentAgentToolInputRunCurrentDateTool>;
|
|
536
553
|
/**
|
|
537
554
|
* If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
|
|
538
555
|
*/
|
|
@@ -609,6 +626,9 @@ export type StreamRunAgentRequestBody = {
|
|
|
609
626
|
* The list of keys of the memory stores that are accessible to the agent.
|
|
610
627
|
*/
|
|
611
628
|
memoryStores?: Array<string> | undefined;
|
|
629
|
+
/**
|
|
630
|
+
* Knowledge base configurations for the agent to access
|
|
631
|
+
*/
|
|
612
632
|
knowledgeBases?: Array<StreamRunAgentKnowledgeBases> | undefined;
|
|
613
633
|
/**
|
|
614
634
|
* The agents that are accessible to this orchestrator. The main agent can hand off to these agents to perform tasks.
|
|
@@ -710,9 +730,9 @@ export declare namespace StreamRunAgentPublicMessagePartAgentsRequestKind$ {
|
|
|
710
730
|
}>;
|
|
711
731
|
}
|
|
712
732
|
/** @internal */
|
|
713
|
-
export declare const
|
|
733
|
+
export declare const StreamRunAgentPublicMessagePartToolResultPart$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartToolResultPart, z.ZodTypeDef, unknown>;
|
|
714
734
|
/** @internal */
|
|
715
|
-
export type
|
|
735
|
+
export type StreamRunAgentPublicMessagePartToolResultPart$Outbound = {
|
|
716
736
|
kind: string;
|
|
717
737
|
tool_call_id: string;
|
|
718
738
|
result?: any | undefined;
|
|
@@ -721,21 +741,21 @@ export type PublicMessagePartToolResultPart$Outbound = {
|
|
|
721
741
|
} | undefined;
|
|
722
742
|
};
|
|
723
743
|
/** @internal */
|
|
724
|
-
export declare const
|
|
744
|
+
export declare const StreamRunAgentPublicMessagePartToolResultPart$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartToolResultPart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartToolResultPart>;
|
|
725
745
|
/**
|
|
726
746
|
* @internal
|
|
727
747
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
728
748
|
*/
|
|
729
|
-
export declare namespace
|
|
730
|
-
/** @deprecated use `
|
|
731
|
-
const inboundSchema: z.ZodType<
|
|
732
|
-
/** @deprecated use `
|
|
733
|
-
const outboundSchema: z.ZodType<
|
|
734
|
-
/** @deprecated use `
|
|
735
|
-
type Outbound =
|
|
749
|
+
export declare namespace StreamRunAgentPublicMessagePartToolResultPart$ {
|
|
750
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartToolResultPart$inboundSchema` instead. */
|
|
751
|
+
const inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartToolResultPart, z.ZodTypeDef, unknown>;
|
|
752
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartToolResultPart$outboundSchema` instead. */
|
|
753
|
+
const outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartToolResultPart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartToolResultPart>;
|
|
754
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartToolResultPart$Outbound` instead. */
|
|
755
|
+
type Outbound = StreamRunAgentPublicMessagePartToolResultPart$Outbound;
|
|
736
756
|
}
|
|
737
|
-
export declare function
|
|
738
|
-
export declare function
|
|
757
|
+
export declare function streamRunAgentPublicMessagePartToolResultPartToJSON(streamRunAgentPublicMessagePartToolResultPart: StreamRunAgentPublicMessagePartToolResultPart): string;
|
|
758
|
+
export declare function streamRunAgentPublicMessagePartToolResultPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePartToolResultPart, SDKValidationError>;
|
|
739
759
|
/** @internal */
|
|
740
760
|
export declare const StreamRunAgentPublicMessagePartAgentsKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPublicMessagePartAgentsKind>;
|
|
741
761
|
/** @internal */
|
|
@@ -755,57 +775,57 @@ export declare namespace StreamRunAgentPublicMessagePartAgentsKind$ {
|
|
|
755
775
|
}>;
|
|
756
776
|
}
|
|
757
777
|
/** @internal */
|
|
758
|
-
export declare const
|
|
778
|
+
export declare const StreamRunAgentFileFileInURIFormat$inboundSchema: z.ZodType<StreamRunAgentFileFileInURIFormat, z.ZodTypeDef, unknown>;
|
|
759
779
|
/** @internal */
|
|
760
|
-
export type
|
|
780
|
+
export type StreamRunAgentFileFileInURIFormat$Outbound = {
|
|
761
781
|
uri: string;
|
|
762
782
|
mimeType?: string | undefined;
|
|
763
783
|
name?: string | undefined;
|
|
764
784
|
};
|
|
765
785
|
/** @internal */
|
|
766
|
-
export declare const
|
|
786
|
+
export declare const StreamRunAgentFileFileInURIFormat$outboundSchema: z.ZodType<StreamRunAgentFileFileInURIFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileFileInURIFormat>;
|
|
767
787
|
/**
|
|
768
788
|
* @internal
|
|
769
789
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
770
790
|
*/
|
|
771
|
-
export declare namespace
|
|
772
|
-
/** @deprecated use `
|
|
773
|
-
const inboundSchema: z.ZodType<
|
|
774
|
-
/** @deprecated use `
|
|
775
|
-
const outboundSchema: z.ZodType<
|
|
776
|
-
/** @deprecated use `
|
|
777
|
-
type Outbound =
|
|
791
|
+
export declare namespace StreamRunAgentFileFileInURIFormat$ {
|
|
792
|
+
/** @deprecated use `StreamRunAgentFileFileInURIFormat$inboundSchema` instead. */
|
|
793
|
+
const inboundSchema: z.ZodType<StreamRunAgentFileFileInURIFormat, z.ZodTypeDef, unknown>;
|
|
794
|
+
/** @deprecated use `StreamRunAgentFileFileInURIFormat$outboundSchema` instead. */
|
|
795
|
+
const outboundSchema: z.ZodType<StreamRunAgentFileFileInURIFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileFileInURIFormat>;
|
|
796
|
+
/** @deprecated use `StreamRunAgentFileFileInURIFormat$Outbound` instead. */
|
|
797
|
+
type Outbound = StreamRunAgentFileFileInURIFormat$Outbound;
|
|
778
798
|
}
|
|
779
|
-
export declare function
|
|
780
|
-
export declare function
|
|
799
|
+
export declare function streamRunAgentFileFileInURIFormatToJSON(streamRunAgentFileFileInURIFormat: StreamRunAgentFileFileInURIFormat): string;
|
|
800
|
+
export declare function streamRunAgentFileFileInURIFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFileFileInURIFormat, SDKValidationError>;
|
|
781
801
|
/** @internal */
|
|
782
|
-
export declare const
|
|
802
|
+
export declare const StreamRunAgentFileBinaryFormat$inboundSchema: z.ZodType<StreamRunAgentFileBinaryFormat, z.ZodTypeDef, unknown>;
|
|
783
803
|
/** @internal */
|
|
784
|
-
export type
|
|
804
|
+
export type StreamRunAgentFileBinaryFormat$Outbound = {
|
|
785
805
|
bytes: string;
|
|
786
806
|
mimeType?: string | undefined;
|
|
787
807
|
name?: string | undefined;
|
|
788
808
|
};
|
|
789
809
|
/** @internal */
|
|
790
|
-
export declare const
|
|
810
|
+
export declare const StreamRunAgentFileBinaryFormat$outboundSchema: z.ZodType<StreamRunAgentFileBinaryFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileBinaryFormat>;
|
|
791
811
|
/**
|
|
792
812
|
* @internal
|
|
793
813
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
794
814
|
*/
|
|
795
|
-
export declare namespace
|
|
796
|
-
/** @deprecated use `
|
|
797
|
-
const inboundSchema: z.ZodType<
|
|
798
|
-
/** @deprecated use `
|
|
799
|
-
const outboundSchema: z.ZodType<
|
|
800
|
-
/** @deprecated use `
|
|
801
|
-
type Outbound =
|
|
815
|
+
export declare namespace StreamRunAgentFileBinaryFormat$ {
|
|
816
|
+
/** @deprecated use `StreamRunAgentFileBinaryFormat$inboundSchema` instead. */
|
|
817
|
+
const inboundSchema: z.ZodType<StreamRunAgentFileBinaryFormat, z.ZodTypeDef, unknown>;
|
|
818
|
+
/** @deprecated use `StreamRunAgentFileBinaryFormat$outboundSchema` instead. */
|
|
819
|
+
const outboundSchema: z.ZodType<StreamRunAgentFileBinaryFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileBinaryFormat>;
|
|
820
|
+
/** @deprecated use `StreamRunAgentFileBinaryFormat$Outbound` instead. */
|
|
821
|
+
type Outbound = StreamRunAgentFileBinaryFormat$Outbound;
|
|
802
822
|
}
|
|
803
|
-
export declare function
|
|
804
|
-
export declare function
|
|
823
|
+
export declare function streamRunAgentFileBinaryFormatToJSON(streamRunAgentFileBinaryFormat: StreamRunAgentFileBinaryFormat): string;
|
|
824
|
+
export declare function streamRunAgentFileBinaryFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFileBinaryFormat, SDKValidationError>;
|
|
805
825
|
/** @internal */
|
|
806
826
|
export declare const StreamRunAgentPublicMessagePartFile$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFile, z.ZodTypeDef, unknown>;
|
|
807
827
|
/** @internal */
|
|
808
|
-
export type StreamRunAgentPublicMessagePartFile$Outbound =
|
|
828
|
+
export type StreamRunAgentPublicMessagePartFile$Outbound = StreamRunAgentFileBinaryFormat$Outbound | StreamRunAgentFileFileInURIFormat$Outbound;
|
|
809
829
|
/** @internal */
|
|
810
830
|
export declare const StreamRunAgentPublicMessagePartFile$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFile$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartFile>;
|
|
811
831
|
/**
|
|
@@ -823,31 +843,31 @@ export declare namespace StreamRunAgentPublicMessagePartFile$ {
|
|
|
823
843
|
export declare function streamRunAgentPublicMessagePartFileToJSON(streamRunAgentPublicMessagePartFile: StreamRunAgentPublicMessagePartFile): string;
|
|
824
844
|
export declare function streamRunAgentPublicMessagePartFileFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePartFile, SDKValidationError>;
|
|
825
845
|
/** @internal */
|
|
826
|
-
export declare const
|
|
846
|
+
export declare const StreamRunAgentPublicMessagePartFilePart$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFilePart, z.ZodTypeDef, unknown>;
|
|
827
847
|
/** @internal */
|
|
828
|
-
export type
|
|
848
|
+
export type StreamRunAgentPublicMessagePartFilePart$Outbound = {
|
|
829
849
|
kind: string;
|
|
830
|
-
file:
|
|
850
|
+
file: StreamRunAgentFileBinaryFormat$Outbound | StreamRunAgentFileFileInURIFormat$Outbound;
|
|
831
851
|
metadata?: {
|
|
832
852
|
[k: string]: any;
|
|
833
853
|
} | undefined;
|
|
834
854
|
};
|
|
835
855
|
/** @internal */
|
|
836
|
-
export declare const
|
|
856
|
+
export declare const StreamRunAgentPublicMessagePartFilePart$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFilePart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartFilePart>;
|
|
837
857
|
/**
|
|
838
858
|
* @internal
|
|
839
859
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
840
860
|
*/
|
|
841
|
-
export declare namespace
|
|
842
|
-
/** @deprecated use `
|
|
843
|
-
const inboundSchema: z.ZodType<
|
|
844
|
-
/** @deprecated use `
|
|
845
|
-
const outboundSchema: z.ZodType<
|
|
846
|
-
/** @deprecated use `
|
|
847
|
-
type Outbound =
|
|
861
|
+
export declare namespace StreamRunAgentPublicMessagePartFilePart$ {
|
|
862
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartFilePart$inboundSchema` instead. */
|
|
863
|
+
const inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFilePart, z.ZodTypeDef, unknown>;
|
|
864
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartFilePart$outboundSchema` instead. */
|
|
865
|
+
const outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFilePart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartFilePart>;
|
|
866
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartFilePart$Outbound` instead. */
|
|
867
|
+
type Outbound = StreamRunAgentPublicMessagePartFilePart$Outbound;
|
|
848
868
|
}
|
|
849
|
-
export declare function
|
|
850
|
-
export declare function
|
|
869
|
+
export declare function streamRunAgentPublicMessagePartFilePartToJSON(streamRunAgentPublicMessagePartFilePart: StreamRunAgentPublicMessagePartFilePart): string;
|
|
870
|
+
export declare function streamRunAgentPublicMessagePartFilePartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePartFilePart, SDKValidationError>;
|
|
851
871
|
/** @internal */
|
|
852
872
|
export declare const StreamRunAgentPublicMessagePartKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPublicMessagePartKind>;
|
|
853
873
|
/** @internal */
|
|
@@ -867,32 +887,32 @@ export declare namespace StreamRunAgentPublicMessagePartKind$ {
|
|
|
867
887
|
}>;
|
|
868
888
|
}
|
|
869
889
|
/** @internal */
|
|
870
|
-
export declare const
|
|
890
|
+
export declare const StreamRunAgentPublicMessagePartTextPart$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartTextPart, z.ZodTypeDef, unknown>;
|
|
871
891
|
/** @internal */
|
|
872
|
-
export type
|
|
892
|
+
export type StreamRunAgentPublicMessagePartTextPart$Outbound = {
|
|
873
893
|
kind: string;
|
|
874
894
|
text: string;
|
|
875
895
|
};
|
|
876
896
|
/** @internal */
|
|
877
|
-
export declare const
|
|
897
|
+
export declare const StreamRunAgentPublicMessagePartTextPart$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartTextPart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartTextPart>;
|
|
878
898
|
/**
|
|
879
899
|
* @internal
|
|
880
900
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
881
901
|
*/
|
|
882
|
-
export declare namespace
|
|
883
|
-
/** @deprecated use `
|
|
884
|
-
const inboundSchema: z.ZodType<
|
|
885
|
-
/** @deprecated use `
|
|
886
|
-
const outboundSchema: z.ZodType<
|
|
887
|
-
/** @deprecated use `
|
|
888
|
-
type Outbound =
|
|
902
|
+
export declare namespace StreamRunAgentPublicMessagePartTextPart$ {
|
|
903
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartTextPart$inboundSchema` instead. */
|
|
904
|
+
const inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartTextPart, z.ZodTypeDef, unknown>;
|
|
905
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartTextPart$outboundSchema` instead. */
|
|
906
|
+
const outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartTextPart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartTextPart>;
|
|
907
|
+
/** @deprecated use `StreamRunAgentPublicMessagePartTextPart$Outbound` instead. */
|
|
908
|
+
type Outbound = StreamRunAgentPublicMessagePartTextPart$Outbound;
|
|
889
909
|
}
|
|
890
|
-
export declare function
|
|
891
|
-
export declare function
|
|
910
|
+
export declare function streamRunAgentPublicMessagePartTextPartToJSON(streamRunAgentPublicMessagePartTextPart: StreamRunAgentPublicMessagePartTextPart): string;
|
|
911
|
+
export declare function streamRunAgentPublicMessagePartTextPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePartTextPart, SDKValidationError>;
|
|
892
912
|
/** @internal */
|
|
893
913
|
export declare const StreamRunAgentPublicMessagePart$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePart, z.ZodTypeDef, unknown>;
|
|
894
914
|
/** @internal */
|
|
895
|
-
export type StreamRunAgentPublicMessagePart$Outbound =
|
|
915
|
+
export type StreamRunAgentPublicMessagePart$Outbound = StreamRunAgentPublicMessagePartTextPart$Outbound | StreamRunAgentPublicMessagePartFilePart$Outbound | StreamRunAgentPublicMessagePartToolResultPart$Outbound;
|
|
896
916
|
/** @internal */
|
|
897
917
|
export declare const StreamRunAgentPublicMessagePart$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePart>;
|
|
898
918
|
/**
|
|
@@ -915,7 +935,7 @@ export declare const StreamRunAgentMessage$inboundSchema: z.ZodType<StreamRunAge
|
|
|
915
935
|
export type StreamRunAgentMessage$Outbound = {
|
|
916
936
|
messageId?: string | undefined;
|
|
917
937
|
role: string | string;
|
|
918
|
-
parts: Array<
|
|
938
|
+
parts: Array<StreamRunAgentPublicMessagePartTextPart$Outbound | StreamRunAgentPublicMessagePartFilePart$Outbound | StreamRunAgentPublicMessagePartToolResultPart$Outbound>;
|
|
919
939
|
};
|
|
920
940
|
/** @internal */
|
|
921
941
|
export declare const StreamRunAgentMessage$outboundSchema: z.ZodType<StreamRunAgentMessage$Outbound, z.ZodTypeDef, StreamRunAgentMessage>;
|
|
@@ -1008,111 +1028,10 @@ export declare namespace StreamRunAgentMemory$ {
|
|
|
1008
1028
|
export declare function streamRunAgentMemoryToJSON(streamRunAgentMemory: StreamRunAgentMemory): string;
|
|
1009
1029
|
export declare function streamRunAgentMemoryFromJSON(jsonString: string): SafeParseResult<StreamRunAgentMemory, SDKValidationError>;
|
|
1010
1030
|
/** @internal */
|
|
1011
|
-
export declare const StreamRunAgentKnowledgeBaseConfigurationAgentsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentKnowledgeBaseConfigurationAgentsType>;
|
|
1012
|
-
/** @internal */
|
|
1013
|
-
export declare const StreamRunAgentKnowledgeBaseConfigurationAgentsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentKnowledgeBaseConfigurationAgentsType>;
|
|
1014
|
-
/**
|
|
1015
|
-
* @internal
|
|
1016
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1017
|
-
*/
|
|
1018
|
-
export declare namespace StreamRunAgentKnowledgeBaseConfigurationAgentsType$ {
|
|
1019
|
-
/** @deprecated use `StreamRunAgentKnowledgeBaseConfigurationAgentsType$inboundSchema` instead. */
|
|
1020
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1021
|
-
readonly Query: "query";
|
|
1022
|
-
}>;
|
|
1023
|
-
/** @deprecated use `StreamRunAgentKnowledgeBaseConfigurationAgentsType$outboundSchema` instead. */
|
|
1024
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1025
|
-
readonly Query: "query";
|
|
1026
|
-
}>;
|
|
1027
|
-
}
|
|
1028
|
-
/** @internal */
|
|
1029
|
-
export declare const KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema: z.ZodType<KnowledgeBaseConfigurationKnowledgeBaseStaticQuery, z.ZodTypeDef, unknown>;
|
|
1030
|
-
/** @internal */
|
|
1031
|
-
export type KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound = {
|
|
1032
|
-
type: string;
|
|
1033
|
-
query: string;
|
|
1034
|
-
};
|
|
1035
|
-
/** @internal */
|
|
1036
|
-
export declare const KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema: z.ZodType<KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound, z.ZodTypeDef, KnowledgeBaseConfigurationKnowledgeBaseStaticQuery>;
|
|
1037
|
-
/**
|
|
1038
|
-
* @internal
|
|
1039
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1040
|
-
*/
|
|
1041
|
-
export declare namespace KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$ {
|
|
1042
|
-
/** @deprecated use `KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$inboundSchema` instead. */
|
|
1043
|
-
const inboundSchema: z.ZodType<KnowledgeBaseConfigurationKnowledgeBaseStaticQuery, z.ZodTypeDef, unknown>;
|
|
1044
|
-
/** @deprecated use `KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$outboundSchema` instead. */
|
|
1045
|
-
const outboundSchema: z.ZodType<KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound, z.ZodTypeDef, KnowledgeBaseConfigurationKnowledgeBaseStaticQuery>;
|
|
1046
|
-
/** @deprecated use `KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound` instead. */
|
|
1047
|
-
type Outbound = KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound;
|
|
1048
|
-
}
|
|
1049
|
-
export declare function knowledgeBaseConfigurationKnowledgeBaseStaticQueryToJSON(knowledgeBaseConfigurationKnowledgeBaseStaticQuery: KnowledgeBaseConfigurationKnowledgeBaseStaticQuery): string;
|
|
1050
|
-
export declare function knowledgeBaseConfigurationKnowledgeBaseStaticQueryFromJSON(jsonString: string): SafeParseResult<KnowledgeBaseConfigurationKnowledgeBaseStaticQuery, SDKValidationError>;
|
|
1051
|
-
/** @internal */
|
|
1052
|
-
export declare const StreamRunAgentKnowledgeBaseConfigurationType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentKnowledgeBaseConfigurationType>;
|
|
1053
|
-
/** @internal */
|
|
1054
|
-
export declare const StreamRunAgentKnowledgeBaseConfigurationType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentKnowledgeBaseConfigurationType>;
|
|
1055
|
-
/**
|
|
1056
|
-
* @internal
|
|
1057
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1058
|
-
*/
|
|
1059
|
-
export declare namespace StreamRunAgentKnowledgeBaseConfigurationType$ {
|
|
1060
|
-
/** @deprecated use `StreamRunAgentKnowledgeBaseConfigurationType$inboundSchema` instead. */
|
|
1061
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1062
|
-
readonly LastUserMessage: "last_user_message";
|
|
1063
|
-
}>;
|
|
1064
|
-
/** @deprecated use `StreamRunAgentKnowledgeBaseConfigurationType$outboundSchema` instead. */
|
|
1065
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1066
|
-
readonly LastUserMessage: "last_user_message";
|
|
1067
|
-
}>;
|
|
1068
|
-
}
|
|
1069
|
-
/** @internal */
|
|
1070
|
-
export declare const KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema: z.ZodType<KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage, z.ZodTypeDef, unknown>;
|
|
1071
|
-
/** @internal */
|
|
1072
|
-
export type KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound = {
|
|
1073
|
-
type: string;
|
|
1074
|
-
};
|
|
1075
|
-
/** @internal */
|
|
1076
|
-
export declare const KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema: z.ZodType<KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound, z.ZodTypeDef, KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage>;
|
|
1077
|
-
/**
|
|
1078
|
-
* @internal
|
|
1079
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1080
|
-
*/
|
|
1081
|
-
export declare namespace KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$ {
|
|
1082
|
-
/** @deprecated use `KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$inboundSchema` instead. */
|
|
1083
|
-
const inboundSchema: z.ZodType<KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage, z.ZodTypeDef, unknown>;
|
|
1084
|
-
/** @deprecated use `KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$outboundSchema` instead. */
|
|
1085
|
-
const outboundSchema: z.ZodType<KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound, z.ZodTypeDef, KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage>;
|
|
1086
|
-
/** @deprecated use `KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound` instead. */
|
|
1087
|
-
type Outbound = KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound;
|
|
1088
|
-
}
|
|
1089
|
-
export declare function knowledgeBaseConfigurationKnowledgeBaseLastUserMessageToJSON(knowledgeBaseConfigurationKnowledgeBaseLastUserMessage: KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage): string;
|
|
1090
|
-
export declare function knowledgeBaseConfigurationKnowledgeBaseLastUserMessageFromJSON(jsonString: string): SafeParseResult<KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage, SDKValidationError>;
|
|
1091
|
-
/** @internal */
|
|
1092
|
-
export declare const StreamRunAgentKnowledgeBaseConfiguration$inboundSchema: z.ZodType<StreamRunAgentKnowledgeBaseConfiguration, z.ZodTypeDef, unknown>;
|
|
1093
|
-
/** @internal */
|
|
1094
|
-
export type StreamRunAgentKnowledgeBaseConfiguration$Outbound = KnowledgeBaseConfigurationKnowledgeBaseStaticQuery$Outbound | KnowledgeBaseConfigurationKnowledgeBaseLastUserMessage$Outbound;
|
|
1095
|
-
/** @internal */
|
|
1096
|
-
export declare const StreamRunAgentKnowledgeBaseConfiguration$outboundSchema: z.ZodType<StreamRunAgentKnowledgeBaseConfiguration$Outbound, z.ZodTypeDef, StreamRunAgentKnowledgeBaseConfiguration>;
|
|
1097
|
-
/**
|
|
1098
|
-
* @internal
|
|
1099
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1100
|
-
*/
|
|
1101
|
-
export declare namespace StreamRunAgentKnowledgeBaseConfiguration$ {
|
|
1102
|
-
/** @deprecated use `StreamRunAgentKnowledgeBaseConfiguration$inboundSchema` instead. */
|
|
1103
|
-
const inboundSchema: z.ZodType<StreamRunAgentKnowledgeBaseConfiguration, z.ZodTypeDef, unknown>;
|
|
1104
|
-
/** @deprecated use `StreamRunAgentKnowledgeBaseConfiguration$outboundSchema` instead. */
|
|
1105
|
-
const outboundSchema: z.ZodType<StreamRunAgentKnowledgeBaseConfiguration$Outbound, z.ZodTypeDef, StreamRunAgentKnowledgeBaseConfiguration>;
|
|
1106
|
-
/** @deprecated use `StreamRunAgentKnowledgeBaseConfiguration$Outbound` instead. */
|
|
1107
|
-
type Outbound = StreamRunAgentKnowledgeBaseConfiguration$Outbound;
|
|
1108
|
-
}
|
|
1109
|
-
export declare function streamRunAgentKnowledgeBaseConfigurationToJSON(streamRunAgentKnowledgeBaseConfiguration: StreamRunAgentKnowledgeBaseConfiguration): string;
|
|
1110
|
-
export declare function streamRunAgentKnowledgeBaseConfigurationFromJSON(jsonString: string): SafeParseResult<StreamRunAgentKnowledgeBaseConfiguration, SDKValidationError>;
|
|
1111
|
-
/** @internal */
|
|
1112
1031
|
export declare const StreamRunAgentKnowledgeBases$inboundSchema: z.ZodType<StreamRunAgentKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
1113
1032
|
/** @internal */
|
|
1114
1033
|
export type StreamRunAgentKnowledgeBases$Outbound = {
|
|
1115
|
-
|
|
1034
|
+
knowledge_id: string;
|
|
1116
1035
|
};
|
|
1117
1036
|
/** @internal */
|
|
1118
1037
|
export declare const StreamRunAgentKnowledgeBases$outboundSchema: z.ZodType<StreamRunAgentKnowledgeBases$Outbound, z.ZodTypeDef, StreamRunAgentKnowledgeBases>;
|
|
@@ -1154,27 +1073,27 @@ export declare namespace StreamRunAgentTeamOfAgents$ {
|
|
|
1154
1073
|
export declare function streamRunAgentTeamOfAgentsToJSON(streamRunAgentTeamOfAgents: StreamRunAgentTeamOfAgents): string;
|
|
1155
1074
|
export declare function streamRunAgentTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentTeamOfAgents, SDKValidationError>;
|
|
1156
1075
|
/** @internal */
|
|
1157
|
-
export declare const
|
|
1076
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type>;
|
|
1158
1077
|
/** @internal */
|
|
1159
|
-
export declare const
|
|
1078
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type>;
|
|
1160
1079
|
/**
|
|
1161
1080
|
* @internal
|
|
1162
1081
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1163
1082
|
*/
|
|
1164
|
-
export declare namespace
|
|
1165
|
-
/** @deprecated use `
|
|
1083
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$ {
|
|
1084
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$inboundSchema` instead. */
|
|
1166
1085
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1167
1086
|
readonly Function: "function";
|
|
1168
1087
|
}>;
|
|
1169
|
-
/** @deprecated use `
|
|
1088
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$outboundSchema` instead. */
|
|
1170
1089
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1171
1090
|
readonly Function: "function";
|
|
1172
1091
|
}>;
|
|
1173
1092
|
}
|
|
1174
1093
|
/** @internal */
|
|
1175
|
-
export declare const
|
|
1094
|
+
export declare const StreamRunAgentAgentToolInputRunFunction$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunFunction, z.ZodTypeDef, unknown>;
|
|
1176
1095
|
/** @internal */
|
|
1177
|
-
export type
|
|
1096
|
+
export type StreamRunAgentAgentToolInputRunFunction$Outbound = {
|
|
1178
1097
|
name: string;
|
|
1179
1098
|
description?: string | undefined;
|
|
1180
1099
|
strict?: boolean | undefined;
|
|
@@ -1183,89 +1102,89 @@ export type StreamRunAgentRunAgentRequestToolFunction$Outbound = {
|
|
|
1183
1102
|
} | undefined;
|
|
1184
1103
|
};
|
|
1185
1104
|
/** @internal */
|
|
1186
|
-
export declare const
|
|
1105
|
+
export declare const StreamRunAgentAgentToolInputRunFunction$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunFunction$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunFunction>;
|
|
1187
1106
|
/**
|
|
1188
1107
|
* @internal
|
|
1189
1108
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1190
1109
|
*/
|
|
1191
|
-
export declare namespace
|
|
1192
|
-
/** @deprecated use `
|
|
1193
|
-
const inboundSchema: z.ZodType<
|
|
1194
|
-
/** @deprecated use `
|
|
1195
|
-
const outboundSchema: z.ZodType<
|
|
1196
|
-
/** @deprecated use `
|
|
1197
|
-
type Outbound =
|
|
1110
|
+
export declare namespace StreamRunAgentAgentToolInputRunFunction$ {
|
|
1111
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunFunction$inboundSchema` instead. */
|
|
1112
|
+
const inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunFunction, z.ZodTypeDef, unknown>;
|
|
1113
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunFunction$outboundSchema` instead. */
|
|
1114
|
+
const outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunFunction$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunFunction>;
|
|
1115
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunFunction$Outbound` instead. */
|
|
1116
|
+
type Outbound = StreamRunAgentAgentToolInputRunFunction$Outbound;
|
|
1198
1117
|
}
|
|
1199
|
-
export declare function
|
|
1200
|
-
export declare function
|
|
1118
|
+
export declare function streamRunAgentAgentToolInputRunFunctionToJSON(streamRunAgentAgentToolInputRunFunction: StreamRunAgentAgentToolInputRunFunction): string;
|
|
1119
|
+
export declare function streamRunAgentAgentToolInputRunFunctionFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunFunction, SDKValidationError>;
|
|
1201
1120
|
/** @internal */
|
|
1202
|
-
export declare const
|
|
1121
|
+
export declare const AgentToolInputRunFunctionToolRun$inboundSchema: z.ZodType<AgentToolInputRunFunctionToolRun, z.ZodTypeDef, unknown>;
|
|
1203
1122
|
/** @internal */
|
|
1204
|
-
export type
|
|
1123
|
+
export type AgentToolInputRunFunctionToolRun$Outbound = {
|
|
1205
1124
|
type: string;
|
|
1206
|
-
_id?: string | undefined;
|
|
1207
1125
|
key: string;
|
|
1126
|
+
_id?: string | undefined;
|
|
1208
1127
|
display_name?: string | undefined;
|
|
1209
1128
|
description?: string | undefined;
|
|
1129
|
+
function: StreamRunAgentAgentToolInputRunFunction$Outbound;
|
|
1210
1130
|
requires_approval: boolean;
|
|
1211
|
-
function: StreamRunAgentRunAgentRequestToolFunction$Outbound;
|
|
1212
1131
|
};
|
|
1213
1132
|
/** @internal */
|
|
1214
|
-
export declare const
|
|
1133
|
+
export declare const AgentToolInputRunFunctionToolRun$outboundSchema: z.ZodType<AgentToolInputRunFunctionToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunFunctionToolRun>;
|
|
1215
1134
|
/**
|
|
1216
1135
|
* @internal
|
|
1217
1136
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1218
1137
|
*/
|
|
1219
|
-
export declare namespace
|
|
1220
|
-
/** @deprecated use `
|
|
1221
|
-
const inboundSchema: z.ZodType<
|
|
1222
|
-
/** @deprecated use `
|
|
1223
|
-
const outboundSchema: z.ZodType<
|
|
1224
|
-
/** @deprecated use `
|
|
1225
|
-
type Outbound =
|
|
1138
|
+
export declare namespace AgentToolInputRunFunctionToolRun$ {
|
|
1139
|
+
/** @deprecated use `AgentToolInputRunFunctionToolRun$inboundSchema` instead. */
|
|
1140
|
+
const inboundSchema: z.ZodType<AgentToolInputRunFunctionToolRun, z.ZodTypeDef, unknown>;
|
|
1141
|
+
/** @deprecated use `AgentToolInputRunFunctionToolRun$outboundSchema` instead. */
|
|
1142
|
+
const outboundSchema: z.ZodType<AgentToolInputRunFunctionToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunFunctionToolRun>;
|
|
1143
|
+
/** @deprecated use `AgentToolInputRunFunctionToolRun$Outbound` instead. */
|
|
1144
|
+
type Outbound = AgentToolInputRunFunctionToolRun$Outbound;
|
|
1226
1145
|
}
|
|
1227
|
-
export declare function
|
|
1228
|
-
export declare function
|
|
1146
|
+
export declare function agentToolInputRunFunctionToolRunToJSON(agentToolInputRunFunctionToolRun: AgentToolInputRunFunctionToolRun): string;
|
|
1147
|
+
export declare function agentToolInputRunFunctionToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunFunctionToolRun, SDKValidationError>;
|
|
1229
1148
|
/** @internal */
|
|
1230
|
-
export declare const
|
|
1149
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type>;
|
|
1231
1150
|
/** @internal */
|
|
1232
|
-
export declare const
|
|
1151
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type>;
|
|
1233
1152
|
/**
|
|
1234
1153
|
* @internal
|
|
1235
1154
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1236
1155
|
*/
|
|
1237
|
-
export declare namespace
|
|
1238
|
-
/** @deprecated use `
|
|
1156
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$ {
|
|
1157
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$inboundSchema` instead. */
|
|
1239
1158
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1240
1159
|
readonly Code: "code";
|
|
1241
1160
|
}>;
|
|
1242
|
-
/** @deprecated use `
|
|
1161
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$outboundSchema` instead. */
|
|
1243
1162
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1244
1163
|
readonly Code: "code";
|
|
1245
1164
|
}>;
|
|
1246
1165
|
}
|
|
1247
1166
|
/** @internal */
|
|
1248
|
-
export declare const
|
|
1167
|
+
export declare const AgentToolInputRunLanguage$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunLanguage>;
|
|
1249
1168
|
/** @internal */
|
|
1250
|
-
export declare const
|
|
1169
|
+
export declare const AgentToolInputRunLanguage$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunLanguage>;
|
|
1251
1170
|
/**
|
|
1252
1171
|
* @internal
|
|
1253
1172
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1254
1173
|
*/
|
|
1255
|
-
export declare namespace
|
|
1256
|
-
/** @deprecated use `
|
|
1174
|
+
export declare namespace AgentToolInputRunLanguage$ {
|
|
1175
|
+
/** @deprecated use `AgentToolInputRunLanguage$inboundSchema` instead. */
|
|
1257
1176
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1258
1177
|
readonly Python: "python";
|
|
1259
1178
|
}>;
|
|
1260
|
-
/** @deprecated use `
|
|
1179
|
+
/** @deprecated use `AgentToolInputRunLanguage$outboundSchema` instead. */
|
|
1261
1180
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1262
1181
|
readonly Python: "python";
|
|
1263
1182
|
}>;
|
|
1264
1183
|
}
|
|
1265
1184
|
/** @internal */
|
|
1266
|
-
export declare const
|
|
1185
|
+
export declare const AgentToolInputRunCodeTool$inboundSchema: z.ZodType<AgentToolInputRunCodeTool, z.ZodTypeDef, unknown>;
|
|
1267
1186
|
/** @internal */
|
|
1268
|
-
export type
|
|
1187
|
+
export type AgentToolInputRunCodeTool$Outbound = {
|
|
1269
1188
|
parameters?: {
|
|
1270
1189
|
[k: string]: any;
|
|
1271
1190
|
} | undefined;
|
|
@@ -1273,84 +1192,84 @@ export type RunAgentRequestToolCodeTool$Outbound = {
|
|
|
1273
1192
|
code: string;
|
|
1274
1193
|
};
|
|
1275
1194
|
/** @internal */
|
|
1276
|
-
export declare const
|
|
1195
|
+
export declare const AgentToolInputRunCodeTool$outboundSchema: z.ZodType<AgentToolInputRunCodeTool$Outbound, z.ZodTypeDef, AgentToolInputRunCodeTool>;
|
|
1277
1196
|
/**
|
|
1278
1197
|
* @internal
|
|
1279
1198
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1280
1199
|
*/
|
|
1281
|
-
export declare namespace
|
|
1282
|
-
/** @deprecated use `
|
|
1283
|
-
const inboundSchema: z.ZodType<
|
|
1284
|
-
/** @deprecated use `
|
|
1285
|
-
const outboundSchema: z.ZodType<
|
|
1286
|
-
/** @deprecated use `
|
|
1287
|
-
type Outbound =
|
|
1200
|
+
export declare namespace AgentToolInputRunCodeTool$ {
|
|
1201
|
+
/** @deprecated use `AgentToolInputRunCodeTool$inboundSchema` instead. */
|
|
1202
|
+
const inboundSchema: z.ZodType<AgentToolInputRunCodeTool, z.ZodTypeDef, unknown>;
|
|
1203
|
+
/** @deprecated use `AgentToolInputRunCodeTool$outboundSchema` instead. */
|
|
1204
|
+
const outboundSchema: z.ZodType<AgentToolInputRunCodeTool$Outbound, z.ZodTypeDef, AgentToolInputRunCodeTool>;
|
|
1205
|
+
/** @deprecated use `AgentToolInputRunCodeTool$Outbound` instead. */
|
|
1206
|
+
type Outbound = AgentToolInputRunCodeTool$Outbound;
|
|
1288
1207
|
}
|
|
1289
|
-
export declare function
|
|
1290
|
-
export declare function
|
|
1208
|
+
export declare function agentToolInputRunCodeToolToJSON(agentToolInputRunCodeTool: AgentToolInputRunCodeTool): string;
|
|
1209
|
+
export declare function agentToolInputRunCodeToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunCodeTool, SDKValidationError>;
|
|
1291
1210
|
/** @internal */
|
|
1292
|
-
export declare const
|
|
1211
|
+
export declare const AgentToolInputRunCodeToolRun$inboundSchema: z.ZodType<AgentToolInputRunCodeToolRun, z.ZodTypeDef, unknown>;
|
|
1293
1212
|
/** @internal */
|
|
1294
|
-
export type
|
|
1295
|
-
key: string;
|
|
1296
|
-
display_name: string;
|
|
1297
|
-
description: string;
|
|
1213
|
+
export type AgentToolInputRunCodeToolRun$Outbound = {
|
|
1298
1214
|
type: string;
|
|
1299
|
-
|
|
1215
|
+
key: string;
|
|
1300
1216
|
_id?: string | undefined;
|
|
1217
|
+
display_name?: string | undefined;
|
|
1218
|
+
description: string;
|
|
1219
|
+
code_tool: AgentToolInputRunCodeTool$Outbound;
|
|
1301
1220
|
requires_approval: boolean;
|
|
1302
1221
|
};
|
|
1303
1222
|
/** @internal */
|
|
1304
|
-
export declare const
|
|
1223
|
+
export declare const AgentToolInputRunCodeToolRun$outboundSchema: z.ZodType<AgentToolInputRunCodeToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunCodeToolRun>;
|
|
1305
1224
|
/**
|
|
1306
1225
|
* @internal
|
|
1307
1226
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1308
1227
|
*/
|
|
1309
|
-
export declare namespace
|
|
1310
|
-
/** @deprecated use `
|
|
1311
|
-
const inboundSchema: z.ZodType<
|
|
1312
|
-
/** @deprecated use `
|
|
1313
|
-
const outboundSchema: z.ZodType<
|
|
1314
|
-
/** @deprecated use `
|
|
1315
|
-
type Outbound =
|
|
1228
|
+
export declare namespace AgentToolInputRunCodeToolRun$ {
|
|
1229
|
+
/** @deprecated use `AgentToolInputRunCodeToolRun$inboundSchema` instead. */
|
|
1230
|
+
const inboundSchema: z.ZodType<AgentToolInputRunCodeToolRun, z.ZodTypeDef, unknown>;
|
|
1231
|
+
/** @deprecated use `AgentToolInputRunCodeToolRun$outboundSchema` instead. */
|
|
1232
|
+
const outboundSchema: z.ZodType<AgentToolInputRunCodeToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunCodeToolRun>;
|
|
1233
|
+
/** @deprecated use `AgentToolInputRunCodeToolRun$Outbound` instead. */
|
|
1234
|
+
type Outbound = AgentToolInputRunCodeToolRun$Outbound;
|
|
1316
1235
|
}
|
|
1317
|
-
export declare function
|
|
1318
|
-
export declare function
|
|
1236
|
+
export declare function agentToolInputRunCodeToolRunToJSON(agentToolInputRunCodeToolRun: AgentToolInputRunCodeToolRun): string;
|
|
1237
|
+
export declare function agentToolInputRunCodeToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunCodeToolRun, SDKValidationError>;
|
|
1319
1238
|
/** @internal */
|
|
1320
|
-
export declare const
|
|
1239
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type>;
|
|
1321
1240
|
/** @internal */
|
|
1322
|
-
export declare const
|
|
1241
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type>;
|
|
1323
1242
|
/**
|
|
1324
1243
|
* @internal
|
|
1325
1244
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1326
1245
|
*/
|
|
1327
|
-
export declare namespace
|
|
1328
|
-
/** @deprecated use `
|
|
1246
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$ {
|
|
1247
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$inboundSchema` instead. */
|
|
1329
1248
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1330
1249
|
readonly Http: "http";
|
|
1331
1250
|
}>;
|
|
1332
|
-
/** @deprecated use `
|
|
1251
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$outboundSchema` instead. */
|
|
1333
1252
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1334
1253
|
readonly Http: "http";
|
|
1335
1254
|
}>;
|
|
1336
1255
|
}
|
|
1337
1256
|
/** @internal */
|
|
1338
|
-
export declare const
|
|
1257
|
+
export declare const AgentToolInputRunMethod$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunMethod>;
|
|
1339
1258
|
/** @internal */
|
|
1340
|
-
export declare const
|
|
1259
|
+
export declare const AgentToolInputRunMethod$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunMethod>;
|
|
1341
1260
|
/**
|
|
1342
1261
|
* @internal
|
|
1343
1262
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1344
1263
|
*/
|
|
1345
|
-
export declare namespace
|
|
1346
|
-
/** @deprecated use `
|
|
1264
|
+
export declare namespace AgentToolInputRunMethod$ {
|
|
1265
|
+
/** @deprecated use `AgentToolInputRunMethod$inboundSchema` instead. */
|
|
1347
1266
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1348
1267
|
readonly Get: "GET";
|
|
1349
1268
|
readonly Post: "POST";
|
|
1350
1269
|
readonly Put: "PUT";
|
|
1351
1270
|
readonly Delete: "DELETE";
|
|
1352
1271
|
}>;
|
|
1353
|
-
/** @deprecated use `
|
|
1272
|
+
/** @deprecated use `AgentToolInputRunMethod$outboundSchema` instead. */
|
|
1354
1273
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1355
1274
|
readonly Get: "GET";
|
|
1356
1275
|
readonly Post: "POST";
|
|
@@ -1359,9 +1278,9 @@ export declare namespace RunAgentRequestToolMethod$ {
|
|
|
1359
1278
|
}>;
|
|
1360
1279
|
}
|
|
1361
1280
|
/** @internal */
|
|
1362
|
-
export declare const
|
|
1281
|
+
export declare const AgentToolInputRunBlueprint$inboundSchema: z.ZodType<AgentToolInputRunBlueprint, z.ZodTypeDef, unknown>;
|
|
1363
1282
|
/** @internal */
|
|
1364
|
-
export type
|
|
1283
|
+
export type AgentToolInputRunBlueprint$Outbound = {
|
|
1365
1284
|
url: string;
|
|
1366
1285
|
method: string;
|
|
1367
1286
|
headers?: {
|
|
@@ -1372,37 +1291,37 @@ export type RunAgentRequestToolBlueprint$Outbound = {
|
|
|
1372
1291
|
} | undefined;
|
|
1373
1292
|
};
|
|
1374
1293
|
/** @internal */
|
|
1375
|
-
export declare const
|
|
1294
|
+
export declare const AgentToolInputRunBlueprint$outboundSchema: z.ZodType<AgentToolInputRunBlueprint$Outbound, z.ZodTypeDef, AgentToolInputRunBlueprint>;
|
|
1376
1295
|
/**
|
|
1377
1296
|
* @internal
|
|
1378
1297
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1379
1298
|
*/
|
|
1380
|
-
export declare namespace
|
|
1381
|
-
/** @deprecated use `
|
|
1382
|
-
const inboundSchema: z.ZodType<
|
|
1383
|
-
/** @deprecated use `
|
|
1384
|
-
const outboundSchema: z.ZodType<
|
|
1385
|
-
/** @deprecated use `
|
|
1386
|
-
type Outbound =
|
|
1299
|
+
export declare namespace AgentToolInputRunBlueprint$ {
|
|
1300
|
+
/** @deprecated use `AgentToolInputRunBlueprint$inboundSchema` instead. */
|
|
1301
|
+
const inboundSchema: z.ZodType<AgentToolInputRunBlueprint, z.ZodTypeDef, unknown>;
|
|
1302
|
+
/** @deprecated use `AgentToolInputRunBlueprint$outboundSchema` instead. */
|
|
1303
|
+
const outboundSchema: z.ZodType<AgentToolInputRunBlueprint$Outbound, z.ZodTypeDef, AgentToolInputRunBlueprint>;
|
|
1304
|
+
/** @deprecated use `AgentToolInputRunBlueprint$Outbound` instead. */
|
|
1305
|
+
type Outbound = AgentToolInputRunBlueprint$Outbound;
|
|
1387
1306
|
}
|
|
1388
|
-
export declare function
|
|
1389
|
-
export declare function
|
|
1307
|
+
export declare function agentToolInputRunBlueprintToJSON(agentToolInputRunBlueprint: AgentToolInputRunBlueprint): string;
|
|
1308
|
+
export declare function agentToolInputRunBlueprintFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunBlueprint, SDKValidationError>;
|
|
1390
1309
|
/** @internal */
|
|
1391
|
-
export declare const
|
|
1310
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType>;
|
|
1392
1311
|
/** @internal */
|
|
1393
|
-
export declare const
|
|
1312
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType>;
|
|
1394
1313
|
/**
|
|
1395
1314
|
* @internal
|
|
1396
1315
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1397
1316
|
*/
|
|
1398
|
-
export declare namespace
|
|
1399
|
-
/** @deprecated use `
|
|
1317
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$ {
|
|
1318
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$inboundSchema` instead. */
|
|
1400
1319
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1401
1320
|
readonly String: "string";
|
|
1402
1321
|
readonly Number: "number";
|
|
1403
1322
|
readonly Boolean: "boolean";
|
|
1404
1323
|
}>;
|
|
1405
|
-
/** @deprecated use `
|
|
1324
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$outboundSchema` instead. */
|
|
1406
1325
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1407
1326
|
readonly String: "string";
|
|
1408
1327
|
readonly Number: "number";
|
|
@@ -1410,574 +1329,574 @@ export declare namespace StreamRunAgentRunAgentRequestToolAgentsRequestRequestBo
|
|
|
1410
1329
|
}>;
|
|
1411
1330
|
}
|
|
1412
1331
|
/** @internal */
|
|
1413
|
-
export declare const
|
|
1332
|
+
export declare const AgentToolInputRunDefaultValue$inboundSchema: z.ZodType<AgentToolInputRunDefaultValue, z.ZodTypeDef, unknown>;
|
|
1414
1333
|
/** @internal */
|
|
1415
|
-
export type
|
|
1334
|
+
export type AgentToolInputRunDefaultValue$Outbound = string | number | boolean;
|
|
1416
1335
|
/** @internal */
|
|
1417
|
-
export declare const
|
|
1336
|
+
export declare const AgentToolInputRunDefaultValue$outboundSchema: z.ZodType<AgentToolInputRunDefaultValue$Outbound, z.ZodTypeDef, AgentToolInputRunDefaultValue>;
|
|
1418
1337
|
/**
|
|
1419
1338
|
* @internal
|
|
1420
1339
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1421
1340
|
*/
|
|
1422
|
-
export declare namespace
|
|
1423
|
-
/** @deprecated use `
|
|
1424
|
-
const inboundSchema: z.ZodType<
|
|
1425
|
-
/** @deprecated use `
|
|
1426
|
-
const outboundSchema: z.ZodType<
|
|
1427
|
-
/** @deprecated use `
|
|
1428
|
-
type Outbound =
|
|
1341
|
+
export declare namespace AgentToolInputRunDefaultValue$ {
|
|
1342
|
+
/** @deprecated use `AgentToolInputRunDefaultValue$inboundSchema` instead. */
|
|
1343
|
+
const inboundSchema: z.ZodType<AgentToolInputRunDefaultValue, z.ZodTypeDef, unknown>;
|
|
1344
|
+
/** @deprecated use `AgentToolInputRunDefaultValue$outboundSchema` instead. */
|
|
1345
|
+
const outboundSchema: z.ZodType<AgentToolInputRunDefaultValue$Outbound, z.ZodTypeDef, AgentToolInputRunDefaultValue>;
|
|
1346
|
+
/** @deprecated use `AgentToolInputRunDefaultValue$Outbound` instead. */
|
|
1347
|
+
type Outbound = AgentToolInputRunDefaultValue$Outbound;
|
|
1429
1348
|
}
|
|
1430
|
-
export declare function
|
|
1431
|
-
export declare function
|
|
1349
|
+
export declare function agentToolInputRunDefaultValueToJSON(agentToolInputRunDefaultValue: AgentToolInputRunDefaultValue): string;
|
|
1350
|
+
export declare function agentToolInputRunDefaultValueFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunDefaultValue, SDKValidationError>;
|
|
1432
1351
|
/** @internal */
|
|
1433
|
-
export declare const
|
|
1352
|
+
export declare const AgentToolInputRunArguments$inboundSchema: z.ZodType<AgentToolInputRunArguments, z.ZodTypeDef, unknown>;
|
|
1434
1353
|
/** @internal */
|
|
1435
|
-
export type
|
|
1354
|
+
export type AgentToolInputRunArguments$Outbound = {
|
|
1436
1355
|
type: string;
|
|
1437
1356
|
description: string;
|
|
1438
1357
|
send_to_model: boolean;
|
|
1439
1358
|
default_value?: string | number | boolean | undefined;
|
|
1440
1359
|
};
|
|
1441
1360
|
/** @internal */
|
|
1442
|
-
export declare const
|
|
1361
|
+
export declare const AgentToolInputRunArguments$outboundSchema: z.ZodType<AgentToolInputRunArguments$Outbound, z.ZodTypeDef, AgentToolInputRunArguments>;
|
|
1443
1362
|
/**
|
|
1444
1363
|
* @internal
|
|
1445
1364
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1446
1365
|
*/
|
|
1447
|
-
export declare namespace
|
|
1448
|
-
/** @deprecated use `
|
|
1449
|
-
const inboundSchema: z.ZodType<
|
|
1450
|
-
/** @deprecated use `
|
|
1451
|
-
const outboundSchema: z.ZodType<
|
|
1452
|
-
/** @deprecated use `
|
|
1453
|
-
type Outbound =
|
|
1366
|
+
export declare namespace AgentToolInputRunArguments$ {
|
|
1367
|
+
/** @deprecated use `AgentToolInputRunArguments$inboundSchema` instead. */
|
|
1368
|
+
const inboundSchema: z.ZodType<AgentToolInputRunArguments, z.ZodTypeDef, unknown>;
|
|
1369
|
+
/** @deprecated use `AgentToolInputRunArguments$outboundSchema` instead. */
|
|
1370
|
+
const outboundSchema: z.ZodType<AgentToolInputRunArguments$Outbound, z.ZodTypeDef, AgentToolInputRunArguments>;
|
|
1371
|
+
/** @deprecated use `AgentToolInputRunArguments$Outbound` instead. */
|
|
1372
|
+
type Outbound = AgentToolInputRunArguments$Outbound;
|
|
1454
1373
|
}
|
|
1455
|
-
export declare function
|
|
1456
|
-
export declare function
|
|
1374
|
+
export declare function agentToolInputRunArgumentsToJSON(agentToolInputRunArguments: AgentToolInputRunArguments): string;
|
|
1375
|
+
export declare function agentToolInputRunArgumentsFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunArguments, SDKValidationError>;
|
|
1457
1376
|
/** @internal */
|
|
1458
|
-
export declare const
|
|
1377
|
+
export declare const AgentToolInputRunHttp$inboundSchema: z.ZodType<AgentToolInputRunHttp, z.ZodTypeDef, unknown>;
|
|
1459
1378
|
/** @internal */
|
|
1460
|
-
export type
|
|
1461
|
-
blueprint:
|
|
1379
|
+
export type AgentToolInputRunHttp$Outbound = {
|
|
1380
|
+
blueprint: AgentToolInputRunBlueprint$Outbound;
|
|
1462
1381
|
arguments?: {
|
|
1463
|
-
[k: string]:
|
|
1382
|
+
[k: string]: AgentToolInputRunArguments$Outbound;
|
|
1464
1383
|
} | undefined;
|
|
1465
1384
|
};
|
|
1466
1385
|
/** @internal */
|
|
1467
|
-
export declare const
|
|
1386
|
+
export declare const AgentToolInputRunHttp$outboundSchema: z.ZodType<AgentToolInputRunHttp$Outbound, z.ZodTypeDef, AgentToolInputRunHttp>;
|
|
1468
1387
|
/**
|
|
1469
1388
|
* @internal
|
|
1470
1389
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1471
1390
|
*/
|
|
1472
|
-
export declare namespace
|
|
1473
|
-
/** @deprecated use `
|
|
1474
|
-
const inboundSchema: z.ZodType<
|
|
1475
|
-
/** @deprecated use `
|
|
1476
|
-
const outboundSchema: z.ZodType<
|
|
1477
|
-
/** @deprecated use `
|
|
1478
|
-
type Outbound =
|
|
1391
|
+
export declare namespace AgentToolInputRunHttp$ {
|
|
1392
|
+
/** @deprecated use `AgentToolInputRunHttp$inboundSchema` instead. */
|
|
1393
|
+
const inboundSchema: z.ZodType<AgentToolInputRunHttp, z.ZodTypeDef, unknown>;
|
|
1394
|
+
/** @deprecated use `AgentToolInputRunHttp$outboundSchema` instead. */
|
|
1395
|
+
const outboundSchema: z.ZodType<AgentToolInputRunHttp$Outbound, z.ZodTypeDef, AgentToolInputRunHttp>;
|
|
1396
|
+
/** @deprecated use `AgentToolInputRunHttp$Outbound` instead. */
|
|
1397
|
+
type Outbound = AgentToolInputRunHttp$Outbound;
|
|
1479
1398
|
}
|
|
1480
|
-
export declare function
|
|
1481
|
-
export declare function
|
|
1399
|
+
export declare function agentToolInputRunHttpToJSON(agentToolInputRunHttp: AgentToolInputRunHttp): string;
|
|
1400
|
+
export declare function agentToolInputRunHttpFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunHttp, SDKValidationError>;
|
|
1482
1401
|
/** @internal */
|
|
1483
|
-
export declare const
|
|
1402
|
+
export declare const AgentToolInputRunHTTPToolRun$inboundSchema: z.ZodType<AgentToolInputRunHTTPToolRun, z.ZodTypeDef, unknown>;
|
|
1484
1403
|
/** @internal */
|
|
1485
|
-
export type
|
|
1486
|
-
|
|
1404
|
+
export type AgentToolInputRunHTTPToolRun$Outbound = {
|
|
1405
|
+
type: string;
|
|
1487
1406
|
key: string;
|
|
1488
|
-
|
|
1407
|
+
_id?: string | undefined;
|
|
1408
|
+
display_name?: string | undefined;
|
|
1489
1409
|
description: string;
|
|
1490
|
-
|
|
1491
|
-
http: RunAgentRequestToolHttp$Outbound;
|
|
1410
|
+
http: AgentToolInputRunHttp$Outbound;
|
|
1492
1411
|
requires_approval: boolean;
|
|
1493
1412
|
};
|
|
1494
1413
|
/** @internal */
|
|
1495
|
-
export declare const
|
|
1414
|
+
export declare const AgentToolInputRunHTTPToolRun$outboundSchema: z.ZodType<AgentToolInputRunHTTPToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunHTTPToolRun>;
|
|
1496
1415
|
/**
|
|
1497
1416
|
* @internal
|
|
1498
1417
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1499
1418
|
*/
|
|
1500
|
-
export declare namespace
|
|
1501
|
-
/** @deprecated use `
|
|
1502
|
-
const inboundSchema: z.ZodType<
|
|
1503
|
-
/** @deprecated use `
|
|
1504
|
-
const outboundSchema: z.ZodType<
|
|
1505
|
-
/** @deprecated use `
|
|
1506
|
-
type Outbound =
|
|
1419
|
+
export declare namespace AgentToolInputRunHTTPToolRun$ {
|
|
1420
|
+
/** @deprecated use `AgentToolInputRunHTTPToolRun$inboundSchema` instead. */
|
|
1421
|
+
const inboundSchema: z.ZodType<AgentToolInputRunHTTPToolRun, z.ZodTypeDef, unknown>;
|
|
1422
|
+
/** @deprecated use `AgentToolInputRunHTTPToolRun$outboundSchema` instead. */
|
|
1423
|
+
const outboundSchema: z.ZodType<AgentToolInputRunHTTPToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunHTTPToolRun>;
|
|
1424
|
+
/** @deprecated use `AgentToolInputRunHTTPToolRun$Outbound` instead. */
|
|
1425
|
+
type Outbound = AgentToolInputRunHTTPToolRun$Outbound;
|
|
1507
1426
|
}
|
|
1508
|
-
export declare function
|
|
1509
|
-
export declare function
|
|
1427
|
+
export declare function agentToolInputRunHTTPToolRunToJSON(agentToolInputRunHTTPToolRun: AgentToolInputRunHTTPToolRun): string;
|
|
1428
|
+
export declare function agentToolInputRunHTTPToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunHTTPToolRun, SDKValidationError>;
|
|
1510
1429
|
/** @internal */
|
|
1511
|
-
export declare const
|
|
1430
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type>;
|
|
1512
1431
|
/** @internal */
|
|
1513
|
-
export declare const
|
|
1432
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type>;
|
|
1514
1433
|
/**
|
|
1515
1434
|
* @internal
|
|
1516
1435
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1517
1436
|
*/
|
|
1518
|
-
export declare namespace
|
|
1519
|
-
/** @deprecated use `
|
|
1437
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$ {
|
|
1438
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$inboundSchema` instead. */
|
|
1520
1439
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1521
1440
|
readonly CurrentDate: "current_date";
|
|
1522
1441
|
}>;
|
|
1523
|
-
/** @deprecated use `
|
|
1442
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$outboundSchema` instead. */
|
|
1524
1443
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1525
1444
|
readonly CurrentDate: "current_date";
|
|
1526
1445
|
}>;
|
|
1527
1446
|
}
|
|
1528
1447
|
/** @internal */
|
|
1529
|
-
export declare const
|
|
1448
|
+
export declare const StreamRunAgentAgentToolInputRunCurrentDateTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCurrentDateTool, z.ZodTypeDef, unknown>;
|
|
1530
1449
|
/** @internal */
|
|
1531
|
-
export type
|
|
1450
|
+
export type StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound = {
|
|
1532
1451
|
type: string;
|
|
1533
1452
|
requires_approval: boolean;
|
|
1534
1453
|
};
|
|
1535
1454
|
/** @internal */
|
|
1536
|
-
export declare const
|
|
1455
|
+
export declare const StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunCurrentDateTool>;
|
|
1537
1456
|
/**
|
|
1538
1457
|
* @internal
|
|
1539
1458
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1540
1459
|
*/
|
|
1541
|
-
export declare namespace
|
|
1542
|
-
/** @deprecated use `
|
|
1543
|
-
const inboundSchema: z.ZodType<
|
|
1544
|
-
/** @deprecated use `
|
|
1545
|
-
const outboundSchema: z.ZodType<
|
|
1546
|
-
/** @deprecated use `
|
|
1547
|
-
type Outbound =
|
|
1460
|
+
export declare namespace StreamRunAgentAgentToolInputRunCurrentDateTool$ {
|
|
1461
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunCurrentDateTool$inboundSchema` instead. */
|
|
1462
|
+
const inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCurrentDateTool, z.ZodTypeDef, unknown>;
|
|
1463
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema` instead. */
|
|
1464
|
+
const outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunCurrentDateTool>;
|
|
1465
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound` instead. */
|
|
1466
|
+
type Outbound = StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound;
|
|
1548
1467
|
}
|
|
1549
|
-
export declare function
|
|
1550
|
-
export declare function
|
|
1468
|
+
export declare function streamRunAgentAgentToolInputRunCurrentDateToolToJSON(streamRunAgentAgentToolInputRunCurrentDateTool: StreamRunAgentAgentToolInputRunCurrentDateTool): string;
|
|
1469
|
+
export declare function streamRunAgentAgentToolInputRunCurrentDateToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunCurrentDateTool, SDKValidationError>;
|
|
1551
1470
|
/** @internal */
|
|
1552
|
-
export declare const
|
|
1471
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type>;
|
|
1553
1472
|
/** @internal */
|
|
1554
|
-
export declare const
|
|
1473
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type>;
|
|
1555
1474
|
/**
|
|
1556
1475
|
* @internal
|
|
1557
1476
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1558
1477
|
*/
|
|
1559
|
-
export declare namespace
|
|
1560
|
-
/** @deprecated use `
|
|
1478
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$ {
|
|
1479
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$inboundSchema` instead. */
|
|
1561
1480
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1562
1481
|
readonly QueryKnowledgeBase: "query_knowledge_base";
|
|
1563
1482
|
}>;
|
|
1564
|
-
/** @deprecated use `
|
|
1483
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$outboundSchema` instead. */
|
|
1565
1484
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1566
1485
|
readonly QueryKnowledgeBase: "query_knowledge_base";
|
|
1567
1486
|
}>;
|
|
1568
1487
|
}
|
|
1569
1488
|
/** @internal */
|
|
1570
|
-
export declare const
|
|
1489
|
+
export declare const StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool, z.ZodTypeDef, unknown>;
|
|
1571
1490
|
/** @internal */
|
|
1572
|
-
export type
|
|
1491
|
+
export type StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound = {
|
|
1573
1492
|
type: string;
|
|
1574
1493
|
requires_approval: boolean;
|
|
1575
1494
|
};
|
|
1576
1495
|
/** @internal */
|
|
1577
|
-
export declare const
|
|
1496
|
+
export declare const StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool>;
|
|
1578
1497
|
/**
|
|
1579
1498
|
* @internal
|
|
1580
1499
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1581
1500
|
*/
|
|
1582
|
-
export declare namespace
|
|
1583
|
-
/** @deprecated use `
|
|
1584
|
-
const inboundSchema: z.ZodType<
|
|
1585
|
-
/** @deprecated use `
|
|
1586
|
-
const outboundSchema: z.ZodType<
|
|
1587
|
-
/** @deprecated use `
|
|
1588
|
-
type Outbound =
|
|
1501
|
+
export declare namespace StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$ {
|
|
1502
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$inboundSchema` instead. */
|
|
1503
|
+
const inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool, z.ZodTypeDef, unknown>;
|
|
1504
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema` instead. */
|
|
1505
|
+
const outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool>;
|
|
1506
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound` instead. */
|
|
1507
|
+
type Outbound = StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound;
|
|
1589
1508
|
}
|
|
1590
|
-
export declare function
|
|
1591
|
-
export declare function
|
|
1509
|
+
export declare function streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolToJSON(streamRunAgentAgentToolInputRunQueryKnowledgeBaseTool: StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool): string;
|
|
1510
|
+
export declare function streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool, SDKValidationError>;
|
|
1592
1511
|
/** @internal */
|
|
1593
|
-
export declare const
|
|
1512
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type>;
|
|
1594
1513
|
/** @internal */
|
|
1595
|
-
export declare const
|
|
1514
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type>;
|
|
1596
1515
|
/**
|
|
1597
1516
|
* @internal
|
|
1598
1517
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1599
1518
|
*/
|
|
1600
|
-
export declare namespace
|
|
1601
|
-
/** @deprecated use `
|
|
1519
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$ {
|
|
1520
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$inboundSchema` instead. */
|
|
1602
1521
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1603
1522
|
readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
|
|
1604
1523
|
}>;
|
|
1605
|
-
/** @deprecated use `
|
|
1524
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$outboundSchema` instead. */
|
|
1606
1525
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1607
1526
|
readonly RetrieveKnowledgeBases: "retrieve_knowledge_bases";
|
|
1608
1527
|
}>;
|
|
1609
1528
|
}
|
|
1610
1529
|
/** @internal */
|
|
1611
|
-
export declare const
|
|
1530
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool, z.ZodTypeDef, unknown>;
|
|
1612
1531
|
/** @internal */
|
|
1613
|
-
export type
|
|
1532
|
+
export type StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound = {
|
|
1614
1533
|
type: string;
|
|
1615
1534
|
requires_approval: boolean;
|
|
1616
1535
|
};
|
|
1617
1536
|
/** @internal */
|
|
1618
|
-
export declare const
|
|
1537
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool>;
|
|
1619
1538
|
/**
|
|
1620
1539
|
* @internal
|
|
1621
1540
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1622
1541
|
*/
|
|
1623
|
-
export declare namespace
|
|
1624
|
-
/** @deprecated use `
|
|
1625
|
-
const inboundSchema: z.ZodType<
|
|
1626
|
-
/** @deprecated use `
|
|
1627
|
-
const outboundSchema: z.ZodType<
|
|
1628
|
-
/** @deprecated use `
|
|
1629
|
-
type Outbound =
|
|
1542
|
+
export declare namespace StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$ {
|
|
1543
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema` instead. */
|
|
1544
|
+
const inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool, z.ZodTypeDef, unknown>;
|
|
1545
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema` instead. */
|
|
1546
|
+
const outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool>;
|
|
1547
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound` instead. */
|
|
1548
|
+
type Outbound = StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound;
|
|
1630
1549
|
}
|
|
1631
|
-
export declare function
|
|
1632
|
-
export declare function
|
|
1550
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolToJSON(streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool: StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool): string;
|
|
1551
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool, SDKValidationError>;
|
|
1633
1552
|
/** @internal */
|
|
1634
|
-
export declare const
|
|
1553
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type>;
|
|
1635
1554
|
/** @internal */
|
|
1636
|
-
export declare const
|
|
1555
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type>;
|
|
1637
1556
|
/**
|
|
1638
1557
|
* @internal
|
|
1639
1558
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1640
1559
|
*/
|
|
1641
|
-
export declare namespace
|
|
1642
|
-
/** @deprecated use `
|
|
1560
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$ {
|
|
1561
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$inboundSchema` instead. */
|
|
1643
1562
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1644
1563
|
readonly DeleteMemoryDocument: "delete_memory_document";
|
|
1645
1564
|
}>;
|
|
1646
|
-
/** @deprecated use `
|
|
1565
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$outboundSchema` instead. */
|
|
1647
1566
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1648
1567
|
readonly DeleteMemoryDocument: "delete_memory_document";
|
|
1649
1568
|
}>;
|
|
1650
1569
|
}
|
|
1651
1570
|
/** @internal */
|
|
1652
|
-
export declare const
|
|
1571
|
+
export declare const StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool, z.ZodTypeDef, unknown>;
|
|
1653
1572
|
/** @internal */
|
|
1654
|
-
export type
|
|
1573
|
+
export type StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound = {
|
|
1655
1574
|
type: string;
|
|
1656
1575
|
requires_approval: boolean;
|
|
1657
1576
|
};
|
|
1658
1577
|
/** @internal */
|
|
1659
|
-
export declare const
|
|
1578
|
+
export declare const StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool>;
|
|
1660
1579
|
/**
|
|
1661
1580
|
* @internal
|
|
1662
1581
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1663
1582
|
*/
|
|
1664
|
-
export declare namespace
|
|
1665
|
-
/** @deprecated use `
|
|
1666
|
-
const inboundSchema: z.ZodType<
|
|
1667
|
-
/** @deprecated use `
|
|
1668
|
-
const outboundSchema: z.ZodType<
|
|
1669
|
-
/** @deprecated use `
|
|
1670
|
-
type Outbound =
|
|
1583
|
+
export declare namespace StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$ {
|
|
1584
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$inboundSchema` instead. */
|
|
1585
|
+
const inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool, z.ZodTypeDef, unknown>;
|
|
1586
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema` instead. */
|
|
1587
|
+
const outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool>;
|
|
1588
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound` instead. */
|
|
1589
|
+
type Outbound = StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound;
|
|
1671
1590
|
}
|
|
1672
|
-
export declare function
|
|
1673
|
-
export declare function
|
|
1591
|
+
export declare function streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolToJSON(streamRunAgentAgentToolInputRunDeleteMemoryDocumentTool: StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool): string;
|
|
1592
|
+
export declare function streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool, SDKValidationError>;
|
|
1674
1593
|
/** @internal */
|
|
1675
|
-
export declare const
|
|
1594
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type>;
|
|
1676
1595
|
/** @internal */
|
|
1677
|
-
export declare const
|
|
1596
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type>;
|
|
1678
1597
|
/**
|
|
1679
1598
|
* @internal
|
|
1680
1599
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1681
1600
|
*/
|
|
1682
|
-
export declare namespace
|
|
1683
|
-
/** @deprecated use `
|
|
1601
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$ {
|
|
1602
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$inboundSchema` instead. */
|
|
1684
1603
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1685
1604
|
readonly RetrieveMemoryStores: "retrieve_memory_stores";
|
|
1686
1605
|
}>;
|
|
1687
|
-
/** @deprecated use `
|
|
1606
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$outboundSchema` instead. */
|
|
1688
1607
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1689
1608
|
readonly RetrieveMemoryStores: "retrieve_memory_stores";
|
|
1690
1609
|
}>;
|
|
1691
1610
|
}
|
|
1692
1611
|
/** @internal */
|
|
1693
|
-
export declare const
|
|
1612
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool, z.ZodTypeDef, unknown>;
|
|
1694
1613
|
/** @internal */
|
|
1695
|
-
export type
|
|
1614
|
+
export type StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound = {
|
|
1696
1615
|
type: string;
|
|
1697
1616
|
requires_approval: boolean;
|
|
1698
1617
|
};
|
|
1699
1618
|
/** @internal */
|
|
1700
|
-
export declare const
|
|
1619
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool>;
|
|
1701
1620
|
/**
|
|
1702
1621
|
* @internal
|
|
1703
1622
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1704
1623
|
*/
|
|
1705
|
-
export declare namespace
|
|
1706
|
-
/** @deprecated use `
|
|
1707
|
-
const inboundSchema: z.ZodType<
|
|
1708
|
-
/** @deprecated use `
|
|
1709
|
-
const outboundSchema: z.ZodType<
|
|
1710
|
-
/** @deprecated use `
|
|
1711
|
-
type Outbound =
|
|
1624
|
+
export declare namespace StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$ {
|
|
1625
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$inboundSchema` instead. */
|
|
1626
|
+
const inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool, z.ZodTypeDef, unknown>;
|
|
1627
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema` instead. */
|
|
1628
|
+
const outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool>;
|
|
1629
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound` instead. */
|
|
1630
|
+
type Outbound = StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound;
|
|
1712
1631
|
}
|
|
1713
|
-
export declare function
|
|
1714
|
-
export declare function
|
|
1632
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolToJSON(streamRunAgentAgentToolInputRunRetrieveMemoryStoresTool: StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool): string;
|
|
1633
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool, SDKValidationError>;
|
|
1715
1634
|
/** @internal */
|
|
1716
|
-
export declare const
|
|
1635
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType>;
|
|
1717
1636
|
/** @internal */
|
|
1718
|
-
export declare const
|
|
1637
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType>;
|
|
1719
1638
|
/**
|
|
1720
1639
|
* @internal
|
|
1721
1640
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1722
1641
|
*/
|
|
1723
|
-
export declare namespace
|
|
1724
|
-
/** @deprecated use `
|
|
1642
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$ {
|
|
1643
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$inboundSchema` instead. */
|
|
1725
1644
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1726
1645
|
readonly WriteMemoryStore: "write_memory_store";
|
|
1727
1646
|
}>;
|
|
1728
|
-
/** @deprecated use `
|
|
1647
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$outboundSchema` instead. */
|
|
1729
1648
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1730
1649
|
readonly WriteMemoryStore: "write_memory_store";
|
|
1731
1650
|
}>;
|
|
1732
1651
|
}
|
|
1733
1652
|
/** @internal */
|
|
1734
|
-
export declare const
|
|
1653
|
+
export declare const StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
1735
1654
|
/** @internal */
|
|
1736
|
-
export type
|
|
1655
|
+
export type StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound = {
|
|
1737
1656
|
type: string;
|
|
1738
1657
|
requires_approval: boolean;
|
|
1739
1658
|
};
|
|
1740
1659
|
/** @internal */
|
|
1741
|
-
export declare const
|
|
1660
|
+
export declare const StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunWriteMemoryStoreTool>;
|
|
1742
1661
|
/**
|
|
1743
1662
|
* @internal
|
|
1744
1663
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1745
1664
|
*/
|
|
1746
|
-
export declare namespace
|
|
1747
|
-
/** @deprecated use `
|
|
1748
|
-
const inboundSchema: z.ZodType<
|
|
1749
|
-
/** @deprecated use `
|
|
1750
|
-
const outboundSchema: z.ZodType<
|
|
1751
|
-
/** @deprecated use `
|
|
1752
|
-
type Outbound =
|
|
1665
|
+
export declare namespace StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$ {
|
|
1666
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$inboundSchema` instead. */
|
|
1667
|
+
const inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
1668
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema` instead. */
|
|
1669
|
+
const outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunWriteMemoryStoreTool>;
|
|
1670
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound` instead. */
|
|
1671
|
+
type Outbound = StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound;
|
|
1753
1672
|
}
|
|
1754
|
-
export declare function
|
|
1755
|
-
export declare function
|
|
1673
|
+
export declare function streamRunAgentAgentToolInputRunWriteMemoryStoreToolToJSON(streamRunAgentAgentToolInputRunWriteMemoryStoreTool: StreamRunAgentAgentToolInputRunWriteMemoryStoreTool): string;
|
|
1674
|
+
export declare function streamRunAgentAgentToolInputRunWriteMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool, SDKValidationError>;
|
|
1756
1675
|
/** @internal */
|
|
1757
|
-
export declare const
|
|
1676
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType>;
|
|
1758
1677
|
/** @internal */
|
|
1759
|
-
export declare const
|
|
1678
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType>;
|
|
1760
1679
|
/**
|
|
1761
1680
|
* @internal
|
|
1762
1681
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1763
1682
|
*/
|
|
1764
|
-
export declare namespace
|
|
1765
|
-
/** @deprecated use `
|
|
1683
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$ {
|
|
1684
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$inboundSchema` instead. */
|
|
1766
1685
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1767
1686
|
readonly QueryMemoryStore: "query_memory_store";
|
|
1768
1687
|
}>;
|
|
1769
|
-
/** @deprecated use `
|
|
1688
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema` instead. */
|
|
1770
1689
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1771
1690
|
readonly QueryMemoryStore: "query_memory_store";
|
|
1772
1691
|
}>;
|
|
1773
1692
|
}
|
|
1774
1693
|
/** @internal */
|
|
1775
|
-
export declare const
|
|
1694
|
+
export declare const StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
1776
1695
|
/** @internal */
|
|
1777
|
-
export type
|
|
1696
|
+
export type StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound = {
|
|
1778
1697
|
type: string;
|
|
1779
1698
|
requires_approval: boolean;
|
|
1780
1699
|
};
|
|
1781
1700
|
/** @internal */
|
|
1782
|
-
export declare const
|
|
1701
|
+
export declare const StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunQueryMemoryStoreTool>;
|
|
1783
1702
|
/**
|
|
1784
1703
|
* @internal
|
|
1785
1704
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1786
1705
|
*/
|
|
1787
|
-
export declare namespace
|
|
1788
|
-
/** @deprecated use `
|
|
1789
|
-
const inboundSchema: z.ZodType<
|
|
1790
|
-
/** @deprecated use `
|
|
1791
|
-
const outboundSchema: z.ZodType<
|
|
1792
|
-
/** @deprecated use `
|
|
1793
|
-
type Outbound =
|
|
1706
|
+
export declare namespace StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$ {
|
|
1707
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$inboundSchema` instead. */
|
|
1708
|
+
const inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
1709
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema` instead. */
|
|
1710
|
+
const outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunQueryMemoryStoreTool>;
|
|
1711
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound` instead. */
|
|
1712
|
+
type Outbound = StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound;
|
|
1794
1713
|
}
|
|
1795
|
-
export declare function
|
|
1796
|
-
export declare function
|
|
1714
|
+
export declare function streamRunAgentAgentToolInputRunQueryMemoryStoreToolToJSON(streamRunAgentAgentToolInputRunQueryMemoryStoreTool: StreamRunAgentAgentToolInputRunQueryMemoryStoreTool): string;
|
|
1715
|
+
export declare function streamRunAgentAgentToolInputRunQueryMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool, SDKValidationError>;
|
|
1797
1716
|
/** @internal */
|
|
1798
|
-
export declare const
|
|
1717
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType>;
|
|
1799
1718
|
/** @internal */
|
|
1800
|
-
export declare const
|
|
1719
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType>;
|
|
1801
1720
|
/**
|
|
1802
1721
|
* @internal
|
|
1803
1722
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1804
1723
|
*/
|
|
1805
|
-
export declare namespace
|
|
1806
|
-
/** @deprecated use `
|
|
1724
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$ {
|
|
1725
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$inboundSchema` instead. */
|
|
1807
1726
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1808
1727
|
readonly RetrieveAgents: "retrieve_agents";
|
|
1809
1728
|
}>;
|
|
1810
|
-
/** @deprecated use `
|
|
1729
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$outboundSchema` instead. */
|
|
1811
1730
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1812
1731
|
readonly RetrieveAgents: "retrieve_agents";
|
|
1813
1732
|
}>;
|
|
1814
1733
|
}
|
|
1815
1734
|
/** @internal */
|
|
1816
|
-
export declare const
|
|
1735
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveAgentsTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveAgentsTool, z.ZodTypeDef, unknown>;
|
|
1817
1736
|
/** @internal */
|
|
1818
|
-
export type
|
|
1737
|
+
export type StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound = {
|
|
1819
1738
|
type: string;
|
|
1820
1739
|
requires_approval: boolean;
|
|
1821
1740
|
};
|
|
1822
1741
|
/** @internal */
|
|
1823
|
-
export declare const
|
|
1742
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveAgentsTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveAgentsTool>;
|
|
1824
1743
|
/**
|
|
1825
1744
|
* @internal
|
|
1826
1745
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1827
1746
|
*/
|
|
1828
|
-
export declare namespace
|
|
1829
|
-
/** @deprecated use `
|
|
1830
|
-
const inboundSchema: z.ZodType<
|
|
1831
|
-
/** @deprecated use `
|
|
1832
|
-
const outboundSchema: z.ZodType<
|
|
1833
|
-
/** @deprecated use `
|
|
1834
|
-
type Outbound =
|
|
1747
|
+
export declare namespace StreamRunAgentAgentToolInputRunRetrieveAgentsTool$ {
|
|
1748
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveAgentsTool$inboundSchema` instead. */
|
|
1749
|
+
const inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveAgentsTool, z.ZodTypeDef, unknown>;
|
|
1750
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveAgentsTool$outboundSchema` instead. */
|
|
1751
|
+
const outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveAgentsTool>;
|
|
1752
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound` instead. */
|
|
1753
|
+
type Outbound = StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound;
|
|
1835
1754
|
}
|
|
1836
|
-
export declare function
|
|
1837
|
-
export declare function
|
|
1755
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveAgentsToolToJSON(streamRunAgentAgentToolInputRunRetrieveAgentsTool: StreamRunAgentAgentToolInputRunRetrieveAgentsTool): string;
|
|
1756
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveAgentsToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunRetrieveAgentsTool, SDKValidationError>;
|
|
1838
1757
|
/** @internal */
|
|
1839
|
-
export declare const
|
|
1758
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestType>;
|
|
1840
1759
|
/** @internal */
|
|
1841
|
-
export declare const
|
|
1760
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestType>;
|
|
1842
1761
|
/**
|
|
1843
1762
|
* @internal
|
|
1844
1763
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1845
1764
|
*/
|
|
1846
|
-
export declare namespace
|
|
1847
|
-
/** @deprecated use `
|
|
1765
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsRequestType$ {
|
|
1766
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestType$inboundSchema` instead. */
|
|
1848
1767
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1849
1768
|
readonly CallSubAgent: "call_sub_agent";
|
|
1850
1769
|
}>;
|
|
1851
|
-
/** @deprecated use `
|
|
1770
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsRequestType$outboundSchema` instead. */
|
|
1852
1771
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1853
1772
|
readonly CallSubAgent: "call_sub_agent";
|
|
1854
1773
|
}>;
|
|
1855
1774
|
}
|
|
1856
1775
|
/** @internal */
|
|
1857
|
-
export declare const
|
|
1776
|
+
export declare const StreamRunAgentAgentToolInputRunCallSubAgentTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCallSubAgentTool, z.ZodTypeDef, unknown>;
|
|
1858
1777
|
/** @internal */
|
|
1859
|
-
export type
|
|
1778
|
+
export type StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound = {
|
|
1860
1779
|
type: string;
|
|
1861
1780
|
requires_approval: boolean;
|
|
1862
1781
|
};
|
|
1863
1782
|
/** @internal */
|
|
1864
|
-
export declare const
|
|
1783
|
+
export declare const StreamRunAgentAgentToolInputRunCallSubAgentTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunCallSubAgentTool>;
|
|
1865
1784
|
/**
|
|
1866
1785
|
* @internal
|
|
1867
1786
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1868
1787
|
*/
|
|
1869
|
-
export declare namespace
|
|
1870
|
-
/** @deprecated use `
|
|
1871
|
-
const inboundSchema: z.ZodType<
|
|
1872
|
-
/** @deprecated use `
|
|
1873
|
-
const outboundSchema: z.ZodType<
|
|
1874
|
-
/** @deprecated use `
|
|
1875
|
-
type Outbound =
|
|
1788
|
+
export declare namespace StreamRunAgentAgentToolInputRunCallSubAgentTool$ {
|
|
1789
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunCallSubAgentTool$inboundSchema` instead. */
|
|
1790
|
+
const inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCallSubAgentTool, z.ZodTypeDef, unknown>;
|
|
1791
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunCallSubAgentTool$outboundSchema` instead. */
|
|
1792
|
+
const outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunCallSubAgentTool>;
|
|
1793
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound` instead. */
|
|
1794
|
+
type Outbound = StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound;
|
|
1876
1795
|
}
|
|
1877
|
-
export declare function
|
|
1878
|
-
export declare function
|
|
1796
|
+
export declare function streamRunAgentAgentToolInputRunCallSubAgentToolToJSON(streamRunAgentAgentToolInputRunCallSubAgentTool: StreamRunAgentAgentToolInputRunCallSubAgentTool): string;
|
|
1797
|
+
export declare function streamRunAgentAgentToolInputRunCallSubAgentToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunCallSubAgentTool, SDKValidationError>;
|
|
1879
1798
|
/** @internal */
|
|
1880
|
-
export declare const
|
|
1799
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsType>;
|
|
1881
1800
|
/** @internal */
|
|
1882
|
-
export declare const
|
|
1801
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsType>;
|
|
1883
1802
|
/**
|
|
1884
1803
|
* @internal
|
|
1885
1804
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1886
1805
|
*/
|
|
1887
|
-
export declare namespace
|
|
1888
|
-
/** @deprecated use `
|
|
1806
|
+
export declare namespace StreamRunAgentAgentToolInputRunAgentsType$ {
|
|
1807
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsType$inboundSchema` instead. */
|
|
1889
1808
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1890
1809
|
readonly WebScraper: "web_scraper";
|
|
1891
1810
|
}>;
|
|
1892
|
-
/** @deprecated use `
|
|
1811
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunAgentsType$outboundSchema` instead. */
|
|
1893
1812
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1894
1813
|
readonly WebScraper: "web_scraper";
|
|
1895
1814
|
}>;
|
|
1896
1815
|
}
|
|
1897
1816
|
/** @internal */
|
|
1898
|
-
export declare const
|
|
1817
|
+
export declare const StreamRunAgentAgentToolInputRunWebScraperTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWebScraperTool, z.ZodTypeDef, unknown>;
|
|
1899
1818
|
/** @internal */
|
|
1900
|
-
export type
|
|
1819
|
+
export type StreamRunAgentAgentToolInputRunWebScraperTool$Outbound = {
|
|
1901
1820
|
type: string;
|
|
1902
1821
|
requires_approval: boolean;
|
|
1903
1822
|
};
|
|
1904
1823
|
/** @internal */
|
|
1905
|
-
export declare const
|
|
1824
|
+
export declare const StreamRunAgentAgentToolInputRunWebScraperTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWebScraperTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunWebScraperTool>;
|
|
1906
1825
|
/**
|
|
1907
1826
|
* @internal
|
|
1908
1827
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1909
1828
|
*/
|
|
1910
|
-
export declare namespace
|
|
1911
|
-
/** @deprecated use `
|
|
1912
|
-
const inboundSchema: z.ZodType<
|
|
1913
|
-
/** @deprecated use `
|
|
1914
|
-
const outboundSchema: z.ZodType<
|
|
1915
|
-
/** @deprecated use `
|
|
1916
|
-
type Outbound =
|
|
1829
|
+
export declare namespace StreamRunAgentAgentToolInputRunWebScraperTool$ {
|
|
1830
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunWebScraperTool$inboundSchema` instead. */
|
|
1831
|
+
const inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWebScraperTool, z.ZodTypeDef, unknown>;
|
|
1832
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunWebScraperTool$outboundSchema` instead. */
|
|
1833
|
+
const outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWebScraperTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunWebScraperTool>;
|
|
1834
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunWebScraperTool$Outbound` instead. */
|
|
1835
|
+
type Outbound = StreamRunAgentAgentToolInputRunWebScraperTool$Outbound;
|
|
1917
1836
|
}
|
|
1918
|
-
export declare function
|
|
1919
|
-
export declare function
|
|
1837
|
+
export declare function streamRunAgentAgentToolInputRunWebScraperToolToJSON(streamRunAgentAgentToolInputRunWebScraperTool: StreamRunAgentAgentToolInputRunWebScraperTool): string;
|
|
1838
|
+
export declare function streamRunAgentAgentToolInputRunWebScraperToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunWebScraperTool, SDKValidationError>;
|
|
1920
1839
|
/** @internal */
|
|
1921
|
-
export declare const
|
|
1840
|
+
export declare const StreamRunAgentAgentToolInputRunType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunType>;
|
|
1922
1841
|
/** @internal */
|
|
1923
|
-
export declare const
|
|
1842
|
+
export declare const StreamRunAgentAgentToolInputRunType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunType>;
|
|
1924
1843
|
/**
|
|
1925
1844
|
* @internal
|
|
1926
1845
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1927
1846
|
*/
|
|
1928
|
-
export declare namespace
|
|
1929
|
-
/** @deprecated use `
|
|
1847
|
+
export declare namespace StreamRunAgentAgentToolInputRunType$ {
|
|
1848
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunType$inboundSchema` instead. */
|
|
1930
1849
|
const inboundSchema: z.ZodNativeEnum<{
|
|
1931
1850
|
readonly GoogleSearch: "google_search";
|
|
1932
1851
|
}>;
|
|
1933
|
-
/** @deprecated use `
|
|
1852
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunType$outboundSchema` instead. */
|
|
1934
1853
|
const outboundSchema: z.ZodNativeEnum<{
|
|
1935
1854
|
readonly GoogleSearch: "google_search";
|
|
1936
1855
|
}>;
|
|
1937
1856
|
}
|
|
1938
1857
|
/** @internal */
|
|
1939
|
-
export declare const
|
|
1858
|
+
export declare const StreamRunAgentAgentToolInputRunGoogleSearchTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunGoogleSearchTool, z.ZodTypeDef, unknown>;
|
|
1940
1859
|
/** @internal */
|
|
1941
|
-
export type
|
|
1860
|
+
export type StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound = {
|
|
1942
1861
|
type: string;
|
|
1943
1862
|
requires_approval: boolean;
|
|
1944
1863
|
};
|
|
1945
1864
|
/** @internal */
|
|
1946
|
-
export declare const
|
|
1865
|
+
export declare const StreamRunAgentAgentToolInputRunGoogleSearchTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunGoogleSearchTool>;
|
|
1947
1866
|
/**
|
|
1948
1867
|
* @internal
|
|
1949
1868
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1950
1869
|
*/
|
|
1951
|
-
export declare namespace
|
|
1952
|
-
/** @deprecated use `
|
|
1953
|
-
const inboundSchema: z.ZodType<
|
|
1954
|
-
/** @deprecated use `
|
|
1955
|
-
const outboundSchema: z.ZodType<
|
|
1956
|
-
/** @deprecated use `
|
|
1957
|
-
type Outbound =
|
|
1870
|
+
export declare namespace StreamRunAgentAgentToolInputRunGoogleSearchTool$ {
|
|
1871
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunGoogleSearchTool$inboundSchema` instead. */
|
|
1872
|
+
const inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunGoogleSearchTool, z.ZodTypeDef, unknown>;
|
|
1873
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunGoogleSearchTool$outboundSchema` instead. */
|
|
1874
|
+
const outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunGoogleSearchTool>;
|
|
1875
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound` instead. */
|
|
1876
|
+
type Outbound = StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound;
|
|
1958
1877
|
}
|
|
1959
|
-
export declare function
|
|
1960
|
-
export declare function
|
|
1878
|
+
export declare function streamRunAgentAgentToolInputRunGoogleSearchToolToJSON(streamRunAgentAgentToolInputRunGoogleSearchTool: StreamRunAgentAgentToolInputRunGoogleSearchTool): string;
|
|
1879
|
+
export declare function streamRunAgentAgentToolInputRunGoogleSearchToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunGoogleSearchTool, SDKValidationError>;
|
|
1961
1880
|
/** @internal */
|
|
1962
|
-
export declare const
|
|
1881
|
+
export declare const StreamRunAgentAgentToolInputRun$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRun, z.ZodTypeDef, unknown>;
|
|
1963
1882
|
/** @internal */
|
|
1964
|
-
export type
|
|
1883
|
+
export type StreamRunAgentAgentToolInputRun$Outbound = AgentToolInputRunHTTPToolRun$Outbound | AgentToolInputRunCodeToolRun$Outbound | AgentToolInputRunFunctionToolRun$Outbound | StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound | StreamRunAgentAgentToolInputRunWebScraperTool$Outbound | StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound | StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound | StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound | StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound | StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound | StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound;
|
|
1965
1884
|
/** @internal */
|
|
1966
|
-
export declare const
|
|
1885
|
+
export declare const StreamRunAgentAgentToolInputRun$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRun$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRun>;
|
|
1967
1886
|
/**
|
|
1968
1887
|
* @internal
|
|
1969
1888
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1970
1889
|
*/
|
|
1971
|
-
export declare namespace
|
|
1972
|
-
/** @deprecated use `
|
|
1973
|
-
const inboundSchema: z.ZodType<
|
|
1974
|
-
/** @deprecated use `
|
|
1975
|
-
const outboundSchema: z.ZodType<
|
|
1976
|
-
/** @deprecated use `
|
|
1977
|
-
type Outbound =
|
|
1890
|
+
export declare namespace StreamRunAgentAgentToolInputRun$ {
|
|
1891
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRun$inboundSchema` instead. */
|
|
1892
|
+
const inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRun, z.ZodTypeDef, unknown>;
|
|
1893
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRun$outboundSchema` instead. */
|
|
1894
|
+
const outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRun$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRun>;
|
|
1895
|
+
/** @deprecated use `StreamRunAgentAgentToolInputRun$Outbound` instead. */
|
|
1896
|
+
type Outbound = StreamRunAgentAgentToolInputRun$Outbound;
|
|
1978
1897
|
}
|
|
1979
|
-
export declare function
|
|
1980
|
-
export declare function
|
|
1898
|
+
export declare function streamRunAgentAgentToolInputRunToJSON(streamRunAgentAgentToolInputRun: StreamRunAgentAgentToolInputRun): string;
|
|
1899
|
+
export declare function streamRunAgentAgentToolInputRunFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRun, SDKValidationError>;
|
|
1981
1900
|
/** @internal */
|
|
1982
1901
|
export declare const StreamRunAgentToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolApprovalRequired>;
|
|
1983
1902
|
/** @internal */
|
|
@@ -2004,7 +1923,7 @@ export declare namespace StreamRunAgentToolApprovalRequired$ {
|
|
|
2004
1923
|
export declare const StreamRunAgentSettings$inboundSchema: z.ZodType<StreamRunAgentSettings, z.ZodTypeDef, unknown>;
|
|
2005
1924
|
/** @internal */
|
|
2006
1925
|
export type StreamRunAgentSettings$Outbound = {
|
|
2007
|
-
tools: Array<
|
|
1926
|
+
tools: Array<AgentToolInputRunHTTPToolRun$Outbound | AgentToolInputRunCodeToolRun$Outbound | AgentToolInputRunFunctionToolRun$Outbound | StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound | StreamRunAgentAgentToolInputRunWebScraperTool$Outbound | StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound | StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound | StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound | StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound | StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound | StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound | StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound>;
|
|
2008
1927
|
tool_approval_required: string;
|
|
2009
1928
|
max_iterations: number;
|
|
2010
1929
|
max_execution_time: number;
|
|
@@ -2030,7 +1949,7 @@ export declare const StreamRunAgentRequestBody$inboundSchema: z.ZodType<StreamRu
|
|
|
2030
1949
|
/** @internal */
|
|
2031
1950
|
export type StreamRunAgentRequestBody$Outbound = {
|
|
2032
1951
|
key: string;
|
|
2033
|
-
|
|
1952
|
+
task_id?: string | undefined;
|
|
2034
1953
|
model: string;
|
|
2035
1954
|
fallback_models?: Array<string> | undefined;
|
|
2036
1955
|
role: string;
|