@orq-ai/node 4.1.0-rc.4 → 4.1.0-rc.5
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/bin/mcp-server.js +25494 -27422
- package/bin/mcp-server.js.map +64 -47
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/actionreviewedstreamingevent.d.ts +76 -0
- package/models/components/actionreviewedstreamingevent.d.ts.map +1 -0
- package/models/components/actionreviewedstreamingevent.js +127 -0
- package/models/components/actionreviewedstreamingevent.js.map +1 -0
- package/models/components/actionreviewrequestedstreamingevent.d.ts +135 -0
- package/models/components/actionreviewrequestedstreamingevent.d.ts.map +1 -0
- package/models/components/actionreviewrequestedstreamingevent.js +180 -0
- package/models/components/actionreviewrequestedstreamingevent.js.map +1 -0
- package/models/components/agenterroredstreamingevent.d.ts +58 -0
- package/models/components/agenterroredstreamingevent.d.ts.map +1 -0
- package/models/components/agenterroredstreamingevent.js +91 -0
- package/models/components/agenterroredstreamingevent.js.map +1 -0
- package/models/components/agentexecutionstartedstreamingevent.d.ts +62 -0
- package/models/components/agentexecutionstartedstreamingevent.d.ts.map +1 -0
- package/models/components/agentexecutionstartedstreamingevent.js +103 -0
- package/models/components/agentexecutionstartedstreamingevent.js.map +1 -0
- package/models/components/agenthandedoffstreamingevent.d.ts +51 -0
- package/models/components/agenthandedoffstreamingevent.d.ts.map +1 -0
- package/models/components/agenthandedoffstreamingevent.js +96 -0
- package/models/components/agenthandedoffstreamingevent.js.map +1 -0
- package/models/components/agentinactivestreamingevent.d.ts +309 -0
- package/models/components/agentinactivestreamingevent.d.ts.map +1 -0
- package/models/components/agentinactivestreamingevent.js +385 -0
- package/models/components/agentinactivestreamingevent.js.map +1 -0
- package/models/components/agentmessagecreatedstreamingevent.d.ts +141 -0
- package/models/components/agentmessagecreatedstreamingevent.d.ts.map +1 -0
- package/models/components/agentmessagecreatedstreamingevent.js +190 -0
- package/models/components/agentmessagecreatedstreamingevent.js.map +1 -0
- package/models/components/agentstartedstreamingevent.d.ts +382 -0
- package/models/components/agentstartedstreamingevent.d.ts.map +1 -0
- package/models/components/agentstartedstreamingevent.js +441 -0
- package/models/components/agentstartedstreamingevent.js.map +1 -0
- package/models/components/agentthoughtstreamingevent.d.ts +542 -0
- package/models/components/agentthoughtstreamingevent.d.ts.map +1 -0
- package/models/components/agentthoughtstreamingevent.js +626 -0
- package/models/components/agentthoughtstreamingevent.js.map +1 -0
- package/models/components/errorstreamingevent.d.ts +51 -0
- package/models/components/errorstreamingevent.d.ts.map +1 -0
- package/models/components/errorstreamingevent.js +87 -0
- package/models/components/errorstreamingevent.js.map +1 -0
- package/models/components/executionnamedstreamingevent.d.ts +51 -0
- package/models/components/executionnamedstreamingevent.d.ts.map +1 -0
- package/models/components/executionnamedstreamingevent.js +96 -0
- package/models/components/executionnamedstreamingevent.js.map +1 -0
- package/models/components/executionreviewedstreamingevent.d.ts +45 -0
- package/models/components/executionreviewedstreamingevent.d.ts.map +1 -0
- package/models/components/executionreviewedstreamingevent.js +81 -0
- package/models/components/executionreviewedstreamingevent.js.map +1 -0
- package/models/components/executionreviewrequiredstreamingevent.d.ts +45 -0
- package/models/components/executionreviewrequiredstreamingevent.d.ts.map +1 -0
- package/models/components/executionreviewrequiredstreamingevent.js +82 -0
- package/models/components/executionreviewrequiredstreamingevent.js.map +1 -0
- package/models/components/filepart.d.ts +1 -1
- package/models/components/index.d.ts +17 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +17 -0
- package/models/components/index.js.map +1 -1
- package/models/components/invokedeploymentrequest.d.ts +13 -13
- package/models/components/invokedeploymentrequest.d.ts.map +1 -1
- package/models/components/invokedeploymentrequest.js +17 -17
- package/models/components/invokedeploymentrequest.js.map +1 -1
- package/models/components/timeoutstreamingevent.d.ts +49 -0
- package/models/components/timeoutstreamingevent.d.ts.map +1 -0
- package/models/components/timeoutstreamingevent.js +85 -0
- package/models/components/timeoutstreamingevent.js.map +1 -0
- package/models/components/toolexecutionfailedstreamingevent.d.ts +144 -0
- package/models/components/toolexecutionfailedstreamingevent.d.ts.map +1 -0
- package/models/components/toolexecutionfailedstreamingevent.js +223 -0
- package/models/components/toolexecutionfailedstreamingevent.js.map +1 -0
- package/models/components/toolexecutionfinishedstreamingevent.d.ts +129 -0
- package/models/components/toolexecutionfinishedstreamingevent.d.ts.map +1 -0
- package/models/components/toolexecutionfinishedstreamingevent.js +205 -0
- package/models/components/toolexecutionfinishedstreamingevent.js.map +1 -0
- package/models/components/toolexecutionstartedstreamingevent.d.ts +139 -0
- package/models/components/toolexecutionstartedstreamingevent.d.ts.map +1 -0
- package/models/components/toolexecutionstartedstreamingevent.js +217 -0
- package/models/components/toolexecutionstartedstreamingevent.js.map +1 -0
- package/models/components/toolresultpart.d.ts +1 -1
- package/models/operations/createagentresponserequest.d.ts +4 -137
- package/models/operations/createagentresponserequest.d.ts.map +1 -1
- package/models/operations/createagentresponserequest.js +9 -138
- package/models/operations/createagentresponserequest.js.map +1 -1
- 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 +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.d.ts +80 -145
- package/models/operations/createeval.d.ts.map +1 -1
- package/models/operations/createeval.js +190 -266
- package/models/operations/createeval.js.map +1 -1
- package/models/operations/createtool.js +12 -12
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.d.ts +14 -79
- package/models/operations/getevals.d.ts.map +1 -1
- package/models/operations/getevals.js +49 -132
- package/models/operations/getevals.js.map +1 -1
- package/models/operations/invokeagent.d.ts +14 -147
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +19 -148
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.js +2 -2
- package/models/operations/listknowledgebases.d.ts +16 -16
- package/models/operations/listknowledgebases.d.ts.map +1 -1
- package/models/operations/listknowledgebases.js +27 -25
- package/models/operations/listknowledgebases.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +4 -137
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +17 -145
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +241 -2491
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +172 -2826
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +889 -3139
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +175 -2825
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.d.ts +14 -79
- package/models/operations/updateeval.d.ts.map +1 -1
- package/models/operations/updateeval.js +51 -134
- package/models/operations/updateeval.js.map +1 -1
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/actionreviewedstreamingevent.ts +189 -0
- package/src/models/components/actionreviewrequestedstreamingevent.ts +326 -0
- package/src/models/components/agenterroredstreamingevent.ts +142 -0
- package/src/models/components/agentexecutionstartedstreamingevent.ts +145 -0
- package/src/models/components/agenthandedoffstreamingevent.ts +142 -0
- package/src/models/components/agentinactivestreamingevent.ts +857 -0
- package/src/models/components/agentmessagecreatedstreamingevent.ts +396 -0
- package/src/models/components/agentstartedstreamingevent.ts +909 -0
- package/src/models/components/agentthoughtstreamingevent.ts +1419 -0
- package/src/models/components/errorstreamingevent.ts +129 -0
- package/src/models/components/executionnamedstreamingevent.ts +142 -0
- package/src/models/components/executionreviewedstreamingevent.ts +122 -0
- package/src/models/components/executionreviewrequiredstreamingevent.ts +130 -0
- package/src/models/components/filepart.ts +1 -1
- package/src/models/components/index.ts +17 -0
- package/src/models/components/invokedeploymentrequest.ts +32 -27
- package/src/models/components/timeoutstreamingevent.ts +125 -0
- package/src/models/components/toolexecutionfailedstreamingevent.ts +406 -0
- package/src/models/components/toolexecutionfinishedstreamingevent.ts +373 -0
- package/src/models/components/toolexecutionstartedstreamingevent.ts +350 -0
- package/src/models/components/toolresultpart.ts +1 -1
- package/src/models/operations/createagentresponserequest.ts +20 -321
- 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 +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +318 -615
- package/src/models/operations/createtool.ts +12 -12
- 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/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +52 -287
- package/src/models/operations/invokeagent.ts +36 -373
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +2 -2
- package/src/models/operations/listknowledgebases.ts +82 -102
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +17 -365
- package/src/models/operations/streamagent.ts +794 -6985
- package/src/models/operations/streamrunagent.ts +3939 -9983
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +52 -287
- package/src/models/operations/updatetool.ts +14 -14
|
@@ -636,74 +636,10 @@ export type StreamRunAgentRoleUserMessage = ClosedEnum<typeof StreamRunAgentRole
|
|
|
636
636
|
* Message role (user or tool for continuing executions)
|
|
637
637
|
*/
|
|
638
638
|
export type StreamRunAgentRole = StreamRunAgentRoleUserMessage | StreamRunAgentRoleToolMessage;
|
|
639
|
-
export declare const StreamRunAgentPublicMessagePartAgentsKind: {
|
|
640
|
-
readonly ToolResult: "tool_result";
|
|
641
|
-
};
|
|
642
|
-
export type StreamRunAgentPublicMessagePartAgentsKind = ClosedEnum<typeof StreamRunAgentPublicMessagePartAgentsKind>;
|
|
643
|
-
/**
|
|
644
|
-
* 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.
|
|
645
|
-
*/
|
|
646
|
-
export type StreamRunAgentPublicMessagePartToolResultPart = {
|
|
647
|
-
kind: StreamRunAgentPublicMessagePartAgentsKind;
|
|
648
|
-
toolCallId: string;
|
|
649
|
-
result?: any | undefined;
|
|
650
|
-
metadata?: {
|
|
651
|
-
[k: string]: any;
|
|
652
|
-
} | undefined;
|
|
653
|
-
};
|
|
654
|
-
export declare const StreamRunAgentPublicMessagePartKind: {
|
|
655
|
-
readonly File: "file";
|
|
656
|
-
};
|
|
657
|
-
export type StreamRunAgentPublicMessagePartKind = ClosedEnum<typeof StreamRunAgentPublicMessagePartKind>;
|
|
658
|
-
/**
|
|
659
|
-
* File in URI format. Check in the model's documentation for the supported mime types for the URI format
|
|
660
|
-
*/
|
|
661
|
-
export type StreamRunAgentFileFileInURIFormat = {
|
|
662
|
-
/**
|
|
663
|
-
* URL for the File content
|
|
664
|
-
*/
|
|
665
|
-
uri: string;
|
|
666
|
-
/**
|
|
667
|
-
* Optional mimeType for the file
|
|
668
|
-
*/
|
|
669
|
-
mimeType?: string | undefined;
|
|
670
|
-
/**
|
|
671
|
-
* Optional name for the file
|
|
672
|
-
*/
|
|
673
|
-
name?: string | undefined;
|
|
674
|
-
};
|
|
675
|
-
/**
|
|
676
|
-
* Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
|
|
677
|
-
*/
|
|
678
|
-
export type StreamRunAgentFileBinaryFormat = {
|
|
679
|
-
/**
|
|
680
|
-
* base64 encoded content of the file
|
|
681
|
-
*/
|
|
682
|
-
bytes: string;
|
|
683
|
-
/**
|
|
684
|
-
* Optional mimeType for the file
|
|
685
|
-
*/
|
|
686
|
-
mimeType?: string | undefined;
|
|
687
|
-
/**
|
|
688
|
-
* Optional name for the file
|
|
689
|
-
*/
|
|
690
|
-
name?: string | undefined;
|
|
691
|
-
};
|
|
692
|
-
export type StreamRunAgentPublicMessagePartFile = StreamRunAgentFileBinaryFormat | StreamRunAgentFileFileInURIFormat;
|
|
693
|
-
/**
|
|
694
|
-
* File attachment part. Use this to send files (images, documents, etc.) to the agent for processing.
|
|
695
|
-
*/
|
|
696
|
-
export type StreamRunAgentPublicMessagePartFilePart = {
|
|
697
|
-
kind: StreamRunAgentPublicMessagePartKind;
|
|
698
|
-
file: StreamRunAgentFileBinaryFormat | StreamRunAgentFileFileInURIFormat;
|
|
699
|
-
metadata?: {
|
|
700
|
-
[k: string]: any;
|
|
701
|
-
} | undefined;
|
|
702
|
-
};
|
|
703
639
|
/**
|
|
704
640
|
* 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.
|
|
705
641
|
*/
|
|
706
|
-
export type StreamRunAgentPublicMessagePart = components.TextPart |
|
|
642
|
+
export type StreamRunAgentPublicMessagePart = components.TextPart | components.FilePart | components.ToolResultPart;
|
|
707
643
|
/**
|
|
708
644
|
* The A2A format message containing the task for the agent to perform.
|
|
709
645
|
*/
|
|
@@ -719,7 +655,7 @@ export type StreamRunAgentA2AMessage = {
|
|
|
719
655
|
/**
|
|
720
656
|
* A2A message parts (text, file, or tool_result only)
|
|
721
657
|
*/
|
|
722
|
-
parts: Array<components.TextPart |
|
|
658
|
+
parts: Array<components.TextPart | components.FilePart | components.ToolResultPart>;
|
|
723
659
|
};
|
|
724
660
|
/**
|
|
725
661
|
* Information about the contact making the request. If the contact does not exist, it will be created automatically.
|
|
@@ -1448,3411 +1384,1191 @@ export type StreamRunAgentRequestBody = {
|
|
|
1448
1384
|
*/
|
|
1449
1385
|
streamTimeoutSeconds?: number | undefined;
|
|
1450
1386
|
};
|
|
1451
|
-
export
|
|
1452
|
-
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
type:
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
}
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
export type ErrorT = {
|
|
1487
|
-
message: string;
|
|
1488
|
-
stack?: string | undefined;
|
|
1489
|
-
};
|
|
1387
|
+
export type StreamRunAgentData = (components.AgentExecutionStartedStreamingEvent & {
|
|
1388
|
+
type: "agents.execution_started";
|
|
1389
|
+
}) | (components.AgentStartedStreamingEvent & {
|
|
1390
|
+
type: "event.agents.started";
|
|
1391
|
+
}) | (components.AgentThoughtStreamingEvent & {
|
|
1392
|
+
type: "event.agents.thought";
|
|
1393
|
+
}) | (components.AgentInactiveStreamingEvent & {
|
|
1394
|
+
type: "event.agents.inactive";
|
|
1395
|
+
}) | (components.AgentErroredStreamingEvent & {
|
|
1396
|
+
type: "event.agents.errored";
|
|
1397
|
+
}) | (components.ActionReviewRequestedStreamingEvent & {
|
|
1398
|
+
type: "event.agents.action_review_requested";
|
|
1399
|
+
}) | (components.ActionReviewedStreamingEvent & {
|
|
1400
|
+
type: "event.agents.action_reviewed";
|
|
1401
|
+
}) | (components.ExecutionReviewRequiredStreamingEvent & {
|
|
1402
|
+
type: "event.agents.execution_review_required";
|
|
1403
|
+
}) | (components.ExecutionReviewedStreamingEvent & {
|
|
1404
|
+
type: "event.agents.execution_reviewed";
|
|
1405
|
+
}) | (components.ExecutionNamedStreamingEvent & {
|
|
1406
|
+
type: "event.agents.execution_named";
|
|
1407
|
+
}) | (components.AgentHandedOffStreamingEvent & {
|
|
1408
|
+
type: "event.agents.handed_off";
|
|
1409
|
+
}) | (components.AgentMessageCreatedStreamingEvent & {
|
|
1410
|
+
type: "event.agents.message-created";
|
|
1411
|
+
}) | (components.ToolExecutionStartedStreamingEvent & {
|
|
1412
|
+
type: "event.workflow_events.tool_execution_started";
|
|
1413
|
+
}) | (components.ToolExecutionFinishedStreamingEvent & {
|
|
1414
|
+
type: "event.workflow_events.tool_execution_finished";
|
|
1415
|
+
}) | (components.ToolExecutionFailedStreamingEvent & {
|
|
1416
|
+
type: "event.workflow_events.tool_execution_failed";
|
|
1417
|
+
}) | (components.TimeoutStreamingEvent & {
|
|
1418
|
+
type: "agents.timeout";
|
|
1419
|
+
}) | (components.ErrorStreamingEvent & {
|
|
1420
|
+
type: "agents.error";
|
|
1421
|
+
});
|
|
1490
1422
|
/**
|
|
1491
|
-
*
|
|
1423
|
+
* Server-Sent Event stream successfully established. Delivers real-time agent execution events including message fragments, tool invocations, intermediate results, and completion status. Stream terminates with [DONE] sentinel upon completion.
|
|
1492
1424
|
*/
|
|
1493
|
-
export
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1425
|
+
export type StreamRunAgentResponseBody = {
|
|
1426
|
+
data: (components.AgentExecutionStartedStreamingEvent & {
|
|
1427
|
+
type: "agents.execution_started";
|
|
1428
|
+
}) | (components.AgentStartedStreamingEvent & {
|
|
1429
|
+
type: "event.agents.started";
|
|
1430
|
+
}) | (components.AgentThoughtStreamingEvent & {
|
|
1431
|
+
type: "event.agents.thought";
|
|
1432
|
+
}) | (components.AgentInactiveStreamingEvent & {
|
|
1433
|
+
type: "event.agents.inactive";
|
|
1434
|
+
}) | (components.AgentErroredStreamingEvent & {
|
|
1435
|
+
type: "event.agents.errored";
|
|
1436
|
+
}) | (components.ActionReviewRequestedStreamingEvent & {
|
|
1437
|
+
type: "event.agents.action_review_requested";
|
|
1438
|
+
}) | (components.ActionReviewedStreamingEvent & {
|
|
1439
|
+
type: "event.agents.action_reviewed";
|
|
1440
|
+
}) | (components.ExecutionReviewRequiredStreamingEvent & {
|
|
1441
|
+
type: "event.agents.execution_review_required";
|
|
1442
|
+
}) | (components.ExecutionReviewedStreamingEvent & {
|
|
1443
|
+
type: "event.agents.execution_reviewed";
|
|
1444
|
+
}) | (components.ExecutionNamedStreamingEvent & {
|
|
1445
|
+
type: "event.agents.execution_named";
|
|
1446
|
+
}) | (components.AgentHandedOffStreamingEvent & {
|
|
1447
|
+
type: "event.agents.handed_off";
|
|
1448
|
+
}) | (components.AgentMessageCreatedStreamingEvent & {
|
|
1449
|
+
type: "event.agents.message-created";
|
|
1450
|
+
}) | (components.ToolExecutionStartedStreamingEvent & {
|
|
1451
|
+
type: "event.workflow_events.tool_execution_started";
|
|
1452
|
+
}) | (components.ToolExecutionFinishedStreamingEvent & {
|
|
1453
|
+
type: "event.workflow_events.tool_execution_finished";
|
|
1454
|
+
}) | (components.ToolExecutionFailedStreamingEvent & {
|
|
1455
|
+
type: "event.workflow_events.tool_execution_failed";
|
|
1456
|
+
}) | (components.TimeoutStreamingEvent & {
|
|
1457
|
+
type: "agents.timeout";
|
|
1458
|
+
}) | (components.ErrorStreamingEvent & {
|
|
1459
|
+
type: "agents.error";
|
|
1460
|
+
});
|
|
1510
1461
|
};
|
|
1511
|
-
/**
|
|
1512
|
-
|
|
1513
|
-
*/
|
|
1514
|
-
export
|
|
1515
|
-
|
|
1516
|
-
|
|
1462
|
+
/** @internal */
|
|
1463
|
+
export declare const StreamRunAgentModelConfigurationVoice$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationVoice>;
|
|
1464
|
+
/** @internal */
|
|
1465
|
+
export declare const StreamRunAgentModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationVoice>;
|
|
1466
|
+
/** @internal */
|
|
1467
|
+
export declare const StreamRunAgentModelConfigurationFormat$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationFormat>;
|
|
1468
|
+
/** @internal */
|
|
1469
|
+
export declare const StreamRunAgentModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationFormat>;
|
|
1470
|
+
/** @internal */
|
|
1471
|
+
export declare const StreamRunAgentModelConfigurationAudio$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationAudio, z.ZodTypeDef, unknown>;
|
|
1472
|
+
/** @internal */
|
|
1473
|
+
export type StreamRunAgentModelConfigurationAudio$Outbound = {
|
|
1474
|
+
voice: string;
|
|
1475
|
+
format: string;
|
|
1517
1476
|
};
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1477
|
+
/** @internal */
|
|
1478
|
+
export declare const StreamRunAgentModelConfigurationAudio$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationAudio$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationAudio>;
|
|
1479
|
+
export declare function streamRunAgentModelConfigurationAudioToJSON(streamRunAgentModelConfigurationAudio: StreamRunAgentModelConfigurationAudio): string;
|
|
1480
|
+
export declare function streamRunAgentModelConfigurationAudioFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationAudio, SDKValidationError>;
|
|
1481
|
+
/** @internal */
|
|
1482
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestType>;
|
|
1483
|
+
/** @internal */
|
|
1484
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestType>;
|
|
1485
|
+
/** @internal */
|
|
1486
|
+
export declare const StreamRunAgentResponseFormatAgentsJsonSchema$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsJsonSchema, z.ZodTypeDef, unknown>;
|
|
1487
|
+
/** @internal */
|
|
1488
|
+
export type StreamRunAgentResponseFormatAgentsJsonSchema$Outbound = {
|
|
1489
|
+
description?: string | undefined;
|
|
1490
|
+
name: string;
|
|
1491
|
+
schema?: any | undefined;
|
|
1492
|
+
strict: boolean;
|
|
1530
1493
|
};
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1494
|
+
/** @internal */
|
|
1495
|
+
export declare const StreamRunAgentResponseFormatAgentsJsonSchema$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsJsonSchema$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsJsonSchema>;
|
|
1496
|
+
export declare function streamRunAgentResponseFormatAgentsJsonSchemaToJSON(streamRunAgentResponseFormatAgentsJsonSchema: StreamRunAgentResponseFormatAgentsJsonSchema): string;
|
|
1497
|
+
export declare function streamRunAgentResponseFormatAgentsJsonSchemaFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsJsonSchema, SDKValidationError>;
|
|
1498
|
+
/** @internal */
|
|
1499
|
+
export declare const StreamRunAgentResponseFormatJSONSchema$inboundSchema: z.ZodType<StreamRunAgentResponseFormatJSONSchema, z.ZodTypeDef, unknown>;
|
|
1500
|
+
/** @internal */
|
|
1501
|
+
export type StreamRunAgentResponseFormatJSONSchema$Outbound = {
|
|
1502
|
+
type: string;
|
|
1503
|
+
json_schema: StreamRunAgentResponseFormatAgentsJsonSchema$Outbound;
|
|
1537
1504
|
};
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1505
|
+
/** @internal */
|
|
1506
|
+
export declare const StreamRunAgentResponseFormatJSONSchema$outboundSchema: z.ZodType<StreamRunAgentResponseFormatJSONSchema$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatJSONSchema>;
|
|
1507
|
+
export declare function streamRunAgentResponseFormatJSONSchemaToJSON(streamRunAgentResponseFormatJSONSchema: StreamRunAgentResponseFormatJSONSchema): string;
|
|
1508
|
+
export declare function streamRunAgentResponseFormatJSONSchemaFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatJSONSchema, SDKValidationError>;
|
|
1509
|
+
/** @internal */
|
|
1510
|
+
export declare const StreamRunAgentResponseFormatAgentsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsType>;
|
|
1511
|
+
/** @internal */
|
|
1512
|
+
export declare const StreamRunAgentResponseFormatAgentsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsType>;
|
|
1513
|
+
/** @internal */
|
|
1514
|
+
export declare const StreamRunAgentResponseFormatJSONObject$inboundSchema: z.ZodType<StreamRunAgentResponseFormatJSONObject, z.ZodTypeDef, unknown>;
|
|
1515
|
+
/** @internal */
|
|
1516
|
+
export type StreamRunAgentResponseFormatJSONObject$Outbound = {
|
|
1517
|
+
type: string;
|
|
1545
1518
|
};
|
|
1546
|
-
|
|
1547
|
-
|
|
1519
|
+
/** @internal */
|
|
1520
|
+
export declare const StreamRunAgentResponseFormatJSONObject$outboundSchema: z.ZodType<StreamRunAgentResponseFormatJSONObject$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatJSONObject>;
|
|
1521
|
+
export declare function streamRunAgentResponseFormatJSONObjectToJSON(streamRunAgentResponseFormatJSONObject: StreamRunAgentResponseFormatJSONObject): string;
|
|
1522
|
+
export declare function streamRunAgentResponseFormatJSONObjectFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatJSONObject, SDKValidationError>;
|
|
1523
|
+
/** @internal */
|
|
1524
|
+
export declare const StreamRunAgentResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatType>;
|
|
1525
|
+
/** @internal */
|
|
1526
|
+
export declare const StreamRunAgentResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatType>;
|
|
1527
|
+
/** @internal */
|
|
1528
|
+
export declare const StreamRunAgentResponseFormatText$inboundSchema: z.ZodType<StreamRunAgentResponseFormatText, z.ZodTypeDef, unknown>;
|
|
1529
|
+
/** @internal */
|
|
1530
|
+
export type StreamRunAgentResponseFormatText$Outbound = {
|
|
1531
|
+
type: string;
|
|
1548
1532
|
};
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1533
|
+
/** @internal */
|
|
1534
|
+
export declare const StreamRunAgentResponseFormatText$outboundSchema: z.ZodType<StreamRunAgentResponseFormatText$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatText>;
|
|
1535
|
+
export declare function streamRunAgentResponseFormatTextToJSON(streamRunAgentResponseFormatText: StreamRunAgentResponseFormatText): string;
|
|
1536
|
+
export declare function streamRunAgentResponseFormatTextFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatText, SDKValidationError>;
|
|
1537
|
+
/** @internal */
|
|
1538
|
+
export declare const StreamRunAgentModelConfigurationResponseFormat$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationResponseFormat, z.ZodTypeDef, unknown>;
|
|
1539
|
+
/** @internal */
|
|
1540
|
+
export type StreamRunAgentModelConfigurationResponseFormat$Outbound = StreamRunAgentResponseFormatJSONSchema$Outbound | StreamRunAgentResponseFormatText$Outbound | StreamRunAgentResponseFormatJSONObject$Outbound;
|
|
1541
|
+
/** @internal */
|
|
1542
|
+
export declare const StreamRunAgentModelConfigurationResponseFormat$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationResponseFormat$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationResponseFormat>;
|
|
1543
|
+
export declare function streamRunAgentModelConfigurationResponseFormatToJSON(streamRunAgentModelConfigurationResponseFormat: StreamRunAgentModelConfigurationResponseFormat): string;
|
|
1544
|
+
export declare function streamRunAgentModelConfigurationResponseFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationResponseFormat, SDKValidationError>;
|
|
1545
|
+
/** @internal */
|
|
1546
|
+
export declare const StreamRunAgentModelConfigurationStop$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationStop, z.ZodTypeDef, unknown>;
|
|
1547
|
+
/** @internal */
|
|
1548
|
+
export type StreamRunAgentModelConfigurationStop$Outbound = string | Array<string>;
|
|
1549
|
+
/** @internal */
|
|
1550
|
+
export declare const StreamRunAgentModelConfigurationStop$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationStop$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationStop>;
|
|
1551
|
+
export declare function streamRunAgentModelConfigurationStopToJSON(streamRunAgentModelConfigurationStop: StreamRunAgentModelConfigurationStop): string;
|
|
1552
|
+
export declare function streamRunAgentModelConfigurationStopFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationStop, SDKValidationError>;
|
|
1553
|
+
/** @internal */
|
|
1554
|
+
export declare const StreamRunAgentModelConfigurationStreamOptions$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationStreamOptions, z.ZodTypeDef, unknown>;
|
|
1555
|
+
/** @internal */
|
|
1556
|
+
export type StreamRunAgentModelConfigurationStreamOptions$Outbound = {
|
|
1557
|
+
include_usage?: boolean | undefined;
|
|
1570
1558
|
};
|
|
1571
|
-
/**
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
export
|
|
1575
|
-
|
|
1576
|
-
|
|
1559
|
+
/** @internal */
|
|
1560
|
+
export declare const StreamRunAgentModelConfigurationStreamOptions$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationStreamOptions>;
|
|
1561
|
+
export declare function streamRunAgentModelConfigurationStreamOptionsToJSON(streamRunAgentModelConfigurationStreamOptions: StreamRunAgentModelConfigurationStreamOptions): string;
|
|
1562
|
+
export declare function streamRunAgentModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationStreamOptions, SDKValidationError>;
|
|
1563
|
+
/** @internal */
|
|
1564
|
+
export declare const StreamRunAgentModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationType>;
|
|
1565
|
+
/** @internal */
|
|
1566
|
+
export declare const StreamRunAgentModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationType>;
|
|
1567
|
+
/** @internal */
|
|
1568
|
+
export declare const StreamRunAgentModelConfigurationThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationThinkingLevel>;
|
|
1569
|
+
/** @internal */
|
|
1570
|
+
export declare const StreamRunAgentModelConfigurationThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationThinkingLevel>;
|
|
1571
|
+
/** @internal */
|
|
1572
|
+
export declare const StreamRunAgentModelConfigurationThinking$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationThinking, z.ZodTypeDef, unknown>;
|
|
1573
|
+
/** @internal */
|
|
1574
|
+
export type StreamRunAgentModelConfigurationThinking$Outbound = {
|
|
1575
|
+
type: string;
|
|
1576
|
+
budget_tokens: number;
|
|
1577
|
+
thinking_level?: string | undefined;
|
|
1577
1578
|
};
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1579
|
+
/** @internal */
|
|
1580
|
+
export declare const StreamRunAgentModelConfigurationThinking$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationThinking$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationThinking>;
|
|
1581
|
+
export declare function streamRunAgentModelConfigurationThinkingToJSON(streamRunAgentModelConfigurationThinking: StreamRunAgentModelConfigurationThinking): string;
|
|
1582
|
+
export declare function streamRunAgentModelConfigurationThinkingFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationThinking, SDKValidationError>;
|
|
1583
|
+
/** @internal */
|
|
1584
|
+
export declare const StreamRunAgentToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceType>;
|
|
1585
|
+
/** @internal */
|
|
1586
|
+
export declare const StreamRunAgentToolChoiceType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceType>;
|
|
1587
|
+
/** @internal */
|
|
1588
|
+
export declare const StreamRunAgentToolChoiceFunction$inboundSchema: z.ZodType<StreamRunAgentToolChoiceFunction, z.ZodTypeDef, unknown>;
|
|
1589
|
+
/** @internal */
|
|
1590
|
+
export type StreamRunAgentToolChoiceFunction$Outbound = {
|
|
1591
|
+
name?: string | undefined;
|
|
1590
1592
|
};
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1593
|
+
/** @internal */
|
|
1594
|
+
export declare const StreamRunAgentToolChoiceFunction$outboundSchema: z.ZodType<StreamRunAgentToolChoiceFunction$Outbound, z.ZodTypeDef, StreamRunAgentToolChoiceFunction>;
|
|
1595
|
+
export declare function streamRunAgentToolChoiceFunctionToJSON(streamRunAgentToolChoiceFunction: StreamRunAgentToolChoiceFunction): string;
|
|
1596
|
+
export declare function streamRunAgentToolChoiceFunctionFromJSON(jsonString: string): SafeParseResult<StreamRunAgentToolChoiceFunction, SDKValidationError>;
|
|
1597
|
+
/** @internal */
|
|
1598
|
+
export declare const StreamRunAgentToolChoice2$inboundSchema: z.ZodType<StreamRunAgentToolChoice2, z.ZodTypeDef, unknown>;
|
|
1599
|
+
/** @internal */
|
|
1600
|
+
export type StreamRunAgentToolChoice2$Outbound = {
|
|
1601
|
+
type?: string | undefined;
|
|
1602
|
+
function: StreamRunAgentToolChoiceFunction$Outbound;
|
|
1597
1603
|
};
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1604
|
+
/** @internal */
|
|
1605
|
+
export declare const StreamRunAgentToolChoice2$outboundSchema: z.ZodType<StreamRunAgentToolChoice2$Outbound, z.ZodTypeDef, StreamRunAgentToolChoice2>;
|
|
1606
|
+
export declare function streamRunAgentToolChoice2ToJSON(streamRunAgentToolChoice2: StreamRunAgentToolChoice2): string;
|
|
1607
|
+
export declare function streamRunAgentToolChoice2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentToolChoice2, SDKValidationError>;
|
|
1608
|
+
/** @internal */
|
|
1609
|
+
export declare const StreamRunAgentToolChoice1$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoice1>;
|
|
1610
|
+
/** @internal */
|
|
1611
|
+
export declare const StreamRunAgentToolChoice1$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoice1>;
|
|
1612
|
+
/** @internal */
|
|
1613
|
+
export declare const StreamRunAgentModelConfigurationToolChoice$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationToolChoice, z.ZodTypeDef, unknown>;
|
|
1614
|
+
/** @internal */
|
|
1615
|
+
export type StreamRunAgentModelConfigurationToolChoice$Outbound = StreamRunAgentToolChoice2$Outbound | string;
|
|
1616
|
+
/** @internal */
|
|
1617
|
+
export declare const StreamRunAgentModelConfigurationToolChoice$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationToolChoice$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationToolChoice>;
|
|
1618
|
+
export declare function streamRunAgentModelConfigurationToolChoiceToJSON(streamRunAgentModelConfigurationToolChoice: StreamRunAgentModelConfigurationToolChoice): string;
|
|
1619
|
+
export declare function streamRunAgentModelConfigurationToolChoiceFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationToolChoice, SDKValidationError>;
|
|
1620
|
+
/** @internal */
|
|
1621
|
+
export declare const StreamRunAgentModelConfigurationModalities$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationModalities>;
|
|
1622
|
+
/** @internal */
|
|
1623
|
+
export declare const StreamRunAgentModelConfigurationModalities$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationModalities>;
|
|
1624
|
+
/** @internal */
|
|
1625
|
+
export declare const StreamRunAgentModelConfigurationParameters$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationParameters, z.ZodTypeDef, unknown>;
|
|
1626
|
+
/** @internal */
|
|
1627
|
+
export type StreamRunAgentModelConfigurationParameters$Outbound = {
|
|
1628
|
+
audio?: StreamRunAgentModelConfigurationAudio$Outbound | null | undefined;
|
|
1629
|
+
frequency_penalty?: number | null | undefined;
|
|
1630
|
+
max_tokens?: number | null | undefined;
|
|
1631
|
+
max_completion_tokens?: number | null | undefined;
|
|
1632
|
+
logprobs?: boolean | null | undefined;
|
|
1633
|
+
top_logprobs?: number | null | undefined;
|
|
1634
|
+
n?: number | null | undefined;
|
|
1635
|
+
presence_penalty?: number | null | undefined;
|
|
1636
|
+
response_format?: StreamRunAgentResponseFormatJSONSchema$Outbound | StreamRunAgentResponseFormatText$Outbound | StreamRunAgentResponseFormatJSONObject$Outbound | undefined;
|
|
1637
|
+
reasoning_effort?: string | undefined;
|
|
1638
|
+
verbosity?: string | undefined;
|
|
1639
|
+
seed?: number | null | undefined;
|
|
1640
|
+
stop?: string | Array<string> | null | undefined;
|
|
1641
|
+
stream_options?: StreamRunAgentModelConfigurationStreamOptions$Outbound | null | undefined;
|
|
1642
|
+
thinking?: StreamRunAgentModelConfigurationThinking$Outbound | undefined;
|
|
1643
|
+
temperature?: number | null | undefined;
|
|
1644
|
+
top_p?: number | null | undefined;
|
|
1645
|
+
top_k?: number | null | undefined;
|
|
1646
|
+
tool_choice?: StreamRunAgentToolChoice2$Outbound | string | undefined;
|
|
1647
|
+
parallel_tool_calls?: boolean | undefined;
|
|
1648
|
+
modalities?: Array<string> | null | undefined;
|
|
1605
1649
|
};
|
|
1606
|
-
|
|
1607
|
-
|
|
1650
|
+
/** @internal */
|
|
1651
|
+
export declare const StreamRunAgentModelConfigurationParameters$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationParameters$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationParameters>;
|
|
1652
|
+
export declare function streamRunAgentModelConfigurationParametersToJSON(streamRunAgentModelConfigurationParameters: StreamRunAgentModelConfigurationParameters): string;
|
|
1653
|
+
export declare function streamRunAgentModelConfigurationParametersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationParameters, SDKValidationError>;
|
|
1654
|
+
/** @internal */
|
|
1655
|
+
export declare const StreamRunAgentModelConfigurationRetry$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationRetry, z.ZodTypeDef, unknown>;
|
|
1656
|
+
/** @internal */
|
|
1657
|
+
export type StreamRunAgentModelConfigurationRetry$Outbound = {
|
|
1658
|
+
count: number;
|
|
1659
|
+
on_codes?: Array<number> | undefined;
|
|
1608
1660
|
};
|
|
1609
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type>;
|
|
1610
|
-
/**
|
|
1611
|
-
* Orquesta product
|
|
1612
|
-
*/
|
|
1613
|
-
export declare const Product: {
|
|
1614
|
-
readonly Remoteconfigs: "remoteconfigs";
|
|
1615
|
-
readonly Deployments: "deployments";
|
|
1616
|
-
readonly Experiments: "experiments";
|
|
1617
|
-
readonly Playgrounds: "playgrounds";
|
|
1618
|
-
readonly Spreadsheets: "spreadsheets";
|
|
1619
|
-
readonly SpreadsheetRun: "spreadsheet_run";
|
|
1620
|
-
readonly LlmEvaluator: "llm_evaluator";
|
|
1621
|
-
readonly Knowledge: "knowledge";
|
|
1622
|
-
readonly Router: "router";
|
|
1623
|
-
readonly Workflows: "workflows";
|
|
1624
|
-
readonly ExternalEvents: "external_events";
|
|
1625
|
-
readonly Agents: "agents";
|
|
1626
|
-
readonly MemoryStores: "memory-stores";
|
|
1627
|
-
readonly Generic: "generic";
|
|
1628
|
-
readonly Evaluators: "evaluators";
|
|
1629
|
-
readonly Otel: "otel";
|
|
1630
|
-
};
|
|
1631
|
-
/**
|
|
1632
|
-
* Orquesta product
|
|
1633
|
-
*/
|
|
1634
|
-
export type Product = ClosedEnum<typeof Product>;
|
|
1635
|
-
export type DataMemory = {
|
|
1636
|
-
entityId: string;
|
|
1637
|
-
};
|
|
1638
|
-
export type ToolExecutionContext = {
|
|
1639
|
-
actionId: string;
|
|
1640
|
-
agentToolCallId: string;
|
|
1641
|
-
workspaceId: string;
|
|
1642
|
-
agentManifestId: string;
|
|
1643
|
-
agentExecutionId: string;
|
|
1644
|
-
/**
|
|
1645
|
-
* Orquesta product
|
|
1646
|
-
*/
|
|
1647
|
-
product: Product;
|
|
1648
|
-
memory?: DataMemory | undefined;
|
|
1649
|
-
parentId?: string | undefined;
|
|
1650
|
-
};
|
|
1651
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data = {
|
|
1652
|
-
toolId: string;
|
|
1653
|
-
toolKey?: string | undefined;
|
|
1654
|
-
toolDisplayName?: string | undefined;
|
|
1655
|
-
actionType: string;
|
|
1656
|
-
toolArguments: {
|
|
1657
|
-
[k: string]: any;
|
|
1658
|
-
};
|
|
1659
|
-
toolExecutionContext: ToolExecutionContext;
|
|
1660
|
-
responseId?: string | undefined;
|
|
1661
|
-
workflowRunId: string;
|
|
1662
|
-
};
|
|
1663
|
-
export type Thirteen = {
|
|
1664
|
-
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type;
|
|
1665
|
-
/**
|
|
1666
|
-
* ISO timestamp of the event
|
|
1667
|
-
*/
|
|
1668
|
-
timestamp: string;
|
|
1669
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data;
|
|
1670
|
-
};
|
|
1671
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Type: {
|
|
1672
|
-
readonly EventAgentsMessageCreated: "event.agents.message-created";
|
|
1673
|
-
};
|
|
1674
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Type>;
|
|
1675
|
-
export declare const StreamRunAgentDataAgentsResponseRole: {
|
|
1676
|
-
readonly User: "user";
|
|
1677
|
-
readonly Tool: "tool";
|
|
1678
|
-
};
|
|
1679
|
-
export type StreamRunAgentDataAgentsResponseRole = ClosedEnum<typeof StreamRunAgentDataAgentsResponseRole>;
|
|
1680
|
-
export type StreamRunAgentDataAgentsResponseParts = (components.ToolCallPart & {
|
|
1681
|
-
kind: "tool_call";
|
|
1682
|
-
}) | (components.TextPart & {
|
|
1683
|
-
kind: "text";
|
|
1684
|
-
}) | (components.DataPart & {
|
|
1685
|
-
kind: "data";
|
|
1686
|
-
}) | (components.FilePart & {
|
|
1687
|
-
kind: "file";
|
|
1688
|
-
}) | (components.ToolResultPart & {
|
|
1689
|
-
kind: "tool_result";
|
|
1690
|
-
});
|
|
1691
|
-
export type DataMessage = {
|
|
1692
|
-
messageId?: string | undefined;
|
|
1693
|
-
role: StreamRunAgentDataAgentsResponseRole;
|
|
1694
|
-
parts: Array<(components.ToolCallPart & {
|
|
1695
|
-
kind: "tool_call";
|
|
1696
|
-
}) | (components.TextPart & {
|
|
1697
|
-
kind: "text";
|
|
1698
|
-
}) | (components.DataPart & {
|
|
1699
|
-
kind: "data";
|
|
1700
|
-
}) | (components.FilePart & {
|
|
1701
|
-
kind: "file";
|
|
1702
|
-
}) | (components.ToolResultPart & {
|
|
1703
|
-
kind: "tool_result";
|
|
1704
|
-
})>;
|
|
1705
|
-
metadata?: {
|
|
1706
|
-
[k: string]: any;
|
|
1707
|
-
} | undefined;
|
|
1708
|
-
};
|
|
1709
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data = {
|
|
1710
|
-
workflowRunId: string;
|
|
1711
|
-
spanId: string;
|
|
1712
|
-
parentId: string;
|
|
1713
|
-
message: Array<DataMessage>;
|
|
1714
|
-
};
|
|
1715
|
-
export type Twelve = {
|
|
1716
|
-
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Type;
|
|
1717
|
-
/**
|
|
1718
|
-
* ISO timestamp of the event
|
|
1719
|
-
*/
|
|
1720
|
-
timestamp: string;
|
|
1721
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data;
|
|
1722
|
-
};
|
|
1723
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Type: {
|
|
1724
|
-
readonly EventAgentsHandedOff: "event.agents.handed_off";
|
|
1725
|
-
};
|
|
1726
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Type>;
|
|
1727
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data = {
|
|
1728
|
-
agentId: string;
|
|
1729
|
-
input: string;
|
|
1730
|
-
};
|
|
1731
|
-
export type Eleven = {
|
|
1732
|
-
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Type;
|
|
1733
|
-
/**
|
|
1734
|
-
* ISO timestamp of the event
|
|
1735
|
-
*/
|
|
1736
|
-
timestamp: string;
|
|
1737
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data;
|
|
1738
|
-
};
|
|
1739
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Type: {
|
|
1740
|
-
readonly EventAgentsExecutionNamed: "event.agents.execution_named";
|
|
1741
|
-
};
|
|
1742
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Type>;
|
|
1743
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data = {
|
|
1744
|
-
name: string;
|
|
1745
|
-
agentManifestId: string;
|
|
1746
|
-
};
|
|
1747
|
-
export type Ten = {
|
|
1748
|
-
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Type;
|
|
1749
|
-
/**
|
|
1750
|
-
* ISO timestamp of the event
|
|
1751
|
-
*/
|
|
1752
|
-
timestamp: string;
|
|
1753
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data;
|
|
1754
|
-
};
|
|
1755
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type: {
|
|
1756
|
-
readonly EventAgentsExecutionReviewed: "event.agents.execution_reviewed";
|
|
1757
|
-
};
|
|
1758
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type>;
|
|
1759
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data = {};
|
|
1760
|
-
export type Nine = {
|
|
1761
|
-
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type;
|
|
1762
|
-
/**
|
|
1763
|
-
* ISO timestamp of the event
|
|
1764
|
-
*/
|
|
1765
|
-
timestamp: string;
|
|
1766
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data;
|
|
1767
|
-
};
|
|
1768
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Type: {
|
|
1769
|
-
readonly EventAgentsExecutionReviewRequired: "event.agents.execution_review_required";
|
|
1770
|
-
};
|
|
1771
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Type>;
|
|
1772
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data = {};
|
|
1773
|
-
export type Eight = {
|
|
1774
|
-
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Type;
|
|
1775
|
-
/**
|
|
1776
|
-
* ISO timestamp of the event
|
|
1777
|
-
*/
|
|
1778
|
-
timestamp: string;
|
|
1779
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data;
|
|
1780
|
-
};
|
|
1781
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type: {
|
|
1782
|
-
readonly EventAgentsActionReviewed: "event.agents.action_reviewed";
|
|
1783
|
-
};
|
|
1784
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type>;
|
|
1785
|
-
export declare const Review: {
|
|
1786
|
-
readonly Approved: "approved";
|
|
1787
|
-
readonly Rejected: "rejected";
|
|
1788
|
-
};
|
|
1789
|
-
export type Review = ClosedEnum<typeof Review>;
|
|
1790
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData = {
|
|
1791
|
-
agentId: string;
|
|
1792
|
-
actionId: string;
|
|
1793
|
-
agentToolCallId: string;
|
|
1794
|
-
review: Review;
|
|
1795
|
-
mockOutput?: {
|
|
1796
|
-
[k: string]: any;
|
|
1797
|
-
} | undefined;
|
|
1798
|
-
reviewSource?: string | undefined;
|
|
1799
|
-
reviewedById?: string | undefined;
|
|
1800
|
-
workflowRunId: string;
|
|
1801
|
-
};
|
|
1802
|
-
export type Seven = {
|
|
1803
|
-
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type;
|
|
1804
|
-
/**
|
|
1805
|
-
* ISO timestamp of the event
|
|
1806
|
-
*/
|
|
1807
|
-
timestamp: string;
|
|
1808
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyData;
|
|
1809
|
-
};
|
|
1810
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyType: {
|
|
1811
|
-
readonly EventAgentsActionReviewRequested: "event.agents.action_review_requested";
|
|
1812
|
-
};
|
|
1813
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyType = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyType>;
|
|
1814
|
-
export type DataConditions = {
|
|
1815
|
-
/**
|
|
1816
|
-
* The argument of the tool call to evaluate
|
|
1817
|
-
*/
|
|
1818
|
-
condition: string;
|
|
1819
|
-
/**
|
|
1820
|
-
* The operator to use
|
|
1821
|
-
*/
|
|
1822
|
-
operator: string;
|
|
1823
|
-
/**
|
|
1824
|
-
* The value to compare against
|
|
1825
|
-
*/
|
|
1826
|
-
value: string;
|
|
1827
|
-
};
|
|
1828
|
-
export type Tool = {
|
|
1829
|
-
/**
|
|
1830
|
-
* The id of the resource
|
|
1831
|
-
*/
|
|
1832
|
-
id: string;
|
|
1833
|
-
/**
|
|
1834
|
-
* Optional tool key for custom tools
|
|
1835
|
-
*/
|
|
1836
|
-
key?: string | undefined;
|
|
1837
|
-
actionType: string;
|
|
1838
|
-
displayName?: string | undefined;
|
|
1839
|
-
/**
|
|
1840
|
-
* Optional tool description
|
|
1841
|
-
*/
|
|
1842
|
-
description?: string | undefined;
|
|
1843
|
-
requiresApproval?: boolean | undefined;
|
|
1844
|
-
/**
|
|
1845
|
-
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
1846
|
-
*/
|
|
1847
|
-
toolId?: string | undefined;
|
|
1848
|
-
conditions?: Array<DataConditions> | undefined;
|
|
1849
|
-
/**
|
|
1850
|
-
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
1851
|
-
*/
|
|
1852
|
-
timeout?: number | undefined;
|
|
1853
|
-
};
|
|
1854
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamData = {
|
|
1855
|
-
agentId: string;
|
|
1856
|
-
actionId: string;
|
|
1857
|
-
requiresApproval: boolean;
|
|
1858
|
-
tool: Tool;
|
|
1859
|
-
input: {
|
|
1860
|
-
[k: string]: any;
|
|
1861
|
-
};
|
|
1862
|
-
agentToolCallId: string;
|
|
1863
|
-
responseId?: string | undefined;
|
|
1864
|
-
};
|
|
1865
|
-
export type StreamRunAgentData6 = {
|
|
1866
|
-
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBodyType;
|
|
1867
|
-
/**
|
|
1868
|
-
* ISO timestamp of the event
|
|
1869
|
-
*/
|
|
1870
|
-
timestamp: string;
|
|
1871
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamData;
|
|
1872
|
-
};
|
|
1873
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamType: {
|
|
1874
|
-
readonly EventAgentsErrored: "event.agents.errored";
|
|
1875
|
-
};
|
|
1876
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamType = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamType>;
|
|
1877
|
-
export type StreamRunAgentDataAgentsResponse200Data = {
|
|
1878
|
-
error: string;
|
|
1879
|
-
code: number;
|
|
1880
|
-
/**
|
|
1881
|
-
* ID of the response tracking this execution
|
|
1882
|
-
*/
|
|
1883
|
-
responseId?: string | undefined;
|
|
1884
|
-
workflowRunId: string;
|
|
1885
|
-
};
|
|
1886
|
-
export type StreamRunAgentData5 = {
|
|
1887
|
-
type: StreamRunAgentDataAgentsResponse200TextEventStreamType;
|
|
1888
|
-
/**
|
|
1889
|
-
* ISO timestamp of the event
|
|
1890
|
-
*/
|
|
1891
|
-
timestamp: string;
|
|
1892
|
-
data: StreamRunAgentDataAgentsResponse200Data;
|
|
1893
|
-
};
|
|
1894
|
-
export declare const StreamRunAgentDataAgentsResponse200Type: {
|
|
1895
|
-
readonly EventAgentsInactive: "event.agents.inactive";
|
|
1896
|
-
};
|
|
1897
|
-
export type StreamRunAgentDataAgentsResponse200Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200Type>;
|
|
1898
|
-
/**
|
|
1899
|
-
* Extended A2A message role
|
|
1900
|
-
*/
|
|
1901
|
-
export declare const StreamRunAgentDataAgentsRole: {
|
|
1902
|
-
readonly User: "user";
|
|
1903
|
-
readonly Agent: "agent";
|
|
1904
|
-
readonly Tool: "tool";
|
|
1905
|
-
readonly System: "system";
|
|
1906
|
-
};
|
|
1907
|
-
/**
|
|
1908
|
-
* Extended A2A message role
|
|
1909
|
-
*/
|
|
1910
|
-
export type StreamRunAgentDataAgentsRole = ClosedEnum<typeof StreamRunAgentDataAgentsRole>;
|
|
1911
|
-
export type StreamRunAgentDataAgentsParts = (components.ToolCallPart & {
|
|
1912
|
-
kind: "tool_call";
|
|
1913
|
-
}) | (components.TextPart & {
|
|
1914
|
-
kind: "text";
|
|
1915
|
-
}) | (components.DataPart & {
|
|
1916
|
-
kind: "data";
|
|
1917
|
-
}) | (components.FilePart & {
|
|
1918
|
-
kind: "file";
|
|
1919
|
-
}) | (components.ToolResultPart & {
|
|
1920
|
-
kind: "tool_result";
|
|
1921
|
-
});
|
|
1922
|
-
/**
|
|
1923
|
-
* Full last message in A2A format (for backwards compatibility)
|
|
1924
|
-
*/
|
|
1925
|
-
export type LastMessageFull = {
|
|
1926
|
-
messageId?: string | undefined;
|
|
1927
|
-
/**
|
|
1928
|
-
* Extended A2A message role
|
|
1929
|
-
*/
|
|
1930
|
-
role: StreamRunAgentDataAgentsRole;
|
|
1931
|
-
parts: Array<(components.ToolCallPart & {
|
|
1932
|
-
kind: "tool_call";
|
|
1933
|
-
}) | (components.TextPart & {
|
|
1934
|
-
kind: "text";
|
|
1935
|
-
}) | (components.DataPart & {
|
|
1936
|
-
kind: "data";
|
|
1937
|
-
}) | (components.FilePart & {
|
|
1938
|
-
kind: "file";
|
|
1939
|
-
}) | (components.ToolResultPart & {
|
|
1940
|
-
kind: "tool_result";
|
|
1941
|
-
})>;
|
|
1942
|
-
metadata?: {
|
|
1943
|
-
[k: string]: any;
|
|
1944
|
-
} | undefined;
|
|
1945
|
-
};
|
|
1946
|
-
/**
|
|
1947
|
-
* The reason why the agent execution became inactive
|
|
1948
|
-
*/
|
|
1949
|
-
export declare const FinishReason: {
|
|
1950
|
-
readonly Stop: "stop";
|
|
1951
|
-
readonly Length: "length";
|
|
1952
|
-
readonly ToolCalls: "tool_calls";
|
|
1953
|
-
readonly ContentFilter: "content_filter";
|
|
1954
|
-
readonly FunctionCall: "function_call";
|
|
1955
|
-
readonly MaxIterations: "max_iterations";
|
|
1956
|
-
readonly MaxTime: "max_time";
|
|
1957
|
-
};
|
|
1958
|
-
/**
|
|
1959
|
-
* The reason why the agent execution became inactive
|
|
1960
|
-
*/
|
|
1961
|
-
export type FinishReason = ClosedEnum<typeof FinishReason>;
|
|
1962
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody4Type: {
|
|
1963
|
-
readonly Function: "function";
|
|
1964
|
-
};
|
|
1965
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody4Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody4Type>;
|
|
1966
|
-
export type StreamRunAgentDataFunction = {
|
|
1967
|
-
name?: string | undefined;
|
|
1968
|
-
arguments?: string | undefined;
|
|
1969
|
-
};
|
|
1970
|
-
export type PendingToolCalls = {
|
|
1971
|
-
id: string;
|
|
1972
|
-
type: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody4Type;
|
|
1973
|
-
function: StreamRunAgentDataFunction;
|
|
1974
|
-
};
|
|
1975
|
-
export type StreamRunAgentDataPromptTokensDetails = {
|
|
1976
|
-
cachedTokens?: number | null | undefined;
|
|
1977
|
-
/**
|
|
1978
|
-
* The number of audio input tokens consumed by the request.
|
|
1979
|
-
*/
|
|
1980
|
-
audioTokens?: number | null | undefined;
|
|
1981
|
-
};
|
|
1982
|
-
export type StreamRunAgentDataCompletionTokensDetails = {
|
|
1983
|
-
reasoningTokens?: number | null | undefined;
|
|
1984
|
-
acceptedPredictionTokens?: number | null | undefined;
|
|
1985
|
-
rejectedPredictionTokens?: number | null | undefined;
|
|
1986
|
-
/**
|
|
1987
|
-
* The number of audio output tokens produced by the response.
|
|
1988
|
-
*/
|
|
1989
|
-
audioTokens?: number | null | undefined;
|
|
1990
|
-
};
|
|
1991
|
-
/**
|
|
1992
|
-
* Token usage from the last agent message
|
|
1993
|
-
*/
|
|
1994
|
-
export type StreamRunAgentDataUsage = {
|
|
1995
|
-
/**
|
|
1996
|
-
* Number of tokens in the generated completion.
|
|
1997
|
-
*/
|
|
1998
|
-
completionTokens?: number | undefined;
|
|
1999
|
-
/**
|
|
2000
|
-
* Number of tokens in the prompt.
|
|
2001
|
-
*/
|
|
2002
|
-
promptTokens?: number | undefined;
|
|
2003
|
-
/**
|
|
2004
|
-
* Total number of tokens used in the request (prompt + completion).
|
|
2005
|
-
*/
|
|
2006
|
-
totalTokens?: number | undefined;
|
|
2007
|
-
promptTokensDetails?: StreamRunAgentDataPromptTokensDetails | null | undefined;
|
|
2008
|
-
completionTokensDetails?: StreamRunAgentDataCompletionTokensDetails | null | undefined;
|
|
2009
|
-
};
|
|
2010
|
-
export type StreamRunAgentDataAgentsResponseData = {
|
|
2011
|
-
lastMessage: string;
|
|
2012
|
-
/**
|
|
2013
|
-
* Full last message in A2A format (for backwards compatibility)
|
|
2014
|
-
*/
|
|
2015
|
-
lastMessageFull?: LastMessageFull | undefined;
|
|
2016
|
-
/**
|
|
2017
|
-
* The reason why the agent execution became inactive
|
|
2018
|
-
*/
|
|
2019
|
-
finishReason: FinishReason;
|
|
2020
|
-
/**
|
|
2021
|
-
* Tool calls that are pending user response (for function_call finish reason)
|
|
2022
|
-
*/
|
|
2023
|
-
pendingToolCalls?: Array<PendingToolCalls> | undefined;
|
|
2024
|
-
/**
|
|
2025
|
-
* Token usage from the last agent message
|
|
2026
|
-
*/
|
|
2027
|
-
usage?: StreamRunAgentDataUsage | undefined;
|
|
2028
|
-
workflowRunId: string;
|
|
2029
|
-
/**
|
|
2030
|
-
* ID of the response tracking this execution
|
|
2031
|
-
*/
|
|
2032
|
-
responseId?: string | undefined;
|
|
2033
|
-
};
|
|
2034
|
-
export type Data4 = {
|
|
2035
|
-
type: StreamRunAgentDataAgentsResponse200Type;
|
|
2036
|
-
/**
|
|
2037
|
-
* ISO timestamp of the event
|
|
2038
|
-
*/
|
|
2039
|
-
timestamp: string;
|
|
2040
|
-
data: StreamRunAgentDataAgentsResponseData;
|
|
2041
|
-
};
|
|
2042
|
-
export declare const StreamRunAgentDataAgentsResponseType: {
|
|
2043
|
-
readonly EventAgentsThought: "event.agents.thought";
|
|
2044
|
-
};
|
|
2045
|
-
export type StreamRunAgentDataAgentsResponseType = ClosedEnum<typeof StreamRunAgentDataAgentsResponseType>;
|
|
2046
|
-
export declare const StreamRunAgentDataRole: {
|
|
2047
|
-
readonly User: "user";
|
|
2048
|
-
readonly Agent: "agent";
|
|
2049
|
-
readonly Tool: "tool";
|
|
2050
|
-
readonly System: "system";
|
|
2051
|
-
};
|
|
2052
|
-
export type StreamRunAgentDataRole = ClosedEnum<typeof StreamRunAgentDataRole>;
|
|
2053
|
-
export type StreamRunAgentDataParts = (components.ToolCallPart & {
|
|
2054
|
-
kind: "tool_call";
|
|
2055
|
-
}) | (components.TextPart & {
|
|
2056
|
-
kind: "text";
|
|
2057
|
-
}) | (components.DataPart & {
|
|
2058
|
-
kind: "data";
|
|
2059
|
-
}) | (components.FilePart & {
|
|
2060
|
-
kind: "file";
|
|
2061
|
-
}) | (components.ToolResultPart & {
|
|
2062
|
-
kind: "tool_result";
|
|
2063
|
-
});
|
|
2064
|
-
export type MessageDifference = {
|
|
2065
|
-
messageId: string;
|
|
2066
|
-
role: StreamRunAgentDataRole;
|
|
2067
|
-
parts: Array<(components.ToolCallPart & {
|
|
2068
|
-
kind: "tool_call";
|
|
2069
|
-
}) | (components.TextPart & {
|
|
2070
|
-
kind: "text";
|
|
2071
|
-
}) | (components.DataPart & {
|
|
2072
|
-
kind: "data";
|
|
2073
|
-
}) | (components.FilePart & {
|
|
2074
|
-
kind: "file";
|
|
2075
|
-
}) | (components.ToolResultPart & {
|
|
2076
|
-
kind: "tool_result";
|
|
2077
|
-
})>;
|
|
2078
|
-
metadata?: {
|
|
2079
|
-
[k: string]: any;
|
|
2080
|
-
} | undefined;
|
|
2081
|
-
agentId: string;
|
|
2082
|
-
agentExecutionId: string;
|
|
2083
|
-
workspaceId: string;
|
|
2084
|
-
};
|
|
2085
|
-
/**
|
|
2086
|
-
* The reason the model stopped generating tokens.
|
|
2087
|
-
*/
|
|
2088
|
-
export declare const StreamRunAgentDataFinishReason: {
|
|
2089
|
-
readonly Stop: "stop";
|
|
2090
|
-
readonly Length: "length";
|
|
2091
|
-
readonly ToolCalls: "tool_calls";
|
|
2092
|
-
readonly ContentFilter: "content_filter";
|
|
2093
|
-
readonly FunctionCall: "function_call";
|
|
2094
|
-
};
|
|
2095
|
-
/**
|
|
2096
|
-
* The reason the model stopped generating tokens.
|
|
2097
|
-
*/
|
|
2098
|
-
export type StreamRunAgentDataFinishReason = ClosedEnum<typeof StreamRunAgentDataFinishReason>;
|
|
2099
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody3Type: {
|
|
2100
|
-
readonly Function: "function";
|
|
2101
|
-
};
|
|
2102
|
-
export type StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody3Type = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody3Type>;
|
|
2103
|
-
export type StreamRunAgentDataAgentsFunction = {
|
|
2104
|
-
/**
|
|
2105
|
-
* 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.
|
|
2106
|
-
*/
|
|
2107
|
-
name?: string | undefined;
|
|
2108
|
-
/**
|
|
2109
|
-
* The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
|
|
2110
|
-
*/
|
|
2111
|
-
arguments?: string | undefined;
|
|
2112
|
-
};
|
|
2113
|
-
export type DataToolCalls = {
|
|
2114
|
-
id?: string | undefined;
|
|
2115
|
-
type?: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody3Type | undefined;
|
|
2116
|
-
function?: StreamRunAgentDataAgentsFunction | undefined;
|
|
2117
|
-
};
|
|
2118
|
-
export declare const StreamRunAgentDataAgentsResponse200Role: {
|
|
2119
|
-
readonly Assistant: "assistant";
|
|
2120
|
-
};
|
|
2121
|
-
export type StreamRunAgentDataAgentsResponse200Role = ClosedEnum<typeof StreamRunAgentDataAgentsResponse200Role>;
|
|
2122
|
-
/**
|
|
2123
|
-
* If the audio output modality is requested, this object contains data about the audio response from the model.
|
|
2124
|
-
*/
|
|
2125
|
-
export type DataAudio = {
|
|
2126
|
-
id: string;
|
|
2127
|
-
expiresAt: number;
|
|
2128
|
-
data: string;
|
|
2129
|
-
transcript: string;
|
|
2130
|
-
};
|
|
2131
|
-
/**
|
|
2132
|
-
* A chat completion message generated by the model.
|
|
2133
|
-
*/
|
|
2134
|
-
export type StreamRunAgentDataMessage = {
|
|
2135
|
-
content?: string | null | undefined;
|
|
2136
|
-
refusal?: string | null | undefined;
|
|
2137
|
-
toolCalls?: Array<DataToolCalls> | undefined;
|
|
2138
|
-
role?: StreamRunAgentDataAgentsResponse200Role | undefined;
|
|
2139
|
-
/**
|
|
2140
|
-
* Internal thought process of the model
|
|
2141
|
-
*/
|
|
2142
|
-
reasoning?: string | null | undefined;
|
|
2143
|
-
/**
|
|
2144
|
-
* The signature holds a cryptographic token which verifies that the thinking block was generated by the model, and is verified when thinking is part of a multiturn conversation. This value should not be modified and should always be sent to the API when the reasoning is redacted. Currently only supported by `Anthropic`.
|
|
2145
|
-
*/
|
|
2146
|
-
reasoningSignature?: string | null | undefined;
|
|
2147
|
-
/**
|
|
2148
|
-
* Occasionally the model's internal reasoning will be flagged by the safety systems of the provider. When this occurs, the provider will encrypt the reasoning. These redacted reasoning is decrypted when passed back to the API, allowing the model to continue its response without losing context.
|
|
2149
|
-
*/
|
|
2150
|
-
redactedReasoning?: string | undefined;
|
|
2151
|
-
/**
|
|
2152
|
-
* If the audio output modality is requested, this object contains data about the audio response from the model.
|
|
2153
|
-
*/
|
|
2154
|
-
audio?: DataAudio | null | undefined;
|
|
2155
|
-
};
|
|
2156
|
-
export type TopLogprobs = {
|
|
2157
|
-
/**
|
|
2158
|
-
* The token.
|
|
2159
|
-
*/
|
|
2160
|
-
token: string;
|
|
2161
|
-
/**
|
|
2162
|
-
* The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value -9999.0 is used to signify that the token is very unlikely.
|
|
2163
|
-
*/
|
|
2164
|
-
logprob: number;
|
|
2165
|
-
/**
|
|
2166
|
-
* A list of integers representing the UTF-8 bytes representation of the token.
|
|
2167
|
-
*/
|
|
2168
|
-
bytes: Array<number> | null;
|
|
2169
|
-
};
|
|
2170
|
-
export type DataContent = {
|
|
2171
|
-
/**
|
|
2172
|
-
* The token.
|
|
2173
|
-
*/
|
|
2174
|
-
token: string;
|
|
2175
|
-
/**
|
|
2176
|
-
* The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value -9999.0 is used to signify that the token is very unlikely.
|
|
2177
|
-
*/
|
|
2178
|
-
logprob: number;
|
|
2179
|
-
/**
|
|
2180
|
-
* A list of integers representing the UTF-8 bytes representation of the token.
|
|
2181
|
-
*/
|
|
2182
|
-
bytes: Array<number> | null;
|
|
2183
|
-
/**
|
|
2184
|
-
* List of the most likely tokens and their log probability, at this token position.
|
|
2185
|
-
*/
|
|
2186
|
-
topLogprobs: Array<TopLogprobs>;
|
|
2187
|
-
};
|
|
2188
|
-
export type DataTopLogprobs = {
|
|
2189
|
-
/**
|
|
2190
|
-
* The token.
|
|
2191
|
-
*/
|
|
2192
|
-
token: string;
|
|
2193
|
-
/**
|
|
2194
|
-
* The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value -9999.0 is used to signify that the token is very unlikely.
|
|
2195
|
-
*/
|
|
2196
|
-
logprob: number;
|
|
2197
|
-
/**
|
|
2198
|
-
* A list of integers representing the UTF-8 bytes representation of the token.
|
|
2199
|
-
*/
|
|
2200
|
-
bytes: Array<number> | null;
|
|
2201
|
-
};
|
|
2202
|
-
export type Refusal = {
|
|
2203
|
-
/**
|
|
2204
|
-
* The token.
|
|
2205
|
-
*/
|
|
2206
|
-
token: string;
|
|
2207
|
-
/**
|
|
2208
|
-
* The log probability of this token, if it is within the top 20 most likely tokens. Otherwise, the value -9999.0 is used to signify that the token is very unlikely.
|
|
2209
|
-
*/
|
|
2210
|
-
logprob: number;
|
|
2211
|
-
/**
|
|
2212
|
-
* A list of integers representing the UTF-8 bytes representation of the token.
|
|
2213
|
-
*/
|
|
2214
|
-
bytes: Array<number> | null;
|
|
2215
|
-
/**
|
|
2216
|
-
* List of the most likely tokens and their log probability, at this token position.
|
|
2217
|
-
*/
|
|
2218
|
-
topLogprobs: Array<DataTopLogprobs>;
|
|
2219
|
-
};
|
|
2220
|
-
/**
|
|
2221
|
-
* Log probability information for the choice.
|
|
2222
|
-
*/
|
|
2223
|
-
export type Logprobs = {
|
|
2224
|
-
/**
|
|
2225
|
-
* A list of message content tokens with log probability information.
|
|
2226
|
-
*/
|
|
2227
|
-
content: Array<DataContent> | null;
|
|
2228
|
-
/**
|
|
2229
|
-
* A list of message refusal tokens with log probability information.
|
|
2230
|
-
*/
|
|
2231
|
-
refusal: Array<Refusal> | null;
|
|
2232
|
-
};
|
|
2233
|
-
export type Choice = {
|
|
2234
|
-
/**
|
|
2235
|
-
* The reason the model stopped generating tokens.
|
|
2236
|
-
*/
|
|
2237
|
-
finishReason: StreamRunAgentDataFinishReason | null;
|
|
2238
|
-
/**
|
|
2239
|
-
* The index of the choice in the list of choices.
|
|
2240
|
-
*/
|
|
2241
|
-
index?: number | undefined;
|
|
2242
|
-
/**
|
|
2243
|
-
* A chat completion message generated by the model.
|
|
2244
|
-
*/
|
|
2245
|
-
message: StreamRunAgentDataMessage;
|
|
2246
|
-
/**
|
|
2247
|
-
* Log probability information for the choice.
|
|
2248
|
-
*/
|
|
2249
|
-
logprobs?: Logprobs | null | undefined;
|
|
2250
|
-
};
|
|
2251
|
-
export type DataPromptTokensDetails = {
|
|
2252
|
-
cachedTokens?: number | null | undefined;
|
|
2253
|
-
/**
|
|
2254
|
-
* The number of audio input tokens consumed by the request.
|
|
2255
|
-
*/
|
|
2256
|
-
audioTokens?: number | null | undefined;
|
|
2257
|
-
};
|
|
2258
|
-
export type DataCompletionTokensDetails = {
|
|
2259
|
-
reasoningTokens?: number | null | undefined;
|
|
2260
|
-
acceptedPredictionTokens?: number | null | undefined;
|
|
2261
|
-
rejectedPredictionTokens?: number | null | undefined;
|
|
2262
|
-
/**
|
|
2263
|
-
* The number of audio output tokens produced by the response.
|
|
2264
|
-
*/
|
|
2265
|
-
audioTokens?: number | null | undefined;
|
|
2266
|
-
};
|
|
2267
|
-
/**
|
|
2268
|
-
* Usage statistics for the completion request.
|
|
2269
|
-
*/
|
|
2270
|
-
export type DataUsage = {
|
|
2271
|
-
/**
|
|
2272
|
-
* Number of tokens in the generated completion.
|
|
2273
|
-
*/
|
|
2274
|
-
completionTokens?: number | undefined;
|
|
2275
|
-
/**
|
|
2276
|
-
* Number of tokens in the prompt.
|
|
2277
|
-
*/
|
|
2278
|
-
promptTokens?: number | undefined;
|
|
2279
|
-
/**
|
|
2280
|
-
* Total number of tokens used in the request (prompt + completion).
|
|
2281
|
-
*/
|
|
2282
|
-
totalTokens?: number | undefined;
|
|
2283
|
-
promptTokensDetails?: DataPromptTokensDetails | null | undefined;
|
|
2284
|
-
completionTokensDetails?: DataCompletionTokensDetails | null | undefined;
|
|
2285
|
-
};
|
|
2286
|
-
export type StreamRunAgentDataAgentsData = {
|
|
2287
|
-
agentId: string;
|
|
2288
|
-
messageDifference: {
|
|
2289
|
-
[k: string]: MessageDifference;
|
|
2290
|
-
};
|
|
2291
|
-
choice?: Choice | undefined;
|
|
2292
|
-
choiceIndex?: number | undefined;
|
|
2293
|
-
iteration: number;
|
|
2294
|
-
accumulatedExecutionTime: number;
|
|
2295
|
-
responseId?: string | undefined;
|
|
2296
|
-
/**
|
|
2297
|
-
* Usage statistics for the completion request.
|
|
2298
|
-
*/
|
|
2299
|
-
usage?: DataUsage | undefined;
|
|
2300
|
-
};
|
|
2301
|
-
export type Data3 = {
|
|
2302
|
-
type: StreamRunAgentDataAgentsResponseType;
|
|
2303
|
-
/**
|
|
2304
|
-
* ISO timestamp of the event
|
|
2305
|
-
*/
|
|
2306
|
-
timestamp: string;
|
|
2307
|
-
data: StreamRunAgentDataAgentsData;
|
|
2308
|
-
};
|
|
2309
|
-
export declare const StreamRunAgentDataAgentsType: {
|
|
2310
|
-
readonly EventAgentsStarted: "event.agents.started";
|
|
2311
|
-
};
|
|
2312
|
-
export type StreamRunAgentDataAgentsType = ClosedEnum<typeof StreamRunAgentDataAgentsType>;
|
|
2313
|
-
/**
|
|
2314
|
-
* Extended A2A message role
|
|
2315
|
-
*/
|
|
2316
|
-
export declare const DataRole: {
|
|
2317
|
-
readonly User: "user";
|
|
2318
|
-
readonly Agent: "agent";
|
|
2319
|
-
readonly Tool: "tool";
|
|
2320
|
-
readonly System: "system";
|
|
2321
|
-
};
|
|
2322
|
-
/**
|
|
2323
|
-
* Extended A2A message role
|
|
2324
|
-
*/
|
|
2325
|
-
export type DataRole = ClosedEnum<typeof DataRole>;
|
|
2326
|
-
export type DataParts = (components.ToolCallPart & {
|
|
2327
|
-
kind: "tool_call";
|
|
2328
|
-
}) | (components.TextPart & {
|
|
2329
|
-
kind: "text";
|
|
2330
|
-
}) | (components.DataPart & {
|
|
2331
|
-
kind: "data";
|
|
2332
|
-
}) | (components.FilePart & {
|
|
2333
|
-
kind: "file";
|
|
2334
|
-
}) | (components.ToolResultPart & {
|
|
2335
|
-
kind: "tool_result";
|
|
2336
|
-
});
|
|
2337
|
-
export type InputMessage = {
|
|
2338
|
-
messageId?: string | undefined;
|
|
2339
|
-
/**
|
|
2340
|
-
* Extended A2A message role
|
|
2341
|
-
*/
|
|
2342
|
-
role: DataRole;
|
|
2343
|
-
parts: Array<(components.ToolCallPart & {
|
|
2344
|
-
kind: "tool_call";
|
|
2345
|
-
}) | (components.TextPart & {
|
|
2346
|
-
kind: "text";
|
|
2347
|
-
}) | (components.DataPart & {
|
|
2348
|
-
kind: "data";
|
|
2349
|
-
}) | (components.FilePart & {
|
|
2350
|
-
kind: "file";
|
|
2351
|
-
}) | (components.ToolResultPart & {
|
|
2352
|
-
kind: "tool_result";
|
|
2353
|
-
})>;
|
|
2354
|
-
metadata?: {
|
|
2355
|
-
[k: string]: any;
|
|
2356
|
-
} | undefined;
|
|
2357
|
-
};
|
|
2358
|
-
/**
|
|
2359
|
-
* 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.
|
|
2360
|
-
*/
|
|
2361
|
-
export declare const DataToolApprovalRequired: {
|
|
2362
|
-
readonly All: "all";
|
|
2363
|
-
readonly RespectTool: "respect_tool";
|
|
2364
|
-
readonly None: "none";
|
|
2365
|
-
};
|
|
2366
|
-
/**
|
|
2367
|
-
* 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.
|
|
2368
|
-
*/
|
|
2369
|
-
export type DataToolApprovalRequired = ClosedEnum<typeof DataToolApprovalRequired>;
|
|
2370
|
-
export type StreamRunAgentDataConditions = {
|
|
2371
|
-
/**
|
|
2372
|
-
* The argument of the tool call to evaluate
|
|
2373
|
-
*/
|
|
2374
|
-
condition: string;
|
|
2375
|
-
/**
|
|
2376
|
-
* The operator to use
|
|
2377
|
-
*/
|
|
2378
|
-
operator: string;
|
|
2379
|
-
/**
|
|
2380
|
-
* The value to compare against
|
|
2381
|
-
*/
|
|
2382
|
-
value: string;
|
|
2383
|
-
};
|
|
2384
|
-
export type StreamRunAgentDataTools = {
|
|
2385
|
-
/**
|
|
2386
|
-
* The id of the resource
|
|
2387
|
-
*/
|
|
2388
|
-
id: string;
|
|
2389
|
-
/**
|
|
2390
|
-
* Optional tool key for custom tools
|
|
2391
|
-
*/
|
|
2392
|
-
key?: string | undefined;
|
|
2393
|
-
actionType: string;
|
|
2394
|
-
displayName?: string | undefined;
|
|
2395
|
-
/**
|
|
2396
|
-
* Optional tool description
|
|
2397
|
-
*/
|
|
2398
|
-
description?: string | undefined;
|
|
2399
|
-
requiresApproval?: boolean | undefined;
|
|
2400
|
-
/**
|
|
2401
|
-
* Nested tool ID for MCP tools (identifies specific tool within MCP server)
|
|
2402
|
-
*/
|
|
2403
|
-
toolId?: string | undefined;
|
|
2404
|
-
conditions?: Array<StreamRunAgentDataConditions> | undefined;
|
|
2405
|
-
/**
|
|
2406
|
-
* Tool execution timeout in seconds (default: 2 minutes, max: 10 minutes)
|
|
2407
|
-
*/
|
|
2408
|
-
timeout?: number | undefined;
|
|
2409
|
-
};
|
|
2410
|
-
/**
|
|
2411
|
-
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
2412
|
-
*/
|
|
2413
|
-
export declare const DataExecuteOn: {
|
|
2414
|
-
readonly Input: "input";
|
|
2415
|
-
readonly Output: "output";
|
|
2416
|
-
};
|
|
2417
|
-
/**
|
|
2418
|
-
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
2419
|
-
*/
|
|
2420
|
-
export type DataExecuteOn = ClosedEnum<typeof DataExecuteOn>;
|
|
2421
|
-
export type DataEvaluators = {
|
|
2422
|
-
/**
|
|
2423
|
-
* Unique key or identifier of the evaluator
|
|
2424
|
-
*/
|
|
2425
|
-
id: string;
|
|
2426
|
-
/**
|
|
2427
|
-
* The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
|
|
2428
|
-
*/
|
|
2429
|
-
sampleRate?: number | undefined;
|
|
2430
|
-
/**
|
|
2431
|
-
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
2432
|
-
*/
|
|
2433
|
-
executeOn: DataExecuteOn;
|
|
2434
|
-
};
|
|
2435
|
-
/**
|
|
2436
|
-
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
2437
|
-
*/
|
|
2438
|
-
export declare const StreamRunAgentDataExecuteOn: {
|
|
2439
|
-
readonly Input: "input";
|
|
2440
|
-
readonly Output: "output";
|
|
2441
|
-
};
|
|
2442
|
-
/**
|
|
2443
|
-
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
2444
|
-
*/
|
|
2445
|
-
export type StreamRunAgentDataExecuteOn = ClosedEnum<typeof StreamRunAgentDataExecuteOn>;
|
|
2446
|
-
export type DataGuardrails = {
|
|
2447
|
-
/**
|
|
2448
|
-
* Unique key or identifier of the evaluator
|
|
2449
|
-
*/
|
|
2450
|
-
id: string;
|
|
2451
|
-
/**
|
|
2452
|
-
* The percentage of executions to evaluate with this evaluator (1-100). For example, a value of 50 means the evaluator will run on approximately half of the executions.
|
|
2453
|
-
*/
|
|
2454
|
-
sampleRate?: number | undefined;
|
|
2455
|
-
/**
|
|
2456
|
-
* Determines whether the evaluator runs on the agent input (user message) or output (agent response).
|
|
2457
|
-
*/
|
|
2458
|
-
executeOn: StreamRunAgentDataExecuteOn;
|
|
2459
|
-
};
|
|
2460
|
-
export type DataSettings = {
|
|
2461
|
-
/**
|
|
2462
|
-
* Maximum iterations(llm calls) before the agent will stop executing.
|
|
2463
|
-
*/
|
|
2464
|
-
maxIterations?: number | undefined;
|
|
2465
|
-
/**
|
|
2466
|
-
* Maximum time (in seconds) for the agent thinking process. This does not include the time for tool calls and sub agent calls. It will be loosely enforced, the in progress LLM calls will not be terminated and the last assistant message will be returned.
|
|
2467
|
-
*/
|
|
2468
|
-
maxExecutionTime?: number | undefined;
|
|
2469
|
-
/**
|
|
2470
|
-
* 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.
|
|
2471
|
-
*/
|
|
2472
|
-
toolApprovalRequired?: DataToolApprovalRequired | undefined;
|
|
2473
|
-
tools?: Array<StreamRunAgentDataTools> | undefined;
|
|
2474
|
-
/**
|
|
2475
|
-
* Configuration for an evaluator applied to the agent
|
|
2476
|
-
*/
|
|
2477
|
-
evaluators?: Array<DataEvaluators> | undefined;
|
|
2478
|
-
/**
|
|
2479
|
-
* Configuration for a guardrail applied to the agent
|
|
2480
|
-
*/
|
|
2481
|
-
guardrails?: Array<DataGuardrails> | undefined;
|
|
2482
|
-
};
|
|
2483
|
-
export type StreamRunAgentDataData = {
|
|
2484
|
-
workflowRunId: string;
|
|
2485
|
-
integrationId?: string | undefined;
|
|
2486
|
-
inputMessage: InputMessage;
|
|
2487
|
-
modelId: string;
|
|
2488
|
-
instructions: string;
|
|
2489
|
-
systemPrompt: string;
|
|
2490
|
-
settings?: DataSettings | undefined;
|
|
2491
|
-
agentManifestId: string;
|
|
2492
|
-
agentKey: string;
|
|
2493
|
-
variables?: {
|
|
2494
|
-
[k: string]: any;
|
|
2495
|
-
} | undefined;
|
|
2496
|
-
toolExecutionId?: string | undefined;
|
|
2497
|
-
isContinuation?: boolean | undefined;
|
|
2498
|
-
stream?: boolean | undefined;
|
|
2499
|
-
responseId?: string | undefined;
|
|
2500
|
-
};
|
|
2501
|
-
export type Data2 = {
|
|
2502
|
-
type: StreamRunAgentDataAgentsType;
|
|
2503
|
-
/**
|
|
2504
|
-
* ISO timestamp of the event
|
|
2505
|
-
*/
|
|
2506
|
-
timestamp: string;
|
|
2507
|
-
data: StreamRunAgentDataData;
|
|
2508
|
-
};
|
|
2509
|
-
export declare const StreamRunAgentDataType: {
|
|
2510
|
-
readonly AgentsExecutionStarted: "agents.execution_started";
|
|
2511
|
-
};
|
|
2512
|
-
export type StreamRunAgentDataType = ClosedEnum<typeof StreamRunAgentDataType>;
|
|
2513
|
-
export type DataData = {
|
|
2514
|
-
/**
|
|
2515
|
-
* Agent execution task ID (ULID)
|
|
2516
|
-
*/
|
|
2517
|
-
agentTaskId: string;
|
|
2518
|
-
/**
|
|
2519
|
-
* Workspace ID
|
|
2520
|
-
*/
|
|
2521
|
-
workspaceId: string;
|
|
2522
|
-
/**
|
|
2523
|
-
* Trace ID for the workflow run
|
|
2524
|
-
*/
|
|
2525
|
-
traceId: string;
|
|
2526
|
-
};
|
|
2527
|
-
export type Data1 = {
|
|
2528
|
-
type: StreamRunAgentDataType;
|
|
2529
|
-
/**
|
|
2530
|
-
* ISO timestamp of the event
|
|
2531
|
-
*/
|
|
2532
|
-
timestamp: string;
|
|
2533
|
-
data: DataData;
|
|
2534
|
-
};
|
|
2535
|
-
export type StreamRunAgentData = Data1 | Data2 | Data3 | Data4 | StreamRunAgentData5 | StreamRunAgentData6 | Seven | Eight | Nine | Ten | Eleven | Twelve | Thirteen | Fourteen | Fifteen | Sixteen | Seventeen;
|
|
2536
|
-
/**
|
|
2537
|
-
* Server-Sent Event stream successfully established. Delivers real-time agent execution events including message fragments, tool invocations, intermediate results, and completion status. Stream terminates with [DONE] sentinel upon completion.
|
|
2538
|
-
*/
|
|
2539
|
-
export type StreamRunAgentResponseBody = {
|
|
2540
|
-
data: Data1 | Data2 | Data3 | Data4 | StreamRunAgentData5 | StreamRunAgentData6 | Seven | Eight | Nine | Ten | Eleven | Twelve | Thirteen | Fourteen | Fifteen | Sixteen | Seventeen;
|
|
2541
|
-
};
|
|
2542
|
-
/** @internal */
|
|
2543
|
-
export declare const StreamRunAgentModelConfigurationVoice$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationVoice>;
|
|
2544
|
-
/** @internal */
|
|
2545
|
-
export declare const StreamRunAgentModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationVoice>;
|
|
2546
|
-
/** @internal */
|
|
2547
|
-
export declare const StreamRunAgentModelConfigurationFormat$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationFormat>;
|
|
2548
|
-
/** @internal */
|
|
2549
|
-
export declare const StreamRunAgentModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationFormat>;
|
|
2550
|
-
/** @internal */
|
|
2551
|
-
export declare const StreamRunAgentModelConfigurationAudio$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationAudio, z.ZodTypeDef, unknown>;
|
|
2552
|
-
/** @internal */
|
|
2553
|
-
export type StreamRunAgentModelConfigurationAudio$Outbound = {
|
|
2554
|
-
voice: string;
|
|
2555
|
-
format: string;
|
|
2556
|
-
};
|
|
2557
|
-
/** @internal */
|
|
2558
|
-
export declare const StreamRunAgentModelConfigurationAudio$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationAudio$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationAudio>;
|
|
2559
|
-
export declare function streamRunAgentModelConfigurationAudioToJSON(streamRunAgentModelConfigurationAudio: StreamRunAgentModelConfigurationAudio): string;
|
|
2560
|
-
export declare function streamRunAgentModelConfigurationAudioFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationAudio, SDKValidationError>;
|
|
2561
|
-
/** @internal */
|
|
2562
|
-
export declare const StreamRunAgentResponseFormatAgentsRequestType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestType>;
|
|
2563
|
-
/** @internal */
|
|
2564
|
-
export declare const StreamRunAgentResponseFormatAgentsRequestType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestType>;
|
|
2565
|
-
/** @internal */
|
|
2566
|
-
export declare const StreamRunAgentResponseFormatAgentsJsonSchema$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsJsonSchema, z.ZodTypeDef, unknown>;
|
|
2567
|
-
/** @internal */
|
|
2568
|
-
export type StreamRunAgentResponseFormatAgentsJsonSchema$Outbound = {
|
|
2569
|
-
description?: string | undefined;
|
|
2570
|
-
name: string;
|
|
2571
|
-
schema?: any | undefined;
|
|
2572
|
-
strict: boolean;
|
|
2573
|
-
};
|
|
2574
|
-
/** @internal */
|
|
2575
|
-
export declare const StreamRunAgentResponseFormatAgentsJsonSchema$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsJsonSchema$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsJsonSchema>;
|
|
2576
|
-
export declare function streamRunAgentResponseFormatAgentsJsonSchemaToJSON(streamRunAgentResponseFormatAgentsJsonSchema: StreamRunAgentResponseFormatAgentsJsonSchema): string;
|
|
2577
|
-
export declare function streamRunAgentResponseFormatAgentsJsonSchemaFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsJsonSchema, SDKValidationError>;
|
|
2578
|
-
/** @internal */
|
|
2579
|
-
export declare const StreamRunAgentResponseFormatJSONSchema$inboundSchema: z.ZodType<StreamRunAgentResponseFormatJSONSchema, z.ZodTypeDef, unknown>;
|
|
2580
|
-
/** @internal */
|
|
2581
|
-
export type StreamRunAgentResponseFormatJSONSchema$Outbound = {
|
|
2582
|
-
type: string;
|
|
2583
|
-
json_schema: StreamRunAgentResponseFormatAgentsJsonSchema$Outbound;
|
|
2584
|
-
};
|
|
2585
|
-
/** @internal */
|
|
2586
|
-
export declare const StreamRunAgentResponseFormatJSONSchema$outboundSchema: z.ZodType<StreamRunAgentResponseFormatJSONSchema$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatJSONSchema>;
|
|
2587
|
-
export declare function streamRunAgentResponseFormatJSONSchemaToJSON(streamRunAgentResponseFormatJSONSchema: StreamRunAgentResponseFormatJSONSchema): string;
|
|
2588
|
-
export declare function streamRunAgentResponseFormatJSONSchemaFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatJSONSchema, SDKValidationError>;
|
|
2589
|
-
/** @internal */
|
|
2590
|
-
export declare const StreamRunAgentResponseFormatAgentsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsType>;
|
|
2591
|
-
/** @internal */
|
|
2592
|
-
export declare const StreamRunAgentResponseFormatAgentsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsType>;
|
|
2593
|
-
/** @internal */
|
|
2594
|
-
export declare const StreamRunAgentResponseFormatJSONObject$inboundSchema: z.ZodType<StreamRunAgentResponseFormatJSONObject, z.ZodTypeDef, unknown>;
|
|
2595
|
-
/** @internal */
|
|
2596
|
-
export type StreamRunAgentResponseFormatJSONObject$Outbound = {
|
|
2597
|
-
type: string;
|
|
2598
|
-
};
|
|
2599
|
-
/** @internal */
|
|
2600
|
-
export declare const StreamRunAgentResponseFormatJSONObject$outboundSchema: z.ZodType<StreamRunAgentResponseFormatJSONObject$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatJSONObject>;
|
|
2601
|
-
export declare function streamRunAgentResponseFormatJSONObjectToJSON(streamRunAgentResponseFormatJSONObject: StreamRunAgentResponseFormatJSONObject): string;
|
|
2602
|
-
export declare function streamRunAgentResponseFormatJSONObjectFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatJSONObject, SDKValidationError>;
|
|
2603
|
-
/** @internal */
|
|
2604
|
-
export declare const StreamRunAgentResponseFormatType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatType>;
|
|
2605
|
-
/** @internal */
|
|
2606
|
-
export declare const StreamRunAgentResponseFormatType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatType>;
|
|
2607
|
-
/** @internal */
|
|
2608
|
-
export declare const StreamRunAgentResponseFormatText$inboundSchema: z.ZodType<StreamRunAgentResponseFormatText, z.ZodTypeDef, unknown>;
|
|
2609
|
-
/** @internal */
|
|
2610
|
-
export type StreamRunAgentResponseFormatText$Outbound = {
|
|
2611
|
-
type: string;
|
|
2612
|
-
};
|
|
2613
|
-
/** @internal */
|
|
2614
|
-
export declare const StreamRunAgentResponseFormatText$outboundSchema: z.ZodType<StreamRunAgentResponseFormatText$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatText>;
|
|
2615
|
-
export declare function streamRunAgentResponseFormatTextToJSON(streamRunAgentResponseFormatText: StreamRunAgentResponseFormatText): string;
|
|
2616
|
-
export declare function streamRunAgentResponseFormatTextFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatText, SDKValidationError>;
|
|
2617
|
-
/** @internal */
|
|
2618
|
-
export declare const StreamRunAgentModelConfigurationResponseFormat$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationResponseFormat, z.ZodTypeDef, unknown>;
|
|
2619
|
-
/** @internal */
|
|
2620
|
-
export type StreamRunAgentModelConfigurationResponseFormat$Outbound = StreamRunAgentResponseFormatJSONSchema$Outbound | StreamRunAgentResponseFormatText$Outbound | StreamRunAgentResponseFormatJSONObject$Outbound;
|
|
2621
|
-
/** @internal */
|
|
2622
|
-
export declare const StreamRunAgentModelConfigurationResponseFormat$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationResponseFormat$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationResponseFormat>;
|
|
2623
|
-
export declare function streamRunAgentModelConfigurationResponseFormatToJSON(streamRunAgentModelConfigurationResponseFormat: StreamRunAgentModelConfigurationResponseFormat): string;
|
|
2624
|
-
export declare function streamRunAgentModelConfigurationResponseFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationResponseFormat, SDKValidationError>;
|
|
2625
|
-
/** @internal */
|
|
2626
|
-
export declare const StreamRunAgentModelConfigurationStop$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationStop, z.ZodTypeDef, unknown>;
|
|
2627
|
-
/** @internal */
|
|
2628
|
-
export type StreamRunAgentModelConfigurationStop$Outbound = string | Array<string>;
|
|
2629
|
-
/** @internal */
|
|
2630
|
-
export declare const StreamRunAgentModelConfigurationStop$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationStop$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationStop>;
|
|
2631
|
-
export declare function streamRunAgentModelConfigurationStopToJSON(streamRunAgentModelConfigurationStop: StreamRunAgentModelConfigurationStop): string;
|
|
2632
|
-
export declare function streamRunAgentModelConfigurationStopFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationStop, SDKValidationError>;
|
|
2633
|
-
/** @internal */
|
|
2634
|
-
export declare const StreamRunAgentModelConfigurationStreamOptions$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationStreamOptions, z.ZodTypeDef, unknown>;
|
|
2635
|
-
/** @internal */
|
|
2636
|
-
export type StreamRunAgentModelConfigurationStreamOptions$Outbound = {
|
|
2637
|
-
include_usage?: boolean | undefined;
|
|
2638
|
-
};
|
|
2639
|
-
/** @internal */
|
|
2640
|
-
export declare const StreamRunAgentModelConfigurationStreamOptions$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationStreamOptions>;
|
|
2641
|
-
export declare function streamRunAgentModelConfigurationStreamOptionsToJSON(streamRunAgentModelConfigurationStreamOptions: StreamRunAgentModelConfigurationStreamOptions): string;
|
|
2642
|
-
export declare function streamRunAgentModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationStreamOptions, SDKValidationError>;
|
|
2643
|
-
/** @internal */
|
|
2644
|
-
export declare const StreamRunAgentModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationType>;
|
|
2645
|
-
/** @internal */
|
|
2646
|
-
export declare const StreamRunAgentModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationType>;
|
|
2647
|
-
/** @internal */
|
|
2648
|
-
export declare const StreamRunAgentModelConfigurationThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationThinkingLevel>;
|
|
2649
|
-
/** @internal */
|
|
2650
|
-
export declare const StreamRunAgentModelConfigurationThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationThinkingLevel>;
|
|
2651
|
-
/** @internal */
|
|
2652
|
-
export declare const StreamRunAgentModelConfigurationThinking$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationThinking, z.ZodTypeDef, unknown>;
|
|
2653
|
-
/** @internal */
|
|
2654
|
-
export type StreamRunAgentModelConfigurationThinking$Outbound = {
|
|
2655
|
-
type: string;
|
|
2656
|
-
budget_tokens: number;
|
|
2657
|
-
thinking_level?: string | undefined;
|
|
2658
|
-
};
|
|
2659
|
-
/** @internal */
|
|
2660
|
-
export declare const StreamRunAgentModelConfigurationThinking$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationThinking$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationThinking>;
|
|
2661
|
-
export declare function streamRunAgentModelConfigurationThinkingToJSON(streamRunAgentModelConfigurationThinking: StreamRunAgentModelConfigurationThinking): string;
|
|
2662
|
-
export declare function streamRunAgentModelConfigurationThinkingFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationThinking, SDKValidationError>;
|
|
2663
|
-
/** @internal */
|
|
2664
|
-
export declare const StreamRunAgentToolChoiceType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceType>;
|
|
2665
|
-
/** @internal */
|
|
2666
|
-
export declare const StreamRunAgentToolChoiceType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceType>;
|
|
2667
|
-
/** @internal */
|
|
2668
|
-
export declare const StreamRunAgentToolChoiceFunction$inboundSchema: z.ZodType<StreamRunAgentToolChoiceFunction, z.ZodTypeDef, unknown>;
|
|
2669
|
-
/** @internal */
|
|
2670
|
-
export type StreamRunAgentToolChoiceFunction$Outbound = {
|
|
2671
|
-
name?: string | undefined;
|
|
2672
|
-
};
|
|
2673
|
-
/** @internal */
|
|
2674
|
-
export declare const StreamRunAgentToolChoiceFunction$outboundSchema: z.ZodType<StreamRunAgentToolChoiceFunction$Outbound, z.ZodTypeDef, StreamRunAgentToolChoiceFunction>;
|
|
2675
|
-
export declare function streamRunAgentToolChoiceFunctionToJSON(streamRunAgentToolChoiceFunction: StreamRunAgentToolChoiceFunction): string;
|
|
2676
|
-
export declare function streamRunAgentToolChoiceFunctionFromJSON(jsonString: string): SafeParseResult<StreamRunAgentToolChoiceFunction, SDKValidationError>;
|
|
2677
|
-
/** @internal */
|
|
2678
|
-
export declare const StreamRunAgentToolChoice2$inboundSchema: z.ZodType<StreamRunAgentToolChoice2, z.ZodTypeDef, unknown>;
|
|
2679
|
-
/** @internal */
|
|
2680
|
-
export type StreamRunAgentToolChoice2$Outbound = {
|
|
2681
|
-
type?: string | undefined;
|
|
2682
|
-
function: StreamRunAgentToolChoiceFunction$Outbound;
|
|
2683
|
-
};
|
|
2684
|
-
/** @internal */
|
|
2685
|
-
export declare const StreamRunAgentToolChoice2$outboundSchema: z.ZodType<StreamRunAgentToolChoice2$Outbound, z.ZodTypeDef, StreamRunAgentToolChoice2>;
|
|
2686
|
-
export declare function streamRunAgentToolChoice2ToJSON(streamRunAgentToolChoice2: StreamRunAgentToolChoice2): string;
|
|
2687
|
-
export declare function streamRunAgentToolChoice2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentToolChoice2, SDKValidationError>;
|
|
2688
|
-
/** @internal */
|
|
2689
|
-
export declare const StreamRunAgentToolChoice1$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoice1>;
|
|
2690
|
-
/** @internal */
|
|
2691
|
-
export declare const StreamRunAgentToolChoice1$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoice1>;
|
|
2692
|
-
/** @internal */
|
|
2693
|
-
export declare const StreamRunAgentModelConfigurationToolChoice$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationToolChoice, z.ZodTypeDef, unknown>;
|
|
2694
|
-
/** @internal */
|
|
2695
|
-
export type StreamRunAgentModelConfigurationToolChoice$Outbound = StreamRunAgentToolChoice2$Outbound | string;
|
|
2696
|
-
/** @internal */
|
|
2697
|
-
export declare const StreamRunAgentModelConfigurationToolChoice$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationToolChoice$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationToolChoice>;
|
|
2698
|
-
export declare function streamRunAgentModelConfigurationToolChoiceToJSON(streamRunAgentModelConfigurationToolChoice: StreamRunAgentModelConfigurationToolChoice): string;
|
|
2699
|
-
export declare function streamRunAgentModelConfigurationToolChoiceFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationToolChoice, SDKValidationError>;
|
|
2700
|
-
/** @internal */
|
|
2701
|
-
export declare const StreamRunAgentModelConfigurationModalities$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationModalities>;
|
|
2702
|
-
/** @internal */
|
|
2703
|
-
export declare const StreamRunAgentModelConfigurationModalities$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentModelConfigurationModalities>;
|
|
2704
|
-
/** @internal */
|
|
2705
|
-
export declare const StreamRunAgentModelConfigurationParameters$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationParameters, z.ZodTypeDef, unknown>;
|
|
2706
|
-
/** @internal */
|
|
2707
|
-
export type StreamRunAgentModelConfigurationParameters$Outbound = {
|
|
2708
|
-
audio?: StreamRunAgentModelConfigurationAudio$Outbound | null | undefined;
|
|
2709
|
-
frequency_penalty?: number | null | undefined;
|
|
2710
|
-
max_tokens?: number | null | undefined;
|
|
2711
|
-
max_completion_tokens?: number | null | undefined;
|
|
2712
|
-
logprobs?: boolean | null | undefined;
|
|
2713
|
-
top_logprobs?: number | null | undefined;
|
|
2714
|
-
n?: number | null | undefined;
|
|
2715
|
-
presence_penalty?: number | null | undefined;
|
|
2716
|
-
response_format?: StreamRunAgentResponseFormatJSONSchema$Outbound | StreamRunAgentResponseFormatText$Outbound | StreamRunAgentResponseFormatJSONObject$Outbound | undefined;
|
|
2717
|
-
reasoning_effort?: string | undefined;
|
|
2718
|
-
verbosity?: string | undefined;
|
|
2719
|
-
seed?: number | null | undefined;
|
|
2720
|
-
stop?: string | Array<string> | null | undefined;
|
|
2721
|
-
stream_options?: StreamRunAgentModelConfigurationStreamOptions$Outbound | null | undefined;
|
|
2722
|
-
thinking?: StreamRunAgentModelConfigurationThinking$Outbound | undefined;
|
|
2723
|
-
temperature?: number | null | undefined;
|
|
2724
|
-
top_p?: number | null | undefined;
|
|
2725
|
-
top_k?: number | null | undefined;
|
|
2726
|
-
tool_choice?: StreamRunAgentToolChoice2$Outbound | string | undefined;
|
|
2727
|
-
parallel_tool_calls?: boolean | undefined;
|
|
2728
|
-
modalities?: Array<string> | null | undefined;
|
|
2729
|
-
};
|
|
2730
|
-
/** @internal */
|
|
2731
|
-
export declare const StreamRunAgentModelConfigurationParameters$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationParameters$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationParameters>;
|
|
2732
|
-
export declare function streamRunAgentModelConfigurationParametersToJSON(streamRunAgentModelConfigurationParameters: StreamRunAgentModelConfigurationParameters): string;
|
|
2733
|
-
export declare function streamRunAgentModelConfigurationParametersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationParameters, SDKValidationError>;
|
|
2734
|
-
/** @internal */
|
|
2735
|
-
export declare const StreamRunAgentModelConfigurationRetry$inboundSchema: z.ZodType<StreamRunAgentModelConfigurationRetry, z.ZodTypeDef, unknown>;
|
|
2736
|
-
/** @internal */
|
|
2737
|
-
export type StreamRunAgentModelConfigurationRetry$Outbound = {
|
|
2738
|
-
count: number;
|
|
2739
|
-
on_codes?: Array<number> | undefined;
|
|
2740
|
-
};
|
|
2741
|
-
/** @internal */
|
|
2742
|
-
export declare const StreamRunAgentModelConfigurationRetry$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationRetry$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationRetry>;
|
|
2743
|
-
export declare function streamRunAgentModelConfigurationRetryToJSON(streamRunAgentModelConfigurationRetry: StreamRunAgentModelConfigurationRetry): string;
|
|
2744
|
-
export declare function streamRunAgentModelConfigurationRetryFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationRetry, SDKValidationError>;
|
|
2745
|
-
/** @internal */
|
|
2746
|
-
export declare const StreamRunAgentModelConfiguration2$inboundSchema: z.ZodType<StreamRunAgentModelConfiguration2, z.ZodTypeDef, unknown>;
|
|
2747
|
-
/** @internal */
|
|
2748
|
-
export type StreamRunAgentModelConfiguration2$Outbound = {
|
|
2749
|
-
id: string;
|
|
2750
|
-
parameters?: StreamRunAgentModelConfigurationParameters$Outbound | undefined;
|
|
2751
|
-
retry?: StreamRunAgentModelConfigurationRetry$Outbound | undefined;
|
|
2752
|
-
};
|
|
2753
|
-
/** @internal */
|
|
2754
|
-
export declare const StreamRunAgentModelConfiguration2$outboundSchema: z.ZodType<StreamRunAgentModelConfiguration2$Outbound, z.ZodTypeDef, StreamRunAgentModelConfiguration2>;
|
|
2755
|
-
export declare function streamRunAgentModelConfiguration2ToJSON(streamRunAgentModelConfiguration2: StreamRunAgentModelConfiguration2): string;
|
|
2756
|
-
export declare function streamRunAgentModelConfiguration2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfiguration2, SDKValidationError>;
|
|
2757
|
-
/** @internal */
|
|
2758
|
-
export declare const StreamRunAgentModelConfiguration$inboundSchema: z.ZodType<StreamRunAgentModelConfiguration, z.ZodTypeDef, unknown>;
|
|
2759
|
-
/** @internal */
|
|
2760
|
-
export type StreamRunAgentModelConfiguration$Outbound = StreamRunAgentModelConfiguration2$Outbound | string;
|
|
2761
|
-
/** @internal */
|
|
2762
|
-
export declare const StreamRunAgentModelConfiguration$outboundSchema: z.ZodType<StreamRunAgentModelConfiguration$Outbound, z.ZodTypeDef, StreamRunAgentModelConfiguration>;
|
|
2763
|
-
export declare function streamRunAgentModelConfigurationToJSON(streamRunAgentModelConfiguration: StreamRunAgentModelConfiguration): string;
|
|
2764
|
-
export declare function streamRunAgentModelConfigurationFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfiguration, SDKValidationError>;
|
|
2765
|
-
/** @internal */
|
|
2766
|
-
export declare const StreamRunAgentFallbackModelConfigurationVoice$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationVoice>;
|
|
2767
|
-
/** @internal */
|
|
2768
|
-
export declare const StreamRunAgentFallbackModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationVoice>;
|
|
2769
|
-
/** @internal */
|
|
2770
|
-
export declare const StreamRunAgentFallbackModelConfigurationFormat$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationFormat>;
|
|
2771
|
-
/** @internal */
|
|
2772
|
-
export declare const StreamRunAgentFallbackModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationFormat>;
|
|
2773
|
-
/** @internal */
|
|
2774
|
-
export declare const StreamRunAgentFallbackModelConfigurationAudio$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationAudio, z.ZodTypeDef, unknown>;
|
|
2775
|
-
/** @internal */
|
|
2776
|
-
export type StreamRunAgentFallbackModelConfigurationAudio$Outbound = {
|
|
2777
|
-
voice: string;
|
|
2778
|
-
format: string;
|
|
2779
|
-
};
|
|
2780
|
-
/** @internal */
|
|
2781
|
-
export declare const StreamRunAgentFallbackModelConfigurationAudio$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationAudio$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationAudio>;
|
|
2782
|
-
export declare function streamRunAgentFallbackModelConfigurationAudioToJSON(streamRunAgentFallbackModelConfigurationAudio: StreamRunAgentFallbackModelConfigurationAudio): string;
|
|
2783
|
-
export declare function streamRunAgentFallbackModelConfigurationAudioFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationAudio, SDKValidationError>;
|
|
2784
|
-
/** @internal */
|
|
2785
|
-
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsFallbackModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsFallbackModelConfigurationType>;
|
|
2786
|
-
/** @internal */
|
|
2787
|
-
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsFallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsFallbackModelConfigurationType>;
|
|
2788
|
-
/** @internal */
|
|
2789
|
-
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema, z.ZodTypeDef, unknown>;
|
|
2790
|
-
/** @internal */
|
|
2791
|
-
export type StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound = {
|
|
2792
|
-
description?: string | undefined;
|
|
2793
|
-
name: string;
|
|
2794
|
-
schema?: any | undefined;
|
|
2795
|
-
strict: boolean;
|
|
2796
|
-
};
|
|
2797
|
-
/** @internal */
|
|
2798
|
-
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema>;
|
|
2799
|
-
export declare function streamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchemaToJSON(streamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema: StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema): string;
|
|
2800
|
-
export declare function streamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchemaFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema, SDKValidationError>;
|
|
2801
|
-
/** @internal */
|
|
2802
|
-
export declare const StreamRunAgentResponseFormatAgentsRequestJSONSchema$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsRequestJSONSchema, z.ZodTypeDef, unknown>;
|
|
2803
|
-
/** @internal */
|
|
2804
|
-
export type StreamRunAgentResponseFormatAgentsRequestJSONSchema$Outbound = {
|
|
2805
|
-
type: string;
|
|
2806
|
-
json_schema: StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound;
|
|
2807
|
-
};
|
|
2808
|
-
/** @internal */
|
|
2809
|
-
export declare const StreamRunAgentResponseFormatAgentsRequestJSONSchema$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsRequestJSONSchema$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsRequestJSONSchema>;
|
|
2810
|
-
export declare function streamRunAgentResponseFormatAgentsRequestJSONSchemaToJSON(streamRunAgentResponseFormatAgentsRequestJSONSchema: StreamRunAgentResponseFormatAgentsRequestJSONSchema): string;
|
|
2811
|
-
export declare function streamRunAgentResponseFormatAgentsRequestJSONSchemaFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsRequestJSONSchema, SDKValidationError>;
|
|
2812
|
-
/** @internal */
|
|
2813
|
-
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsType>;
|
|
2814
|
-
/** @internal */
|
|
2815
|
-
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsType>;
|
|
2816
|
-
/** @internal */
|
|
2817
|
-
export declare const StreamRunAgentResponseFormatAgentsJSONObject$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsJSONObject, z.ZodTypeDef, unknown>;
|
|
2818
|
-
/** @internal */
|
|
2819
|
-
export type StreamRunAgentResponseFormatAgentsJSONObject$Outbound = {
|
|
2820
|
-
type: string;
|
|
2821
|
-
};
|
|
2822
|
-
/** @internal */
|
|
2823
|
-
export declare const StreamRunAgentResponseFormatAgentsJSONObject$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsJSONObject$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsJSONObject>;
|
|
2824
|
-
export declare function streamRunAgentResponseFormatAgentsJSONObjectToJSON(streamRunAgentResponseFormatAgentsJSONObject: StreamRunAgentResponseFormatAgentsJSONObject): string;
|
|
2825
|
-
export declare function streamRunAgentResponseFormatAgentsJSONObjectFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsJSONObject, SDKValidationError>;
|
|
2826
|
-
/** @internal */
|
|
2827
|
-
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyType>;
|
|
2828
|
-
/** @internal */
|
|
2829
|
-
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyType>;
|
|
2830
|
-
/** @internal */
|
|
2831
|
-
export declare const StreamRunAgentResponseFormatAgentsText$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsText, z.ZodTypeDef, unknown>;
|
|
2832
|
-
/** @internal */
|
|
2833
|
-
export type StreamRunAgentResponseFormatAgentsText$Outbound = {
|
|
2834
|
-
type: string;
|
|
2835
|
-
};
|
|
2836
|
-
/** @internal */
|
|
2837
|
-
export declare const StreamRunAgentResponseFormatAgentsText$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsText$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsText>;
|
|
2838
|
-
export declare function streamRunAgentResponseFormatAgentsTextToJSON(streamRunAgentResponseFormatAgentsText: StreamRunAgentResponseFormatAgentsText): string;
|
|
2839
|
-
export declare function streamRunAgentResponseFormatAgentsTextFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsText, SDKValidationError>;
|
|
2840
|
-
/** @internal */
|
|
2841
|
-
export declare const StreamRunAgentFallbackModelConfigurationResponseFormat$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationResponseFormat, z.ZodTypeDef, unknown>;
|
|
2842
|
-
/** @internal */
|
|
2843
|
-
export type StreamRunAgentFallbackModelConfigurationResponseFormat$Outbound = StreamRunAgentResponseFormatAgentsRequestJSONSchema$Outbound | StreamRunAgentResponseFormatAgentsText$Outbound | StreamRunAgentResponseFormatAgentsJSONObject$Outbound;
|
|
2844
|
-
/** @internal */
|
|
2845
|
-
export declare const StreamRunAgentFallbackModelConfigurationResponseFormat$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationResponseFormat$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationResponseFormat>;
|
|
2846
|
-
export declare function streamRunAgentFallbackModelConfigurationResponseFormatToJSON(streamRunAgentFallbackModelConfigurationResponseFormat: StreamRunAgentFallbackModelConfigurationResponseFormat): string;
|
|
2847
|
-
export declare function streamRunAgentFallbackModelConfigurationResponseFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationResponseFormat, SDKValidationError>;
|
|
2848
|
-
/** @internal */
|
|
2849
|
-
export declare const StreamRunAgentFallbackModelConfigurationStop$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationStop, z.ZodTypeDef, unknown>;
|
|
2850
|
-
/** @internal */
|
|
2851
|
-
export type StreamRunAgentFallbackModelConfigurationStop$Outbound = string | Array<string>;
|
|
2852
|
-
/** @internal */
|
|
2853
|
-
export declare const StreamRunAgentFallbackModelConfigurationStop$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationStop$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationStop>;
|
|
2854
|
-
export declare function streamRunAgentFallbackModelConfigurationStopToJSON(streamRunAgentFallbackModelConfigurationStop: StreamRunAgentFallbackModelConfigurationStop): string;
|
|
2855
|
-
export declare function streamRunAgentFallbackModelConfigurationStopFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationStop, SDKValidationError>;
|
|
2856
|
-
/** @internal */
|
|
2857
|
-
export declare const StreamRunAgentFallbackModelConfigurationStreamOptions$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationStreamOptions, z.ZodTypeDef, unknown>;
|
|
2858
|
-
/** @internal */
|
|
2859
|
-
export type StreamRunAgentFallbackModelConfigurationStreamOptions$Outbound = {
|
|
2860
|
-
include_usage?: boolean | undefined;
|
|
2861
|
-
};
|
|
2862
|
-
/** @internal */
|
|
2863
|
-
export declare const StreamRunAgentFallbackModelConfigurationStreamOptions$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationStreamOptions>;
|
|
2864
|
-
export declare function streamRunAgentFallbackModelConfigurationStreamOptionsToJSON(streamRunAgentFallbackModelConfigurationStreamOptions: StreamRunAgentFallbackModelConfigurationStreamOptions): string;
|
|
2865
|
-
export declare function streamRunAgentFallbackModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationStreamOptions, SDKValidationError>;
|
|
2866
|
-
/** @internal */
|
|
2867
|
-
export declare const StreamRunAgentFallbackModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationType>;
|
|
2868
|
-
/** @internal */
|
|
2869
|
-
export declare const StreamRunAgentFallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationType>;
|
|
2870
|
-
/** @internal */
|
|
2871
|
-
export declare const StreamRunAgentFallbackModelConfigurationThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationThinkingLevel>;
|
|
2872
|
-
/** @internal */
|
|
2873
|
-
export declare const StreamRunAgentFallbackModelConfigurationThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationThinkingLevel>;
|
|
2874
|
-
/** @internal */
|
|
2875
|
-
export declare const StreamRunAgentFallbackModelConfigurationThinking$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationThinking, z.ZodTypeDef, unknown>;
|
|
2876
|
-
/** @internal */
|
|
2877
|
-
export type StreamRunAgentFallbackModelConfigurationThinking$Outbound = {
|
|
2878
|
-
type: string;
|
|
2879
|
-
budget_tokens: number;
|
|
2880
|
-
thinking_level?: string | undefined;
|
|
2881
|
-
};
|
|
2882
|
-
/** @internal */
|
|
2883
|
-
export declare const StreamRunAgentFallbackModelConfigurationThinking$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationThinking$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationThinking>;
|
|
2884
|
-
export declare function streamRunAgentFallbackModelConfigurationThinkingToJSON(streamRunAgentFallbackModelConfigurationThinking: StreamRunAgentFallbackModelConfigurationThinking): string;
|
|
2885
|
-
export declare function streamRunAgentFallbackModelConfigurationThinkingFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationThinking, SDKValidationError>;
|
|
2886
|
-
/** @internal */
|
|
2887
|
-
export declare const StreamRunAgentToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceAgentsType>;
|
|
2888
|
-
/** @internal */
|
|
2889
|
-
export declare const StreamRunAgentToolChoiceAgentsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceAgentsType>;
|
|
2890
|
-
/** @internal */
|
|
2891
|
-
export declare const StreamRunAgentToolChoiceAgentsFunction$inboundSchema: z.ZodType<StreamRunAgentToolChoiceAgentsFunction, z.ZodTypeDef, unknown>;
|
|
2892
|
-
/** @internal */
|
|
2893
|
-
export type StreamRunAgentToolChoiceAgentsFunction$Outbound = {
|
|
2894
|
-
name?: string | undefined;
|
|
2895
|
-
};
|
|
2896
|
-
/** @internal */
|
|
2897
|
-
export declare const StreamRunAgentToolChoiceAgentsFunction$outboundSchema: z.ZodType<StreamRunAgentToolChoiceAgentsFunction$Outbound, z.ZodTypeDef, StreamRunAgentToolChoiceAgentsFunction>;
|
|
2898
|
-
export declare function streamRunAgentToolChoiceAgentsFunctionToJSON(streamRunAgentToolChoiceAgentsFunction: StreamRunAgentToolChoiceAgentsFunction): string;
|
|
2899
|
-
export declare function streamRunAgentToolChoiceAgentsFunctionFromJSON(jsonString: string): SafeParseResult<StreamRunAgentToolChoiceAgentsFunction, SDKValidationError>;
|
|
2900
|
-
/** @internal */
|
|
2901
|
-
export declare const StreamRunAgentToolChoiceAgents2$inboundSchema: z.ZodType<StreamRunAgentToolChoiceAgents2, z.ZodTypeDef, unknown>;
|
|
2902
|
-
/** @internal */
|
|
2903
|
-
export type StreamRunAgentToolChoiceAgents2$Outbound = {
|
|
2904
|
-
type?: string | undefined;
|
|
2905
|
-
function: StreamRunAgentToolChoiceAgentsFunction$Outbound;
|
|
2906
|
-
};
|
|
2907
|
-
/** @internal */
|
|
2908
|
-
export declare const StreamRunAgentToolChoiceAgents2$outboundSchema: z.ZodType<StreamRunAgentToolChoiceAgents2$Outbound, z.ZodTypeDef, StreamRunAgentToolChoiceAgents2>;
|
|
2909
|
-
export declare function streamRunAgentToolChoiceAgents2ToJSON(streamRunAgentToolChoiceAgents2: StreamRunAgentToolChoiceAgents2): string;
|
|
2910
|
-
export declare function streamRunAgentToolChoiceAgents2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentToolChoiceAgents2, SDKValidationError>;
|
|
2911
|
-
/** @internal */
|
|
2912
|
-
export declare const StreamRunAgentToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceAgents1>;
|
|
2913
|
-
/** @internal */
|
|
2914
|
-
export declare const StreamRunAgentToolChoiceAgents1$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceAgents1>;
|
|
2915
|
-
/** @internal */
|
|
2916
|
-
export declare const StreamRunAgentFallbackModelConfigurationToolChoice$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationToolChoice, z.ZodTypeDef, unknown>;
|
|
2917
|
-
/** @internal */
|
|
2918
|
-
export type StreamRunAgentFallbackModelConfigurationToolChoice$Outbound = StreamRunAgentToolChoiceAgents2$Outbound | string;
|
|
2919
|
-
/** @internal */
|
|
2920
|
-
export declare const StreamRunAgentFallbackModelConfigurationToolChoice$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationToolChoice$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationToolChoice>;
|
|
2921
|
-
export declare function streamRunAgentFallbackModelConfigurationToolChoiceToJSON(streamRunAgentFallbackModelConfigurationToolChoice: StreamRunAgentFallbackModelConfigurationToolChoice): string;
|
|
2922
|
-
export declare function streamRunAgentFallbackModelConfigurationToolChoiceFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationToolChoice, SDKValidationError>;
|
|
2923
|
-
/** @internal */
|
|
2924
|
-
export declare const StreamRunAgentFallbackModelConfigurationModalities$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationModalities>;
|
|
2925
|
-
/** @internal */
|
|
2926
|
-
export declare const StreamRunAgentFallbackModelConfigurationModalities$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationModalities>;
|
|
2927
|
-
/** @internal */
|
|
2928
|
-
export declare const StreamRunAgentFallbackModelConfigurationParameters$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationParameters, z.ZodTypeDef, unknown>;
|
|
2929
|
-
/** @internal */
|
|
2930
|
-
export type StreamRunAgentFallbackModelConfigurationParameters$Outbound = {
|
|
2931
|
-
audio?: StreamRunAgentFallbackModelConfigurationAudio$Outbound | null | undefined;
|
|
2932
|
-
frequency_penalty?: number | null | undefined;
|
|
2933
|
-
max_tokens?: number | null | undefined;
|
|
2934
|
-
max_completion_tokens?: number | null | undefined;
|
|
2935
|
-
logprobs?: boolean | null | undefined;
|
|
2936
|
-
top_logprobs?: number | null | undefined;
|
|
2937
|
-
n?: number | null | undefined;
|
|
2938
|
-
presence_penalty?: number | null | undefined;
|
|
2939
|
-
response_format?: StreamRunAgentResponseFormatAgentsRequestJSONSchema$Outbound | StreamRunAgentResponseFormatAgentsText$Outbound | StreamRunAgentResponseFormatAgentsJSONObject$Outbound | undefined;
|
|
2940
|
-
reasoning_effort?: string | undefined;
|
|
2941
|
-
verbosity?: string | undefined;
|
|
2942
|
-
seed?: number | null | undefined;
|
|
2943
|
-
stop?: string | Array<string> | null | undefined;
|
|
2944
|
-
stream_options?: StreamRunAgentFallbackModelConfigurationStreamOptions$Outbound | null | undefined;
|
|
2945
|
-
thinking?: StreamRunAgentFallbackModelConfigurationThinking$Outbound | undefined;
|
|
2946
|
-
temperature?: number | null | undefined;
|
|
2947
|
-
top_p?: number | null | undefined;
|
|
2948
|
-
top_k?: number | null | undefined;
|
|
2949
|
-
tool_choice?: StreamRunAgentToolChoiceAgents2$Outbound | string | undefined;
|
|
2950
|
-
parallel_tool_calls?: boolean | undefined;
|
|
2951
|
-
modalities?: Array<string> | null | undefined;
|
|
2952
|
-
};
|
|
2953
|
-
/** @internal */
|
|
2954
|
-
export declare const StreamRunAgentFallbackModelConfigurationParameters$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationParameters$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationParameters>;
|
|
2955
|
-
export declare function streamRunAgentFallbackModelConfigurationParametersToJSON(streamRunAgentFallbackModelConfigurationParameters: StreamRunAgentFallbackModelConfigurationParameters): string;
|
|
2956
|
-
export declare function streamRunAgentFallbackModelConfigurationParametersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationParameters, SDKValidationError>;
|
|
2957
|
-
/** @internal */
|
|
2958
|
-
export declare const StreamRunAgentFallbackModelConfiguration2$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfiguration2, z.ZodTypeDef, unknown>;
|
|
2959
|
-
/** @internal */
|
|
2960
|
-
export type StreamRunAgentFallbackModelConfiguration2$Outbound = {
|
|
2961
|
-
id: string;
|
|
2962
|
-
parameters?: StreamRunAgentFallbackModelConfigurationParameters$Outbound | undefined;
|
|
2963
|
-
};
|
|
2964
|
-
/** @internal */
|
|
2965
|
-
export declare const StreamRunAgentFallbackModelConfiguration2$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfiguration2$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfiguration2>;
|
|
2966
|
-
export declare function streamRunAgentFallbackModelConfiguration2ToJSON(streamRunAgentFallbackModelConfiguration2: StreamRunAgentFallbackModelConfiguration2): string;
|
|
2967
|
-
export declare function streamRunAgentFallbackModelConfiguration2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfiguration2, SDKValidationError>;
|
|
2968
|
-
/** @internal */
|
|
2969
|
-
export declare const StreamRunAgentFallbackModelConfiguration$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfiguration, z.ZodTypeDef, unknown>;
|
|
2970
|
-
/** @internal */
|
|
2971
|
-
export type StreamRunAgentFallbackModelConfiguration$Outbound = StreamRunAgentFallbackModelConfiguration2$Outbound | string;
|
|
2972
|
-
/** @internal */
|
|
2973
|
-
export declare const StreamRunAgentFallbackModelConfiguration$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfiguration$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfiguration>;
|
|
2974
|
-
export declare function streamRunAgentFallbackModelConfigurationToJSON(streamRunAgentFallbackModelConfiguration: StreamRunAgentFallbackModelConfiguration): string;
|
|
2975
|
-
export declare function streamRunAgentFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfiguration, SDKValidationError>;
|
|
2976
|
-
/** @internal */
|
|
2977
|
-
export declare const StreamRunAgentRoleToolMessage$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentRoleToolMessage>;
|
|
2978
|
-
/** @internal */
|
|
2979
|
-
export declare const StreamRunAgentRoleToolMessage$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentRoleToolMessage>;
|
|
2980
|
-
/** @internal */
|
|
2981
|
-
export declare const StreamRunAgentRoleUserMessage$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentRoleUserMessage>;
|
|
2982
|
-
/** @internal */
|
|
2983
|
-
export declare const StreamRunAgentRoleUserMessage$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentRoleUserMessage>;
|
|
2984
|
-
/** @internal */
|
|
2985
|
-
export declare const StreamRunAgentRole$inboundSchema: z.ZodType<StreamRunAgentRole, z.ZodTypeDef, unknown>;
|
|
2986
|
-
/** @internal */
|
|
2987
|
-
export type StreamRunAgentRole$Outbound = string | string;
|
|
2988
|
-
/** @internal */
|
|
2989
|
-
export declare const StreamRunAgentRole$outboundSchema: z.ZodType<StreamRunAgentRole$Outbound, z.ZodTypeDef, StreamRunAgentRole>;
|
|
2990
|
-
export declare function streamRunAgentRoleToJSON(streamRunAgentRole: StreamRunAgentRole): string;
|
|
2991
|
-
export declare function streamRunAgentRoleFromJSON(jsonString: string): SafeParseResult<StreamRunAgentRole, SDKValidationError>;
|
|
2992
|
-
/** @internal */
|
|
2993
|
-
export declare const StreamRunAgentPublicMessagePartAgentsKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPublicMessagePartAgentsKind>;
|
|
2994
|
-
/** @internal */
|
|
2995
|
-
export declare const StreamRunAgentPublicMessagePartAgentsKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPublicMessagePartAgentsKind>;
|
|
2996
|
-
/** @internal */
|
|
2997
|
-
export declare const StreamRunAgentPublicMessagePartToolResultPart$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartToolResultPart, z.ZodTypeDef, unknown>;
|
|
2998
|
-
/** @internal */
|
|
2999
|
-
export type StreamRunAgentPublicMessagePartToolResultPart$Outbound = {
|
|
3000
|
-
kind: string;
|
|
3001
|
-
tool_call_id: string;
|
|
3002
|
-
result?: any | undefined;
|
|
3003
|
-
metadata?: {
|
|
3004
|
-
[k: string]: any;
|
|
3005
|
-
} | undefined;
|
|
3006
|
-
};
|
|
3007
|
-
/** @internal */
|
|
3008
|
-
export declare const StreamRunAgentPublicMessagePartToolResultPart$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartToolResultPart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartToolResultPart>;
|
|
3009
|
-
export declare function streamRunAgentPublicMessagePartToolResultPartToJSON(streamRunAgentPublicMessagePartToolResultPart: StreamRunAgentPublicMessagePartToolResultPart): string;
|
|
3010
|
-
export declare function streamRunAgentPublicMessagePartToolResultPartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePartToolResultPart, SDKValidationError>;
|
|
3011
|
-
/** @internal */
|
|
3012
|
-
export declare const StreamRunAgentPublicMessagePartKind$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPublicMessagePartKind>;
|
|
3013
|
-
/** @internal */
|
|
3014
|
-
export declare const StreamRunAgentPublicMessagePartKind$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentPublicMessagePartKind>;
|
|
3015
|
-
/** @internal */
|
|
3016
|
-
export declare const StreamRunAgentFileFileInURIFormat$inboundSchema: z.ZodType<StreamRunAgentFileFileInURIFormat, z.ZodTypeDef, unknown>;
|
|
3017
|
-
/** @internal */
|
|
3018
|
-
export type StreamRunAgentFileFileInURIFormat$Outbound = {
|
|
3019
|
-
uri: string;
|
|
3020
|
-
mimeType?: string | undefined;
|
|
3021
|
-
name?: string | undefined;
|
|
3022
|
-
};
|
|
3023
|
-
/** @internal */
|
|
3024
|
-
export declare const StreamRunAgentFileFileInURIFormat$outboundSchema: z.ZodType<StreamRunAgentFileFileInURIFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileFileInURIFormat>;
|
|
3025
|
-
export declare function streamRunAgentFileFileInURIFormatToJSON(streamRunAgentFileFileInURIFormat: StreamRunAgentFileFileInURIFormat): string;
|
|
3026
|
-
export declare function streamRunAgentFileFileInURIFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFileFileInURIFormat, SDKValidationError>;
|
|
3027
|
-
/** @internal */
|
|
3028
|
-
export declare const StreamRunAgentFileBinaryFormat$inboundSchema: z.ZodType<StreamRunAgentFileBinaryFormat, z.ZodTypeDef, unknown>;
|
|
3029
|
-
/** @internal */
|
|
3030
|
-
export type StreamRunAgentFileBinaryFormat$Outbound = {
|
|
3031
|
-
bytes: string;
|
|
3032
|
-
mimeType?: string | undefined;
|
|
3033
|
-
name?: string | undefined;
|
|
3034
|
-
};
|
|
3035
|
-
/** @internal */
|
|
3036
|
-
export declare const StreamRunAgentFileBinaryFormat$outboundSchema: z.ZodType<StreamRunAgentFileBinaryFormat$Outbound, z.ZodTypeDef, StreamRunAgentFileBinaryFormat>;
|
|
3037
|
-
export declare function streamRunAgentFileBinaryFormatToJSON(streamRunAgentFileBinaryFormat: StreamRunAgentFileBinaryFormat): string;
|
|
3038
|
-
export declare function streamRunAgentFileBinaryFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFileBinaryFormat, SDKValidationError>;
|
|
3039
|
-
/** @internal */
|
|
3040
|
-
export declare const StreamRunAgentPublicMessagePartFile$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFile, z.ZodTypeDef, unknown>;
|
|
3041
|
-
/** @internal */
|
|
3042
|
-
export type StreamRunAgentPublicMessagePartFile$Outbound = StreamRunAgentFileBinaryFormat$Outbound | StreamRunAgentFileFileInURIFormat$Outbound;
|
|
3043
|
-
/** @internal */
|
|
3044
|
-
export declare const StreamRunAgentPublicMessagePartFile$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFile$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartFile>;
|
|
3045
|
-
export declare function streamRunAgentPublicMessagePartFileToJSON(streamRunAgentPublicMessagePartFile: StreamRunAgentPublicMessagePartFile): string;
|
|
3046
|
-
export declare function streamRunAgentPublicMessagePartFileFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePartFile, SDKValidationError>;
|
|
3047
|
-
/** @internal */
|
|
3048
|
-
export declare const StreamRunAgentPublicMessagePartFilePart$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFilePart, z.ZodTypeDef, unknown>;
|
|
3049
|
-
/** @internal */
|
|
3050
|
-
export type StreamRunAgentPublicMessagePartFilePart$Outbound = {
|
|
3051
|
-
kind: string;
|
|
3052
|
-
file: StreamRunAgentFileBinaryFormat$Outbound | StreamRunAgentFileFileInURIFormat$Outbound;
|
|
3053
|
-
metadata?: {
|
|
3054
|
-
[k: string]: any;
|
|
3055
|
-
} | undefined;
|
|
3056
|
-
};
|
|
3057
|
-
/** @internal */
|
|
3058
|
-
export declare const StreamRunAgentPublicMessagePartFilePart$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePartFilePart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePartFilePart>;
|
|
3059
|
-
export declare function streamRunAgentPublicMessagePartFilePartToJSON(streamRunAgentPublicMessagePartFilePart: StreamRunAgentPublicMessagePartFilePart): string;
|
|
3060
|
-
export declare function streamRunAgentPublicMessagePartFilePartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePartFilePart, SDKValidationError>;
|
|
3061
|
-
/** @internal */
|
|
3062
|
-
export declare const StreamRunAgentPublicMessagePart$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePart, z.ZodTypeDef, unknown>;
|
|
3063
|
-
/** @internal */
|
|
3064
|
-
export type StreamRunAgentPublicMessagePart$Outbound = components.TextPart$Outbound | StreamRunAgentPublicMessagePartFilePart$Outbound | StreamRunAgentPublicMessagePartToolResultPart$Outbound;
|
|
3065
|
-
/** @internal */
|
|
3066
|
-
export declare const StreamRunAgentPublicMessagePart$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePart>;
|
|
3067
|
-
export declare function streamRunAgentPublicMessagePartToJSON(streamRunAgentPublicMessagePart: StreamRunAgentPublicMessagePart): string;
|
|
3068
|
-
export declare function streamRunAgentPublicMessagePartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePart, SDKValidationError>;
|
|
3069
|
-
/** @internal */
|
|
3070
|
-
export declare const StreamRunAgentA2AMessage$inboundSchema: z.ZodType<StreamRunAgentA2AMessage, z.ZodTypeDef, unknown>;
|
|
3071
|
-
/** @internal */
|
|
3072
|
-
export type StreamRunAgentA2AMessage$Outbound = {
|
|
3073
|
-
messageId?: string | undefined;
|
|
3074
|
-
role: string | string;
|
|
3075
|
-
parts: Array<components.TextPart$Outbound | StreamRunAgentPublicMessagePartFilePart$Outbound | StreamRunAgentPublicMessagePartToolResultPart$Outbound>;
|
|
3076
|
-
};
|
|
3077
|
-
/** @internal */
|
|
3078
|
-
export declare const StreamRunAgentA2AMessage$outboundSchema: z.ZodType<StreamRunAgentA2AMessage$Outbound, z.ZodTypeDef, StreamRunAgentA2AMessage>;
|
|
3079
|
-
export declare function streamRunAgentA2AMessageToJSON(streamRunAgentA2AMessage: StreamRunAgentA2AMessage): string;
|
|
3080
|
-
export declare function streamRunAgentA2AMessageFromJSON(jsonString: string): SafeParseResult<StreamRunAgentA2AMessage, SDKValidationError>;
|
|
3081
|
-
/** @internal */
|
|
3082
|
-
export declare const StreamRunAgentContact$inboundSchema: z.ZodType<StreamRunAgentContact, z.ZodTypeDef, unknown>;
|
|
3083
|
-
/** @internal */
|
|
3084
|
-
export type StreamRunAgentContact$Outbound = {
|
|
3085
|
-
id: string;
|
|
3086
|
-
display_name?: string | undefined;
|
|
3087
|
-
email?: string | undefined;
|
|
3088
|
-
metadata?: Array<{
|
|
3089
|
-
[k: string]: any;
|
|
3090
|
-
}> | undefined;
|
|
3091
|
-
logo_url?: string | undefined;
|
|
3092
|
-
tags?: Array<string> | undefined;
|
|
3093
|
-
};
|
|
3094
|
-
/** @internal */
|
|
3095
|
-
export declare const StreamRunAgentContact$outboundSchema: z.ZodType<StreamRunAgentContact$Outbound, z.ZodTypeDef, StreamRunAgentContact>;
|
|
3096
|
-
export declare function streamRunAgentContactToJSON(streamRunAgentContact: StreamRunAgentContact): string;
|
|
3097
|
-
export declare function streamRunAgentContactFromJSON(jsonString: string): SafeParseResult<StreamRunAgentContact, SDKValidationError>;
|
|
3098
|
-
/** @internal */
|
|
3099
|
-
export declare const StreamRunAgentThread$inboundSchema: z.ZodType<StreamRunAgentThread, z.ZodTypeDef, unknown>;
|
|
3100
|
-
/** @internal */
|
|
3101
|
-
export type StreamRunAgentThread$Outbound = {
|
|
3102
|
-
id: string;
|
|
3103
|
-
tags?: Array<string> | undefined;
|
|
3104
|
-
};
|
|
3105
|
-
/** @internal */
|
|
3106
|
-
export declare const StreamRunAgentThread$outboundSchema: z.ZodType<StreamRunAgentThread$Outbound, z.ZodTypeDef, StreamRunAgentThread>;
|
|
3107
|
-
export declare function streamRunAgentThreadToJSON(streamRunAgentThread: StreamRunAgentThread): string;
|
|
3108
|
-
export declare function streamRunAgentThreadFromJSON(jsonString: string): SafeParseResult<StreamRunAgentThread, SDKValidationError>;
|
|
3109
|
-
/** @internal */
|
|
3110
|
-
export declare const StreamRunAgentMemory$inboundSchema: z.ZodType<StreamRunAgentMemory, z.ZodTypeDef, unknown>;
|
|
3111
|
-
/** @internal */
|
|
3112
|
-
export type StreamRunAgentMemory$Outbound = {
|
|
3113
|
-
entity_id: string;
|
|
3114
|
-
};
|
|
3115
|
-
/** @internal */
|
|
3116
|
-
export declare const StreamRunAgentMemory$outboundSchema: z.ZodType<StreamRunAgentMemory$Outbound, z.ZodTypeDef, StreamRunAgentMemory>;
|
|
3117
|
-
export declare function streamRunAgentMemoryToJSON(streamRunAgentMemory: StreamRunAgentMemory): string;
|
|
3118
|
-
export declare function streamRunAgentMemoryFromJSON(jsonString: string): SafeParseResult<StreamRunAgentMemory, SDKValidationError>;
|
|
3119
|
-
/** @internal */
|
|
3120
|
-
export declare const StreamRunAgentKnowledgeBases$inboundSchema: z.ZodType<StreamRunAgentKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
3121
|
-
/** @internal */
|
|
3122
|
-
export type StreamRunAgentKnowledgeBases$Outbound = {
|
|
3123
|
-
knowledge_id: string;
|
|
3124
|
-
};
|
|
3125
|
-
/** @internal */
|
|
3126
|
-
export declare const StreamRunAgentKnowledgeBases$outboundSchema: z.ZodType<StreamRunAgentKnowledgeBases$Outbound, z.ZodTypeDef, StreamRunAgentKnowledgeBases>;
|
|
3127
|
-
export declare function streamRunAgentKnowledgeBasesToJSON(streamRunAgentKnowledgeBases: StreamRunAgentKnowledgeBases): string;
|
|
3128
|
-
export declare function streamRunAgentKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<StreamRunAgentKnowledgeBases, SDKValidationError>;
|
|
3129
|
-
/** @internal */
|
|
3130
|
-
export declare const StreamRunAgentTeamOfAgents$inboundSchema: z.ZodType<StreamRunAgentTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
3131
|
-
/** @internal */
|
|
3132
|
-
export type StreamRunAgentTeamOfAgents$Outbound = {
|
|
3133
|
-
key: string;
|
|
3134
|
-
role?: string | undefined;
|
|
3135
|
-
};
|
|
3136
|
-
/** @internal */
|
|
3137
|
-
export declare const StreamRunAgentTeamOfAgents$outboundSchema: z.ZodType<StreamRunAgentTeamOfAgents$Outbound, z.ZodTypeDef, StreamRunAgentTeamOfAgents>;
|
|
3138
|
-
export declare function streamRunAgentTeamOfAgentsToJSON(streamRunAgentTeamOfAgents: StreamRunAgentTeamOfAgents): string;
|
|
3139
|
-
export declare function streamRunAgentTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentTeamOfAgents, SDKValidationError>;
|
|
3140
|
-
/** @internal */
|
|
3141
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15Type>;
|
|
3142
|
-
/** @internal */
|
|
3143
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15Type>;
|
|
3144
|
-
/** @internal */
|
|
3145
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsHeaders$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunAgentsHeaders, z.ZodTypeDef, unknown>;
|
|
3146
|
-
/** @internal */
|
|
3147
|
-
export type StreamRunAgentAgentToolInputRunAgentsHeaders$Outbound = {
|
|
3148
|
-
value: string;
|
|
3149
|
-
encrypted: boolean;
|
|
3150
|
-
};
|
|
3151
|
-
/** @internal */
|
|
3152
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsHeaders$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunAgentsHeaders$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunAgentsHeaders>;
|
|
3153
|
-
export declare function streamRunAgentAgentToolInputRunAgentsHeadersToJSON(streamRunAgentAgentToolInputRunAgentsHeaders: StreamRunAgentAgentToolInputRunAgentsHeaders): string;
|
|
3154
|
-
export declare function streamRunAgentAgentToolInputRunAgentsHeadersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunAgentsHeaders, SDKValidationError>;
|
|
3155
|
-
/** @internal */
|
|
3156
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15McpType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15McpType>;
|
|
3157
|
-
/** @internal */
|
|
3158
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15McpType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15McpType>;
|
|
3159
|
-
/** @internal */
|
|
3160
|
-
export declare const AgentToolInputRunSchema$inboundSchema: z.ZodType<AgentToolInputRunSchema, z.ZodTypeDef, unknown>;
|
|
3161
|
-
/** @internal */
|
|
3162
|
-
export type AgentToolInputRunSchema$Outbound = {
|
|
3163
|
-
type: string;
|
|
3164
|
-
properties?: {
|
|
3165
|
-
[k: string]: any;
|
|
3166
|
-
} | undefined;
|
|
3167
|
-
required?: Array<string> | undefined;
|
|
3168
|
-
};
|
|
3169
|
-
/** @internal */
|
|
3170
|
-
export declare const AgentToolInputRunSchema$outboundSchema: z.ZodType<AgentToolInputRunSchema$Outbound, z.ZodTypeDef, AgentToolInputRunSchema>;
|
|
3171
|
-
export declare function agentToolInputRunSchemaToJSON(agentToolInputRunSchema: AgentToolInputRunSchema): string;
|
|
3172
|
-
export declare function agentToolInputRunSchemaFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunSchema, SDKValidationError>;
|
|
3173
|
-
/** @internal */
|
|
3174
|
-
export declare const AgentToolInputRunTools$inboundSchema: z.ZodType<AgentToolInputRunTools, z.ZodTypeDef, unknown>;
|
|
3175
|
-
/** @internal */
|
|
3176
|
-
export type AgentToolInputRunTools$Outbound = {
|
|
3177
|
-
id: string;
|
|
3178
|
-
name: string;
|
|
3179
|
-
description?: string | undefined;
|
|
3180
|
-
schema: AgentToolInputRunSchema$Outbound;
|
|
3181
|
-
};
|
|
3182
|
-
/** @internal */
|
|
3183
|
-
export declare const AgentToolInputRunTools$outboundSchema: z.ZodType<AgentToolInputRunTools$Outbound, z.ZodTypeDef, AgentToolInputRunTools>;
|
|
3184
|
-
export declare function agentToolInputRunToolsToJSON(agentToolInputRunTools: AgentToolInputRunTools): string;
|
|
3185
|
-
export declare function agentToolInputRunToolsFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunTools, SDKValidationError>;
|
|
3186
|
-
/** @internal */
|
|
3187
|
-
export declare const AgentToolInputRunConnectionType$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunConnectionType>;
|
|
3188
|
-
/** @internal */
|
|
3189
|
-
export declare const AgentToolInputRunConnectionType$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunConnectionType>;
|
|
3190
|
-
/** @internal */
|
|
3191
|
-
export declare const AgentToolInputRunMcp$inboundSchema: z.ZodType<AgentToolInputRunMcp, z.ZodTypeDef, unknown>;
|
|
3192
|
-
/** @internal */
|
|
3193
|
-
export type AgentToolInputRunMcp$Outbound = {
|
|
3194
|
-
server_url: string;
|
|
3195
|
-
headers?: {
|
|
3196
|
-
[k: string]: StreamRunAgentAgentToolInputRunAgentsHeaders$Outbound;
|
|
3197
|
-
} | undefined;
|
|
3198
|
-
tools: Array<AgentToolInputRunTools$Outbound>;
|
|
3199
|
-
connection_type: string;
|
|
3200
|
-
};
|
|
3201
|
-
/** @internal */
|
|
3202
|
-
export declare const AgentToolInputRunMcp$outboundSchema: z.ZodType<AgentToolInputRunMcp$Outbound, z.ZodTypeDef, AgentToolInputRunMcp>;
|
|
3203
|
-
export declare function agentToolInputRunMcpToJSON(agentToolInputRunMcp: AgentToolInputRunMcp): string;
|
|
3204
|
-
export declare function agentToolInputRunMcpFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunMcp, SDKValidationError>;
|
|
3205
|
-
/** @internal */
|
|
3206
|
-
export declare const AgentToolInputRunMCPToolRun$inboundSchema: z.ZodType<AgentToolInputRunMCPToolRun, z.ZodTypeDef, unknown>;
|
|
3207
|
-
/** @internal */
|
|
3208
|
-
export type AgentToolInputRunMCPToolRun$Outbound = {
|
|
3209
|
-
type: string;
|
|
3210
|
-
key: string;
|
|
3211
|
-
_id?: string | undefined;
|
|
3212
|
-
display_name?: string | undefined;
|
|
3213
|
-
description: string;
|
|
3214
|
-
mcp: AgentToolInputRunMcp$Outbound;
|
|
3215
|
-
requires_approval: boolean;
|
|
3216
|
-
};
|
|
3217
|
-
/** @internal */
|
|
3218
|
-
export declare const AgentToolInputRunMCPToolRun$outboundSchema: z.ZodType<AgentToolInputRunMCPToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunMCPToolRun>;
|
|
3219
|
-
export declare function agentToolInputRunMCPToolRunToJSON(agentToolInputRunMCPToolRun: AgentToolInputRunMCPToolRun): string;
|
|
3220
|
-
export declare function agentToolInputRunMCPToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunMCPToolRun, SDKValidationError>;
|
|
3221
|
-
/** @internal */
|
|
3222
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type>;
|
|
3223
|
-
/** @internal */
|
|
3224
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type>;
|
|
3225
|
-
/** @internal */
|
|
3226
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14FunctionType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14FunctionType>;
|
|
3227
|
-
/** @internal */
|
|
3228
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14FunctionType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14FunctionType>;
|
|
3229
|
-
/** @internal */
|
|
3230
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsParameters$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunAgentsParameters, z.ZodTypeDef, unknown>;
|
|
3231
|
-
/** @internal */
|
|
3232
|
-
export type StreamRunAgentAgentToolInputRunAgentsParameters$Outbound = {
|
|
3233
|
-
type: string;
|
|
3234
|
-
properties: {
|
|
3235
|
-
[k: string]: any;
|
|
3236
|
-
};
|
|
3237
|
-
required: Array<string>;
|
|
3238
|
-
[additionalProperties: string]: unknown;
|
|
3239
|
-
};
|
|
3240
|
-
/** @internal */
|
|
3241
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsParameters$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunAgentsParameters$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunAgentsParameters>;
|
|
3242
|
-
export declare function streamRunAgentAgentToolInputRunAgentsParametersToJSON(streamRunAgentAgentToolInputRunAgentsParameters: StreamRunAgentAgentToolInputRunAgentsParameters): string;
|
|
3243
|
-
export declare function streamRunAgentAgentToolInputRunAgentsParametersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunAgentsParameters, SDKValidationError>;
|
|
3244
|
-
/** @internal */
|
|
3245
|
-
export declare const StreamRunAgentAgentToolInputRunFunction$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunFunction, z.ZodTypeDef, unknown>;
|
|
3246
|
-
/** @internal */
|
|
3247
|
-
export type StreamRunAgentAgentToolInputRunFunction$Outbound = {
|
|
3248
|
-
name: string;
|
|
3249
|
-
description?: string | undefined;
|
|
3250
|
-
strict?: boolean | undefined;
|
|
3251
|
-
parameters?: StreamRunAgentAgentToolInputRunAgentsParameters$Outbound | undefined;
|
|
3252
|
-
};
|
|
3253
|
-
/** @internal */
|
|
3254
|
-
export declare const StreamRunAgentAgentToolInputRunFunction$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunFunction$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunFunction>;
|
|
3255
|
-
export declare function streamRunAgentAgentToolInputRunFunctionToJSON(streamRunAgentAgentToolInputRunFunction: StreamRunAgentAgentToolInputRunFunction): string;
|
|
3256
|
-
export declare function streamRunAgentAgentToolInputRunFunctionFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunFunction, SDKValidationError>;
|
|
3257
|
-
/** @internal */
|
|
3258
|
-
export declare const AgentToolInputRunFunctionToolRun$inboundSchema: z.ZodType<AgentToolInputRunFunctionToolRun, z.ZodTypeDef, unknown>;
|
|
3259
|
-
/** @internal */
|
|
3260
|
-
export type AgentToolInputRunFunctionToolRun$Outbound = {
|
|
3261
|
-
type: string;
|
|
3262
|
-
key: string;
|
|
3263
|
-
_id?: string | undefined;
|
|
3264
|
-
display_name?: string | undefined;
|
|
3265
|
-
description?: string | undefined;
|
|
3266
|
-
function: StreamRunAgentAgentToolInputRunFunction$Outbound;
|
|
3267
|
-
requires_approval: boolean;
|
|
3268
|
-
};
|
|
3269
|
-
/** @internal */
|
|
3270
|
-
export declare const AgentToolInputRunFunctionToolRun$outboundSchema: z.ZodType<AgentToolInputRunFunctionToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunFunctionToolRun>;
|
|
3271
|
-
export declare function agentToolInputRunFunctionToolRunToJSON(agentToolInputRunFunctionToolRun: AgentToolInputRunFunctionToolRun): string;
|
|
3272
|
-
export declare function agentToolInputRunFunctionToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunFunctionToolRun, SDKValidationError>;
|
|
3273
|
-
/** @internal */
|
|
3274
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type>;
|
|
3275
|
-
/** @internal */
|
|
3276
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type>;
|
|
3277
|
-
/** @internal */
|
|
3278
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13CodeToolType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13CodeToolType>;
|
|
3279
|
-
/** @internal */
|
|
3280
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13CodeToolType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13CodeToolType>;
|
|
3281
|
-
/** @internal */
|
|
3282
|
-
export declare const StreamRunAgentAgentToolInputRunParameters$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunParameters, z.ZodTypeDef, unknown>;
|
|
3283
|
-
/** @internal */
|
|
3284
|
-
export type StreamRunAgentAgentToolInputRunParameters$Outbound = {
|
|
3285
|
-
type: string;
|
|
3286
|
-
properties: {
|
|
3287
|
-
[k: string]: any;
|
|
3288
|
-
};
|
|
3289
|
-
required: Array<string>;
|
|
3290
|
-
[additionalProperties: string]: unknown;
|
|
3291
|
-
};
|
|
3292
|
-
/** @internal */
|
|
3293
|
-
export declare const StreamRunAgentAgentToolInputRunParameters$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunParameters$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunParameters>;
|
|
3294
|
-
export declare function streamRunAgentAgentToolInputRunParametersToJSON(streamRunAgentAgentToolInputRunParameters: StreamRunAgentAgentToolInputRunParameters): string;
|
|
3295
|
-
export declare function streamRunAgentAgentToolInputRunParametersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunParameters, SDKValidationError>;
|
|
3296
|
-
/** @internal */
|
|
3297
|
-
export declare const AgentToolInputRunLanguage$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunLanguage>;
|
|
3298
|
-
/** @internal */
|
|
3299
|
-
export declare const AgentToolInputRunLanguage$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunLanguage>;
|
|
3300
|
-
/** @internal */
|
|
3301
|
-
export declare const AgentToolInputRunCodeTool$inboundSchema: z.ZodType<AgentToolInputRunCodeTool, z.ZodTypeDef, unknown>;
|
|
3302
|
-
/** @internal */
|
|
3303
|
-
export type AgentToolInputRunCodeTool$Outbound = {
|
|
3304
|
-
parameters?: StreamRunAgentAgentToolInputRunParameters$Outbound | undefined;
|
|
3305
|
-
language: string;
|
|
3306
|
-
code: string;
|
|
3307
|
-
};
|
|
3308
|
-
/** @internal */
|
|
3309
|
-
export declare const AgentToolInputRunCodeTool$outboundSchema: z.ZodType<AgentToolInputRunCodeTool$Outbound, z.ZodTypeDef, AgentToolInputRunCodeTool>;
|
|
3310
|
-
export declare function agentToolInputRunCodeToolToJSON(agentToolInputRunCodeTool: AgentToolInputRunCodeTool): string;
|
|
3311
|
-
export declare function agentToolInputRunCodeToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunCodeTool, SDKValidationError>;
|
|
3312
|
-
/** @internal */
|
|
3313
|
-
export declare const AgentToolInputRunCodeToolRun$inboundSchema: z.ZodType<AgentToolInputRunCodeToolRun, z.ZodTypeDef, unknown>;
|
|
3314
|
-
/** @internal */
|
|
3315
|
-
export type AgentToolInputRunCodeToolRun$Outbound = {
|
|
3316
|
-
type: string;
|
|
3317
|
-
key: string;
|
|
3318
|
-
_id?: string | undefined;
|
|
3319
|
-
display_name?: string | undefined;
|
|
3320
|
-
description: string;
|
|
3321
|
-
code_tool: AgentToolInputRunCodeTool$Outbound;
|
|
3322
|
-
requires_approval: boolean;
|
|
3323
|
-
};
|
|
3324
|
-
/** @internal */
|
|
3325
|
-
export declare const AgentToolInputRunCodeToolRun$outboundSchema: z.ZodType<AgentToolInputRunCodeToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunCodeToolRun>;
|
|
3326
|
-
export declare function agentToolInputRunCodeToolRunToJSON(agentToolInputRunCodeToolRun: AgentToolInputRunCodeToolRun): string;
|
|
3327
|
-
export declare function agentToolInputRunCodeToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunCodeToolRun, SDKValidationError>;
|
|
3328
|
-
/** @internal */
|
|
3329
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type>;
|
|
3330
|
-
/** @internal */
|
|
3331
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type>;
|
|
3332
|
-
/** @internal */
|
|
3333
|
-
export declare const AgentToolInputRunMethod$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunMethod>;
|
|
3334
|
-
/** @internal */
|
|
3335
|
-
export declare const AgentToolInputRunMethod$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunMethod>;
|
|
3336
|
-
/** @internal */
|
|
3337
|
-
export declare const StreamRunAgentHeaders2$inboundSchema: z.ZodType<StreamRunAgentHeaders2, z.ZodTypeDef, unknown>;
|
|
3338
|
-
/** @internal */
|
|
3339
|
-
export type StreamRunAgentHeaders2$Outbound = {
|
|
3340
|
-
value: string;
|
|
3341
|
-
encrypted: boolean;
|
|
3342
|
-
};
|
|
3343
|
-
/** @internal */
|
|
3344
|
-
export declare const StreamRunAgentHeaders2$outboundSchema: z.ZodType<StreamRunAgentHeaders2$Outbound, z.ZodTypeDef, StreamRunAgentHeaders2>;
|
|
3345
|
-
export declare function streamRunAgentHeaders2ToJSON(streamRunAgentHeaders2: StreamRunAgentHeaders2): string;
|
|
3346
|
-
export declare function streamRunAgentHeaders2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentHeaders2, SDKValidationError>;
|
|
3347
|
-
/** @internal */
|
|
3348
|
-
export declare const StreamRunAgentAgentToolInputRunHeaders$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunHeaders, z.ZodTypeDef, unknown>;
|
|
3349
|
-
/** @internal */
|
|
3350
|
-
export type StreamRunAgentAgentToolInputRunHeaders$Outbound = StreamRunAgentHeaders2$Outbound | string;
|
|
3351
|
-
/** @internal */
|
|
3352
|
-
export declare const StreamRunAgentAgentToolInputRunHeaders$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunHeaders$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunHeaders>;
|
|
3353
|
-
export declare function streamRunAgentAgentToolInputRunHeadersToJSON(streamRunAgentAgentToolInputRunHeaders: StreamRunAgentAgentToolInputRunHeaders): string;
|
|
3354
|
-
export declare function streamRunAgentAgentToolInputRunHeadersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunHeaders, SDKValidationError>;
|
|
3355
|
-
/** @internal */
|
|
3356
|
-
export declare const AgentToolInputRunBlueprint$inboundSchema: z.ZodType<AgentToolInputRunBlueprint, z.ZodTypeDef, unknown>;
|
|
3357
|
-
/** @internal */
|
|
3358
|
-
export type AgentToolInputRunBlueprint$Outbound = {
|
|
3359
|
-
url: string;
|
|
3360
|
-
method: string;
|
|
3361
|
-
headers?: {
|
|
3362
|
-
[k: string]: StreamRunAgentHeaders2$Outbound | string;
|
|
3363
|
-
} | undefined;
|
|
3364
|
-
body?: {
|
|
3365
|
-
[k: string]: any;
|
|
3366
|
-
} | undefined;
|
|
3367
|
-
};
|
|
3368
|
-
/** @internal */
|
|
3369
|
-
export declare const AgentToolInputRunBlueprint$outboundSchema: z.ZodType<AgentToolInputRunBlueprint$Outbound, z.ZodTypeDef, AgentToolInputRunBlueprint>;
|
|
3370
|
-
export declare function agentToolInputRunBlueprintToJSON(agentToolInputRunBlueprint: AgentToolInputRunBlueprint): string;
|
|
3371
|
-
export declare function agentToolInputRunBlueprintFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunBlueprint, SDKValidationError>;
|
|
3372
|
-
/** @internal */
|
|
3373
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType>;
|
|
3374
|
-
/** @internal */
|
|
3375
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType>;
|
|
3376
|
-
/** @internal */
|
|
3377
|
-
export declare const AgentToolInputRunDefaultValue$inboundSchema: z.ZodType<AgentToolInputRunDefaultValue, z.ZodTypeDef, unknown>;
|
|
3378
|
-
/** @internal */
|
|
3379
|
-
export type AgentToolInputRunDefaultValue$Outbound = string | number | boolean;
|
|
3380
|
-
/** @internal */
|
|
3381
|
-
export declare const AgentToolInputRunDefaultValue$outboundSchema: z.ZodType<AgentToolInputRunDefaultValue$Outbound, z.ZodTypeDef, AgentToolInputRunDefaultValue>;
|
|
3382
|
-
export declare function agentToolInputRunDefaultValueToJSON(agentToolInputRunDefaultValue: AgentToolInputRunDefaultValue): string;
|
|
3383
|
-
export declare function agentToolInputRunDefaultValueFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunDefaultValue, SDKValidationError>;
|
|
3384
|
-
/** @internal */
|
|
3385
|
-
export declare const AgentToolInputRunArguments$inboundSchema: z.ZodType<AgentToolInputRunArguments, z.ZodTypeDef, unknown>;
|
|
3386
|
-
/** @internal */
|
|
3387
|
-
export type AgentToolInputRunArguments$Outbound = {
|
|
3388
|
-
type: string;
|
|
3389
|
-
description: string;
|
|
3390
|
-
send_to_model: boolean;
|
|
3391
|
-
default_value?: string | number | boolean | undefined;
|
|
3392
|
-
};
|
|
3393
|
-
/** @internal */
|
|
3394
|
-
export declare const AgentToolInputRunArguments$outboundSchema: z.ZodType<AgentToolInputRunArguments$Outbound, z.ZodTypeDef, AgentToolInputRunArguments>;
|
|
3395
|
-
export declare function agentToolInputRunArgumentsToJSON(agentToolInputRunArguments: AgentToolInputRunArguments): string;
|
|
3396
|
-
export declare function agentToolInputRunArgumentsFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunArguments, SDKValidationError>;
|
|
3397
|
-
/** @internal */
|
|
3398
|
-
export declare const AgentToolInputRunHttp$inboundSchema: z.ZodType<AgentToolInputRunHttp, z.ZodTypeDef, unknown>;
|
|
3399
|
-
/** @internal */
|
|
3400
|
-
export type AgentToolInputRunHttp$Outbound = {
|
|
3401
|
-
blueprint: AgentToolInputRunBlueprint$Outbound;
|
|
3402
|
-
arguments?: {
|
|
3403
|
-
[k: string]: AgentToolInputRunArguments$Outbound;
|
|
3404
|
-
} | undefined;
|
|
3405
|
-
};
|
|
3406
|
-
/** @internal */
|
|
3407
|
-
export declare const AgentToolInputRunHttp$outboundSchema: z.ZodType<AgentToolInputRunHttp$Outbound, z.ZodTypeDef, AgentToolInputRunHttp>;
|
|
3408
|
-
export declare function agentToolInputRunHttpToJSON(agentToolInputRunHttp: AgentToolInputRunHttp): string;
|
|
3409
|
-
export declare function agentToolInputRunHttpFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunHttp, SDKValidationError>;
|
|
3410
|
-
/** @internal */
|
|
3411
|
-
export declare const AgentToolInputRunHTTPToolRun$inboundSchema: z.ZodType<AgentToolInputRunHTTPToolRun, z.ZodTypeDef, unknown>;
|
|
3412
|
-
/** @internal */
|
|
3413
|
-
export type AgentToolInputRunHTTPToolRun$Outbound = {
|
|
3414
|
-
type: string;
|
|
3415
|
-
key: string;
|
|
3416
|
-
_id?: string | undefined;
|
|
3417
|
-
display_name?: string | undefined;
|
|
3418
|
-
description: string;
|
|
3419
|
-
http: AgentToolInputRunHttp$Outbound;
|
|
3420
|
-
requires_approval: boolean;
|
|
3421
|
-
};
|
|
3422
|
-
/** @internal */
|
|
3423
|
-
export declare const AgentToolInputRunHTTPToolRun$outboundSchema: z.ZodType<AgentToolInputRunHTTPToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunHTTPToolRun>;
|
|
3424
|
-
export declare function agentToolInputRunHTTPToolRunToJSON(agentToolInputRunHTTPToolRun: AgentToolInputRunHTTPToolRun): string;
|
|
3425
|
-
export declare function agentToolInputRunHTTPToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunHTTPToolRun, SDKValidationError>;
|
|
3426
|
-
/** @internal */
|
|
3427
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type>;
|
|
3428
|
-
/** @internal */
|
|
3429
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type>;
|
|
3430
|
-
/** @internal */
|
|
3431
|
-
export declare const StreamRunAgentAgentToolInputRunCurrentDateTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCurrentDateTool, z.ZodTypeDef, unknown>;
|
|
3432
|
-
/** @internal */
|
|
3433
|
-
export type StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound = {
|
|
3434
|
-
type: string;
|
|
3435
|
-
requires_approval?: boolean | undefined;
|
|
3436
|
-
};
|
|
3437
|
-
/** @internal */
|
|
3438
|
-
export declare const StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunCurrentDateTool>;
|
|
3439
|
-
export declare function streamRunAgentAgentToolInputRunCurrentDateToolToJSON(streamRunAgentAgentToolInputRunCurrentDateTool: StreamRunAgentAgentToolInputRunCurrentDateTool): string;
|
|
3440
|
-
export declare function streamRunAgentAgentToolInputRunCurrentDateToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunCurrentDateTool, SDKValidationError>;
|
|
3441
|
-
/** @internal */
|
|
3442
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type>;
|
|
3443
|
-
/** @internal */
|
|
3444
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type>;
|
|
3445
|
-
/** @internal */
|
|
3446
|
-
export declare const StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool, z.ZodTypeDef, unknown>;
|
|
3447
|
-
/** @internal */
|
|
3448
|
-
export type StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound = {
|
|
3449
|
-
type: string;
|
|
3450
|
-
requires_approval?: boolean | undefined;
|
|
3451
|
-
};
|
|
3452
|
-
/** @internal */
|
|
3453
|
-
export declare const StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool>;
|
|
3454
|
-
export declare function streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolToJSON(streamRunAgentAgentToolInputRunQueryKnowledgeBaseTool: StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool): string;
|
|
3455
|
-
export declare function streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool, SDKValidationError>;
|
|
3456
|
-
/** @internal */
|
|
3457
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type>;
|
|
3458
|
-
/** @internal */
|
|
3459
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type>;
|
|
3460
|
-
/** @internal */
|
|
3461
|
-
export declare const StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool, z.ZodTypeDef, unknown>;
|
|
3462
|
-
/** @internal */
|
|
3463
|
-
export type StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound = {
|
|
3464
|
-
type: string;
|
|
3465
|
-
requires_approval?: boolean | undefined;
|
|
3466
|
-
};
|
|
3467
|
-
/** @internal */
|
|
3468
|
-
export declare const StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool>;
|
|
3469
|
-
export declare function streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolToJSON(streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool: StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool): string;
|
|
3470
|
-
export declare function streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool, SDKValidationError>;
|
|
3471
|
-
/** @internal */
|
|
3472
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type>;
|
|
3473
|
-
/** @internal */
|
|
3474
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type>;
|
|
3475
|
-
/** @internal */
|
|
3476
|
-
export declare const StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool, z.ZodTypeDef, unknown>;
|
|
3477
|
-
/** @internal */
|
|
3478
|
-
export type StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound = {
|
|
3479
|
-
type: string;
|
|
3480
|
-
requires_approval?: boolean | undefined;
|
|
3481
|
-
};
|
|
3482
|
-
/** @internal */
|
|
3483
|
-
export declare const StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool>;
|
|
3484
|
-
export declare function streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolToJSON(streamRunAgentAgentToolInputRunDeleteMemoryDocumentTool: StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool): string;
|
|
3485
|
-
export declare function streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool, SDKValidationError>;
|
|
3486
|
-
/** @internal */
|
|
3487
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type>;
|
|
3488
|
-
/** @internal */
|
|
3489
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type>;
|
|
3490
|
-
/** @internal */
|
|
3491
|
-
export declare const StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool, z.ZodTypeDef, unknown>;
|
|
3492
|
-
/** @internal */
|
|
3493
|
-
export type StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound = {
|
|
3494
|
-
type: string;
|
|
3495
|
-
requires_approval?: boolean | undefined;
|
|
3496
|
-
};
|
|
3497
|
-
/** @internal */
|
|
3498
|
-
export declare const StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool>;
|
|
3499
|
-
export declare function streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolToJSON(streamRunAgentAgentToolInputRunRetrieveMemoryStoresTool: StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool): string;
|
|
3500
|
-
export declare function streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool, SDKValidationError>;
|
|
3501
|
-
/** @internal */
|
|
3502
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType>;
|
|
3503
|
-
/** @internal */
|
|
3504
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType>;
|
|
3505
|
-
/** @internal */
|
|
3506
|
-
export declare const StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
3507
|
-
/** @internal */
|
|
3508
|
-
export type StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound = {
|
|
3509
|
-
type: string;
|
|
3510
|
-
requires_approval?: boolean | undefined;
|
|
3511
|
-
};
|
|
3512
|
-
/** @internal */
|
|
3513
|
-
export declare const StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunWriteMemoryStoreTool>;
|
|
3514
|
-
export declare function streamRunAgentAgentToolInputRunWriteMemoryStoreToolToJSON(streamRunAgentAgentToolInputRunWriteMemoryStoreTool: StreamRunAgentAgentToolInputRunWriteMemoryStoreTool): string;
|
|
3515
|
-
export declare function streamRunAgentAgentToolInputRunWriteMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool, SDKValidationError>;
|
|
3516
|
-
/** @internal */
|
|
3517
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType>;
|
|
3518
|
-
/** @internal */
|
|
3519
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType>;
|
|
3520
|
-
/** @internal */
|
|
3521
|
-
export declare const StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
3522
|
-
/** @internal */
|
|
3523
|
-
export type StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound = {
|
|
3524
|
-
type: string;
|
|
3525
|
-
requires_approval?: boolean | undefined;
|
|
3526
|
-
};
|
|
3527
|
-
/** @internal */
|
|
3528
|
-
export declare const StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunQueryMemoryStoreTool>;
|
|
3529
|
-
export declare function streamRunAgentAgentToolInputRunQueryMemoryStoreToolToJSON(streamRunAgentAgentToolInputRunQueryMemoryStoreTool: StreamRunAgentAgentToolInputRunQueryMemoryStoreTool): string;
|
|
3530
|
-
export declare function streamRunAgentAgentToolInputRunQueryMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool, SDKValidationError>;
|
|
3531
|
-
/** @internal */
|
|
3532
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType>;
|
|
3533
|
-
/** @internal */
|
|
3534
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType>;
|
|
3535
|
-
/** @internal */
|
|
3536
|
-
export declare const StreamRunAgentAgentToolInputRunRetrieveAgentsTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveAgentsTool, z.ZodTypeDef, unknown>;
|
|
3537
|
-
/** @internal */
|
|
3538
|
-
export type StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound = {
|
|
3539
|
-
type: string;
|
|
3540
|
-
requires_approval?: boolean | undefined;
|
|
3541
|
-
};
|
|
3542
|
-
/** @internal */
|
|
3543
|
-
export declare const StreamRunAgentAgentToolInputRunRetrieveAgentsTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveAgentsTool>;
|
|
3544
|
-
export declare function streamRunAgentAgentToolInputRunRetrieveAgentsToolToJSON(streamRunAgentAgentToolInputRunRetrieveAgentsTool: StreamRunAgentAgentToolInputRunRetrieveAgentsTool): string;
|
|
3545
|
-
export declare function streamRunAgentAgentToolInputRunRetrieveAgentsToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunRetrieveAgentsTool, SDKValidationError>;
|
|
3546
|
-
/** @internal */
|
|
3547
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestType>;
|
|
3548
|
-
/** @internal */
|
|
3549
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsRequestType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestType>;
|
|
3550
|
-
/** @internal */
|
|
3551
|
-
export declare const StreamRunAgentAgentToolInputRunCallSubAgentTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCallSubAgentTool, z.ZodTypeDef, unknown>;
|
|
3552
|
-
/** @internal */
|
|
3553
|
-
export type StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound = {
|
|
3554
|
-
type: string;
|
|
3555
|
-
requires_approval?: boolean | undefined;
|
|
3556
|
-
};
|
|
3557
|
-
/** @internal */
|
|
3558
|
-
export declare const StreamRunAgentAgentToolInputRunCallSubAgentTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunCallSubAgentTool>;
|
|
3559
|
-
export declare function streamRunAgentAgentToolInputRunCallSubAgentToolToJSON(streamRunAgentAgentToolInputRunCallSubAgentTool: StreamRunAgentAgentToolInputRunCallSubAgentTool): string;
|
|
3560
|
-
export declare function streamRunAgentAgentToolInputRunCallSubAgentToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunCallSubAgentTool, SDKValidationError>;
|
|
3561
|
-
/** @internal */
|
|
3562
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsType>;
|
|
3563
|
-
/** @internal */
|
|
3564
|
-
export declare const StreamRunAgentAgentToolInputRunAgentsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsType>;
|
|
3565
|
-
/** @internal */
|
|
3566
|
-
export declare const StreamRunAgentAgentToolInputRunWebScraperTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWebScraperTool, z.ZodTypeDef, unknown>;
|
|
3567
|
-
/** @internal */
|
|
3568
|
-
export type StreamRunAgentAgentToolInputRunWebScraperTool$Outbound = {
|
|
3569
|
-
type: string;
|
|
3570
|
-
requires_approval?: boolean | undefined;
|
|
3571
|
-
};
|
|
3572
|
-
/** @internal */
|
|
3573
|
-
export declare const StreamRunAgentAgentToolInputRunWebScraperTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWebScraperTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunWebScraperTool>;
|
|
3574
|
-
export declare function streamRunAgentAgentToolInputRunWebScraperToolToJSON(streamRunAgentAgentToolInputRunWebScraperTool: StreamRunAgentAgentToolInputRunWebScraperTool): string;
|
|
3575
|
-
export declare function streamRunAgentAgentToolInputRunWebScraperToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunWebScraperTool, SDKValidationError>;
|
|
3576
|
-
/** @internal */
|
|
3577
|
-
export declare const StreamRunAgentAgentToolInputRunType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunType>;
|
|
3578
|
-
/** @internal */
|
|
3579
|
-
export declare const StreamRunAgentAgentToolInputRunType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunType>;
|
|
3580
|
-
/** @internal */
|
|
3581
|
-
export declare const StreamRunAgentAgentToolInputRunGoogleSearchTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunGoogleSearchTool, z.ZodTypeDef, unknown>;
|
|
3582
|
-
/** @internal */
|
|
3583
|
-
export type StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound = {
|
|
3584
|
-
type: string;
|
|
3585
|
-
requires_approval?: boolean | undefined;
|
|
3586
|
-
};
|
|
3587
|
-
/** @internal */
|
|
3588
|
-
export declare const StreamRunAgentAgentToolInputRunGoogleSearchTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunGoogleSearchTool>;
|
|
3589
|
-
export declare function streamRunAgentAgentToolInputRunGoogleSearchToolToJSON(streamRunAgentAgentToolInputRunGoogleSearchTool: StreamRunAgentAgentToolInputRunGoogleSearchTool): string;
|
|
3590
|
-
export declare function streamRunAgentAgentToolInputRunGoogleSearchToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunGoogleSearchTool, SDKValidationError>;
|
|
3591
|
-
/** @internal */
|
|
3592
|
-
export declare const StreamRunAgentAgentToolInputRun$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRun, z.ZodTypeDef, unknown>;
|
|
3593
|
-
/** @internal */
|
|
3594
|
-
export type StreamRunAgentAgentToolInputRun$Outbound = AgentToolInputRunHTTPToolRun$Outbound | AgentToolInputRunCodeToolRun$Outbound | AgentToolInputRunMCPToolRun$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;
|
|
3595
1661
|
/** @internal */
|
|
3596
|
-
export declare const
|
|
3597
|
-
export declare function
|
|
3598
|
-
export declare function
|
|
3599
|
-
/** @internal */
|
|
3600
|
-
export declare const StreamRunAgentToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolApprovalRequired>;
|
|
3601
|
-
/** @internal */
|
|
3602
|
-
export declare const StreamRunAgentToolApprovalRequired$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolApprovalRequired>;
|
|
3603
|
-
/** @internal */
|
|
3604
|
-
export declare const StreamRunAgentExecuteOn$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentExecuteOn>;
|
|
3605
|
-
/** @internal */
|
|
3606
|
-
export declare const StreamRunAgentExecuteOn$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentExecuteOn>;
|
|
1662
|
+
export declare const StreamRunAgentModelConfigurationRetry$outboundSchema: z.ZodType<StreamRunAgentModelConfigurationRetry$Outbound, z.ZodTypeDef, StreamRunAgentModelConfigurationRetry>;
|
|
1663
|
+
export declare function streamRunAgentModelConfigurationRetryToJSON(streamRunAgentModelConfigurationRetry: StreamRunAgentModelConfigurationRetry): string;
|
|
1664
|
+
export declare function streamRunAgentModelConfigurationRetryFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfigurationRetry, SDKValidationError>;
|
|
3607
1665
|
/** @internal */
|
|
3608
|
-
export declare const
|
|
1666
|
+
export declare const StreamRunAgentModelConfiguration2$inboundSchema: z.ZodType<StreamRunAgentModelConfiguration2, z.ZodTypeDef, unknown>;
|
|
3609
1667
|
/** @internal */
|
|
3610
|
-
export type
|
|
1668
|
+
export type StreamRunAgentModelConfiguration2$Outbound = {
|
|
3611
1669
|
id: string;
|
|
3612
|
-
|
|
3613
|
-
|
|
1670
|
+
parameters?: StreamRunAgentModelConfigurationParameters$Outbound | undefined;
|
|
1671
|
+
retry?: StreamRunAgentModelConfigurationRetry$Outbound | undefined;
|
|
3614
1672
|
};
|
|
3615
1673
|
/** @internal */
|
|
3616
|
-
export declare const
|
|
3617
|
-
export declare function
|
|
3618
|
-
export declare function
|
|
3619
|
-
/** @internal */
|
|
3620
|
-
export declare const StreamRunAgentAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentsExecuteOn>;
|
|
1674
|
+
export declare const StreamRunAgentModelConfiguration2$outboundSchema: z.ZodType<StreamRunAgentModelConfiguration2$Outbound, z.ZodTypeDef, StreamRunAgentModelConfiguration2>;
|
|
1675
|
+
export declare function streamRunAgentModelConfiguration2ToJSON(streamRunAgentModelConfiguration2: StreamRunAgentModelConfiguration2): string;
|
|
1676
|
+
export declare function streamRunAgentModelConfiguration2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfiguration2, SDKValidationError>;
|
|
3621
1677
|
/** @internal */
|
|
3622
|
-
export declare const
|
|
1678
|
+
export declare const StreamRunAgentModelConfiguration$inboundSchema: z.ZodType<StreamRunAgentModelConfiguration, z.ZodTypeDef, unknown>;
|
|
3623
1679
|
/** @internal */
|
|
3624
|
-
export
|
|
1680
|
+
export type StreamRunAgentModelConfiguration$Outbound = StreamRunAgentModelConfiguration2$Outbound | string;
|
|
3625
1681
|
/** @internal */
|
|
3626
|
-
export
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
execute_on: string;
|
|
3630
|
-
};
|
|
1682
|
+
export declare const StreamRunAgentModelConfiguration$outboundSchema: z.ZodType<StreamRunAgentModelConfiguration$Outbound, z.ZodTypeDef, StreamRunAgentModelConfiguration>;
|
|
1683
|
+
export declare function streamRunAgentModelConfigurationToJSON(streamRunAgentModelConfiguration: StreamRunAgentModelConfiguration): string;
|
|
1684
|
+
export declare function streamRunAgentModelConfigurationFromJSON(jsonString: string): SafeParseResult<StreamRunAgentModelConfiguration, SDKValidationError>;
|
|
3631
1685
|
/** @internal */
|
|
3632
|
-
export declare const
|
|
3633
|
-
export declare function streamRunAgentGuardrailsToJSON(streamRunAgentGuardrails: StreamRunAgentGuardrails): string;
|
|
3634
|
-
export declare function streamRunAgentGuardrailsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentGuardrails, SDKValidationError>;
|
|
1686
|
+
export declare const StreamRunAgentFallbackModelConfigurationVoice$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationVoice>;
|
|
3635
1687
|
/** @internal */
|
|
3636
|
-
export declare const
|
|
1688
|
+
export declare const StreamRunAgentFallbackModelConfigurationVoice$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationVoice>;
|
|
3637
1689
|
/** @internal */
|
|
3638
|
-
export
|
|
3639
|
-
tools?: Array<AgentToolInputRunHTTPToolRun$Outbound | AgentToolInputRunCodeToolRun$Outbound | AgentToolInputRunMCPToolRun$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> | undefined;
|
|
3640
|
-
tool_approval_required: string;
|
|
3641
|
-
max_iterations: number;
|
|
3642
|
-
max_execution_time: number;
|
|
3643
|
-
evaluators?: Array<StreamRunAgentEvaluators$Outbound> | undefined;
|
|
3644
|
-
guardrails?: Array<StreamRunAgentGuardrails$Outbound> | undefined;
|
|
3645
|
-
};
|
|
1690
|
+
export declare const StreamRunAgentFallbackModelConfigurationFormat$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationFormat>;
|
|
3646
1691
|
/** @internal */
|
|
3647
|
-
export declare const
|
|
3648
|
-
export declare function streamRunAgentSettingsToJSON(streamRunAgentSettings: StreamRunAgentSettings): string;
|
|
3649
|
-
export declare function streamRunAgentSettingsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentSettings, SDKValidationError>;
|
|
1692
|
+
export declare const StreamRunAgentFallbackModelConfigurationFormat$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationFormat>;
|
|
3650
1693
|
/** @internal */
|
|
3651
|
-
export declare const
|
|
1694
|
+
export declare const StreamRunAgentFallbackModelConfigurationAudio$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationAudio, z.ZodTypeDef, unknown>;
|
|
3652
1695
|
/** @internal */
|
|
3653
|
-
export type
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
model: StreamRunAgentModelConfiguration2$Outbound | string;
|
|
3657
|
-
fallback_models?: Array<StreamRunAgentFallbackModelConfiguration2$Outbound | string> | undefined;
|
|
3658
|
-
role: string;
|
|
3659
|
-
instructions: string;
|
|
3660
|
-
message: StreamRunAgentA2AMessage$Outbound;
|
|
3661
|
-
variables?: {
|
|
3662
|
-
[k: string]: any;
|
|
3663
|
-
} | undefined;
|
|
3664
|
-
contact?: StreamRunAgentContact$Outbound | undefined;
|
|
3665
|
-
thread?: StreamRunAgentThread$Outbound | undefined;
|
|
3666
|
-
memory?: StreamRunAgentMemory$Outbound | undefined;
|
|
3667
|
-
path: string;
|
|
3668
|
-
description?: string | undefined;
|
|
3669
|
-
system_prompt?: string | undefined;
|
|
3670
|
-
memory_stores?: Array<string> | undefined;
|
|
3671
|
-
knowledge_bases?: Array<StreamRunAgentKnowledgeBases$Outbound> | undefined;
|
|
3672
|
-
team_of_agents?: Array<StreamRunAgentTeamOfAgents$Outbound> | undefined;
|
|
3673
|
-
settings: StreamRunAgentSettings$Outbound;
|
|
3674
|
-
metadata?: {
|
|
3675
|
-
[k: string]: any;
|
|
3676
|
-
} | undefined;
|
|
3677
|
-
stream_timeout_seconds?: number | undefined;
|
|
1696
|
+
export type StreamRunAgentFallbackModelConfigurationAudio$Outbound = {
|
|
1697
|
+
voice: string;
|
|
1698
|
+
format: string;
|
|
3678
1699
|
};
|
|
3679
1700
|
/** @internal */
|
|
3680
|
-
export declare const
|
|
3681
|
-
export declare function
|
|
3682
|
-
export declare function
|
|
1701
|
+
export declare const StreamRunAgentFallbackModelConfigurationAudio$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationAudio$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationAudio>;
|
|
1702
|
+
export declare function streamRunAgentFallbackModelConfigurationAudioToJSON(streamRunAgentFallbackModelConfigurationAudio: StreamRunAgentFallbackModelConfigurationAudio): string;
|
|
1703
|
+
export declare function streamRunAgentFallbackModelConfigurationAudioFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationAudio, SDKValidationError>;
|
|
3683
1704
|
/** @internal */
|
|
3684
|
-
export declare const
|
|
1705
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsFallbackModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsFallbackModelConfigurationType>;
|
|
3685
1706
|
/** @internal */
|
|
3686
|
-
export declare const
|
|
1707
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsFallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsFallbackModelConfigurationType>;
|
|
3687
1708
|
/** @internal */
|
|
3688
|
-
export declare const
|
|
1709
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema, z.ZodTypeDef, unknown>;
|
|
3689
1710
|
/** @internal */
|
|
3690
|
-
export type
|
|
3691
|
-
|
|
3692
|
-
|
|
1711
|
+
export type StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound = {
|
|
1712
|
+
description?: string | undefined;
|
|
1713
|
+
name: string;
|
|
1714
|
+
schema?: any | undefined;
|
|
1715
|
+
strict: boolean;
|
|
3693
1716
|
};
|
|
3694
1717
|
/** @internal */
|
|
3695
|
-
export declare const
|
|
3696
|
-
export declare function
|
|
3697
|
-
export declare function
|
|
1718
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema>;
|
|
1719
|
+
export declare function streamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchemaToJSON(streamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema: StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema): string;
|
|
1720
|
+
export declare function streamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchemaFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema, SDKValidationError>;
|
|
3698
1721
|
/** @internal */
|
|
3699
|
-
export declare const
|
|
1722
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestJSONSchema$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsRequestJSONSchema, z.ZodTypeDef, unknown>;
|
|
3700
1723
|
/** @internal */
|
|
3701
|
-
export type
|
|
1724
|
+
export type StreamRunAgentResponseFormatAgentsRequestJSONSchema$Outbound = {
|
|
3702
1725
|
type: string;
|
|
3703
|
-
|
|
3704
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody17Data$Outbound;
|
|
1726
|
+
json_schema: StreamRunAgentResponseFormatAgentsRequestRequestBodyJsonSchema$Outbound;
|
|
3705
1727
|
};
|
|
3706
1728
|
/** @internal */
|
|
3707
|
-
export declare const
|
|
3708
|
-
export declare function
|
|
3709
|
-
export declare function
|
|
3710
|
-
/** @internal */
|
|
3711
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Type>;
|
|
3712
|
-
/** @internal */
|
|
3713
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Type>;
|
|
3714
|
-
/** @internal */
|
|
3715
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data, z.ZodTypeDef, unknown>;
|
|
1729
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestJSONSchema$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsRequestJSONSchema$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsRequestJSONSchema>;
|
|
1730
|
+
export declare function streamRunAgentResponseFormatAgentsRequestJSONSchemaToJSON(streamRunAgentResponseFormatAgentsRequestJSONSchema: StreamRunAgentResponseFormatAgentsRequestJSONSchema): string;
|
|
1731
|
+
export declare function streamRunAgentResponseFormatAgentsRequestJSONSchemaFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsRequestJSONSchema, SDKValidationError>;
|
|
3716
1732
|
/** @internal */
|
|
3717
|
-
export
|
|
3718
|
-
message: string;
|
|
3719
|
-
};
|
|
1733
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsType>;
|
|
3720
1734
|
/** @internal */
|
|
3721
|
-
export declare const
|
|
3722
|
-
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody16DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data): string;
|
|
3723
|
-
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody16DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data, SDKValidationError>;
|
|
1735
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyFallbackModelsType>;
|
|
3724
1736
|
/** @internal */
|
|
3725
|
-
export declare const
|
|
1737
|
+
export declare const StreamRunAgentResponseFormatAgentsJSONObject$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsJSONObject, z.ZodTypeDef, unknown>;
|
|
3726
1738
|
/** @internal */
|
|
3727
|
-
export type
|
|
1739
|
+
export type StreamRunAgentResponseFormatAgentsJSONObject$Outbound = {
|
|
3728
1740
|
type: string;
|
|
3729
|
-
timestamp: string;
|
|
3730
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody16Data$Outbound;
|
|
3731
|
-
};
|
|
3732
|
-
/** @internal */
|
|
3733
|
-
export declare const Sixteen$outboundSchema: z.ZodType<Sixteen$Outbound, z.ZodTypeDef, Sixteen>;
|
|
3734
|
-
export declare function sixteenToJSON(sixteen: Sixteen): string;
|
|
3735
|
-
export declare function sixteenFromJSON(jsonString: string): SafeParseResult<Sixteen, SDKValidationError>;
|
|
3736
|
-
/** @internal */
|
|
3737
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Type>;
|
|
3738
|
-
/** @internal */
|
|
3739
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Type>;
|
|
3740
|
-
/** @internal */
|
|
3741
|
-
export declare const ErrorT$inboundSchema: z.ZodType<ErrorT, z.ZodTypeDef, unknown>;
|
|
3742
|
-
/** @internal */
|
|
3743
|
-
export type ErrorT$Outbound = {
|
|
3744
|
-
message: string;
|
|
3745
|
-
stack?: string | undefined;
|
|
3746
|
-
};
|
|
3747
|
-
/** @internal */
|
|
3748
|
-
export declare const ErrorT$outboundSchema: z.ZodType<ErrorT$Outbound, z.ZodTypeDef, ErrorT>;
|
|
3749
|
-
export declare function errorToJSON(errorT: ErrorT): string;
|
|
3750
|
-
export declare function errorFromJSON(jsonString: string): SafeParseResult<ErrorT, SDKValidationError>;
|
|
3751
|
-
/** @internal */
|
|
3752
|
-
export declare const StreamRunAgentDataProduct$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataProduct>;
|
|
3753
|
-
/** @internal */
|
|
3754
|
-
export declare const StreamRunAgentDataProduct$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataProduct>;
|
|
3755
|
-
/** @internal */
|
|
3756
|
-
export declare const StreamRunAgentDataAgentsMemory$inboundSchema: z.ZodType<StreamRunAgentDataAgentsMemory, z.ZodTypeDef, unknown>;
|
|
3757
|
-
/** @internal */
|
|
3758
|
-
export type StreamRunAgentDataAgentsMemory$Outbound = {
|
|
3759
|
-
entity_id: string;
|
|
3760
1741
|
};
|
|
3761
1742
|
/** @internal */
|
|
3762
|
-
export declare const
|
|
3763
|
-
export declare function
|
|
3764
|
-
export declare function
|
|
3765
|
-
/** @internal */
|
|
3766
|
-
export declare const StreamRunAgentDataToolExecutionContext$inboundSchema: z.ZodType<StreamRunAgentDataToolExecutionContext, z.ZodTypeDef, unknown>;
|
|
3767
|
-
/** @internal */
|
|
3768
|
-
export type StreamRunAgentDataToolExecutionContext$Outbound = {
|
|
3769
|
-
action_id: string;
|
|
3770
|
-
agent_tool_call_id: string;
|
|
3771
|
-
workspace_id: string;
|
|
3772
|
-
agent_manifest_id: string;
|
|
3773
|
-
agent_execution_id: string;
|
|
3774
|
-
product: string;
|
|
3775
|
-
memory?: StreamRunAgentDataAgentsMemory$Outbound | undefined;
|
|
3776
|
-
parent_id?: string | undefined;
|
|
3777
|
-
};
|
|
3778
|
-
/** @internal */
|
|
3779
|
-
export declare const StreamRunAgentDataToolExecutionContext$outboundSchema: z.ZodType<StreamRunAgentDataToolExecutionContext$Outbound, z.ZodTypeDef, StreamRunAgentDataToolExecutionContext>;
|
|
3780
|
-
export declare function streamRunAgentDataToolExecutionContextToJSON(streamRunAgentDataToolExecutionContext: StreamRunAgentDataToolExecutionContext): string;
|
|
3781
|
-
export declare function streamRunAgentDataToolExecutionContextFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataToolExecutionContext, SDKValidationError>;
|
|
3782
|
-
/** @internal */
|
|
3783
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data$inboundSchema: z.ZodType<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data, z.ZodTypeDef, unknown>;
|
|
1743
|
+
export declare const StreamRunAgentResponseFormatAgentsJSONObject$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsJSONObject$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsJSONObject>;
|
|
1744
|
+
export declare function streamRunAgentResponseFormatAgentsJSONObjectToJSON(streamRunAgentResponseFormatAgentsJSONObject: StreamRunAgentResponseFormatAgentsJSONObject): string;
|
|
1745
|
+
export declare function streamRunAgentResponseFormatAgentsJSONObjectFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsJSONObject, SDKValidationError>;
|
|
3784
1746
|
/** @internal */
|
|
3785
|
-
export
|
|
3786
|
-
error: ErrorT$Outbound;
|
|
3787
|
-
action_type: string;
|
|
3788
|
-
tool_execution_context: StreamRunAgentDataToolExecutionContext$Outbound;
|
|
3789
|
-
responseId?: string | undefined;
|
|
3790
|
-
workflowRunId: string;
|
|
3791
|
-
};
|
|
1747
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyType>;
|
|
3792
1748
|
/** @internal */
|
|
3793
|
-
export declare const
|
|
3794
|
-
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody15DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data): string;
|
|
3795
|
-
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody15DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data, SDKValidationError>;
|
|
1749
|
+
export declare const StreamRunAgentResponseFormatAgentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentResponseFormatAgentsRequestRequestBodyType>;
|
|
3796
1750
|
/** @internal */
|
|
3797
|
-
export declare const
|
|
1751
|
+
export declare const StreamRunAgentResponseFormatAgentsText$inboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsText, z.ZodTypeDef, unknown>;
|
|
3798
1752
|
/** @internal */
|
|
3799
|
-
export type
|
|
1753
|
+
export type StreamRunAgentResponseFormatAgentsText$Outbound = {
|
|
3800
1754
|
type: string;
|
|
3801
|
-
timestamp: string;
|
|
3802
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody15Data$Outbound;
|
|
3803
1755
|
};
|
|
3804
1756
|
/** @internal */
|
|
3805
|
-
export declare const
|
|
3806
|
-
export declare function
|
|
3807
|
-
export declare function
|
|
3808
|
-
/** @internal */
|
|
3809
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Type>;
|
|
1757
|
+
export declare const StreamRunAgentResponseFormatAgentsText$outboundSchema: z.ZodType<StreamRunAgentResponseFormatAgentsText$Outbound, z.ZodTypeDef, StreamRunAgentResponseFormatAgentsText>;
|
|
1758
|
+
export declare function streamRunAgentResponseFormatAgentsTextToJSON(streamRunAgentResponseFormatAgentsText: StreamRunAgentResponseFormatAgentsText): string;
|
|
1759
|
+
export declare function streamRunAgentResponseFormatAgentsTextFromJSON(jsonString: string): SafeParseResult<StreamRunAgentResponseFormatAgentsText, SDKValidationError>;
|
|
3810
1760
|
/** @internal */
|
|
3811
|
-
export declare const
|
|
1761
|
+
export declare const StreamRunAgentFallbackModelConfigurationResponseFormat$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationResponseFormat, z.ZodTypeDef, unknown>;
|
|
3812
1762
|
/** @internal */
|
|
3813
|
-
export
|
|
1763
|
+
export type StreamRunAgentFallbackModelConfigurationResponseFormat$Outbound = StreamRunAgentResponseFormatAgentsRequestJSONSchema$Outbound | StreamRunAgentResponseFormatAgentsText$Outbound | StreamRunAgentResponseFormatAgentsJSONObject$Outbound;
|
|
3814
1764
|
/** @internal */
|
|
3815
|
-
export declare const
|
|
1765
|
+
export declare const StreamRunAgentFallbackModelConfigurationResponseFormat$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationResponseFormat$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationResponseFormat>;
|
|
1766
|
+
export declare function streamRunAgentFallbackModelConfigurationResponseFormatToJSON(streamRunAgentFallbackModelConfigurationResponseFormat: StreamRunAgentFallbackModelConfigurationResponseFormat): string;
|
|
1767
|
+
export declare function streamRunAgentFallbackModelConfigurationResponseFormatFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationResponseFormat, SDKValidationError>;
|
|
3816
1768
|
/** @internal */
|
|
3817
|
-
export declare const
|
|
1769
|
+
export declare const StreamRunAgentFallbackModelConfigurationStop$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationStop, z.ZodTypeDef, unknown>;
|
|
3818
1770
|
/** @internal */
|
|
3819
|
-
export type
|
|
3820
|
-
entity_id: string;
|
|
3821
|
-
};
|
|
1771
|
+
export type StreamRunAgentFallbackModelConfigurationStop$Outbound = string | Array<string>;
|
|
3822
1772
|
/** @internal */
|
|
3823
|
-
export declare const
|
|
3824
|
-
export declare function
|
|
3825
|
-
export declare function
|
|
1773
|
+
export declare const StreamRunAgentFallbackModelConfigurationStop$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationStop$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationStop>;
|
|
1774
|
+
export declare function streamRunAgentFallbackModelConfigurationStopToJSON(streamRunAgentFallbackModelConfigurationStop: StreamRunAgentFallbackModelConfigurationStop): string;
|
|
1775
|
+
export declare function streamRunAgentFallbackModelConfigurationStopFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationStop, SDKValidationError>;
|
|
3826
1776
|
/** @internal */
|
|
3827
|
-
export declare const
|
|
1777
|
+
export declare const StreamRunAgentFallbackModelConfigurationStreamOptions$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationStreamOptions, z.ZodTypeDef, unknown>;
|
|
3828
1778
|
/** @internal */
|
|
3829
|
-
export type
|
|
3830
|
-
|
|
3831
|
-
agent_tool_call_id: string;
|
|
3832
|
-
workspace_id: string;
|
|
3833
|
-
agent_manifest_id: string;
|
|
3834
|
-
agent_execution_id: string;
|
|
3835
|
-
product: string;
|
|
3836
|
-
memory?: StreamRunAgentDataMemory$Outbound | undefined;
|
|
3837
|
-
parent_id?: string | undefined;
|
|
1779
|
+
export type StreamRunAgentFallbackModelConfigurationStreamOptions$Outbound = {
|
|
1780
|
+
include_usage?: boolean | undefined;
|
|
3838
1781
|
};
|
|
3839
1782
|
/** @internal */
|
|
3840
|
-
export declare const
|
|
3841
|
-
export declare function
|
|
3842
|
-
export declare function
|
|
1783
|
+
export declare const StreamRunAgentFallbackModelConfigurationStreamOptions$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationStreamOptions$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationStreamOptions>;
|
|
1784
|
+
export declare function streamRunAgentFallbackModelConfigurationStreamOptionsToJSON(streamRunAgentFallbackModelConfigurationStreamOptions: StreamRunAgentFallbackModelConfigurationStreamOptions): string;
|
|
1785
|
+
export declare function streamRunAgentFallbackModelConfigurationStreamOptionsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationStreamOptions, SDKValidationError>;
|
|
1786
|
+
/** @internal */
|
|
1787
|
+
export declare const StreamRunAgentFallbackModelConfigurationType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationType>;
|
|
3843
1788
|
/** @internal */
|
|
3844
|
-
export declare const
|
|
1789
|
+
export declare const StreamRunAgentFallbackModelConfigurationType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationType>;
|
|
3845
1790
|
/** @internal */
|
|
3846
|
-
export
|
|
3847
|
-
result?: any | undefined;
|
|
3848
|
-
action_type: string;
|
|
3849
|
-
tool_execution_context: DataToolExecutionContext$Outbound;
|
|
3850
|
-
responseId?: string | undefined;
|
|
3851
|
-
workflowRunId: string;
|
|
3852
|
-
};
|
|
1791
|
+
export declare const StreamRunAgentFallbackModelConfigurationThinkingLevel$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationThinkingLevel>;
|
|
3853
1792
|
/** @internal */
|
|
3854
|
-
export declare const
|
|
3855
|
-
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody14DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data): string;
|
|
3856
|
-
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody14DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody14Data, SDKValidationError>;
|
|
1793
|
+
export declare const StreamRunAgentFallbackModelConfigurationThinkingLevel$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationThinkingLevel>;
|
|
3857
1794
|
/** @internal */
|
|
3858
|
-
export declare const
|
|
1795
|
+
export declare const StreamRunAgentFallbackModelConfigurationThinking$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationThinking, z.ZodTypeDef, unknown>;
|
|
3859
1796
|
/** @internal */
|
|
3860
|
-
export type
|
|
1797
|
+
export type StreamRunAgentFallbackModelConfigurationThinking$Outbound = {
|
|
3861
1798
|
type: string;
|
|
3862
|
-
|
|
3863
|
-
|
|
1799
|
+
budget_tokens: number;
|
|
1800
|
+
thinking_level?: string | undefined;
|
|
3864
1801
|
};
|
|
3865
1802
|
/** @internal */
|
|
3866
|
-
export declare const
|
|
3867
|
-
export declare function
|
|
3868
|
-
export declare function
|
|
3869
|
-
/** @internal */
|
|
3870
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type>;
|
|
3871
|
-
/** @internal */
|
|
3872
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Type>;
|
|
3873
|
-
/** @internal */
|
|
3874
|
-
export declare const Product$inboundSchema: z.ZodNativeEnum<typeof Product>;
|
|
3875
|
-
/** @internal */
|
|
3876
|
-
export declare const Product$outboundSchema: z.ZodNativeEnum<typeof Product>;
|
|
3877
|
-
/** @internal */
|
|
3878
|
-
export declare const DataMemory$inboundSchema: z.ZodType<DataMemory, z.ZodTypeDef, unknown>;
|
|
1803
|
+
export declare const StreamRunAgentFallbackModelConfigurationThinking$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationThinking$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationThinking>;
|
|
1804
|
+
export declare function streamRunAgentFallbackModelConfigurationThinkingToJSON(streamRunAgentFallbackModelConfigurationThinking: StreamRunAgentFallbackModelConfigurationThinking): string;
|
|
1805
|
+
export declare function streamRunAgentFallbackModelConfigurationThinkingFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationThinking, SDKValidationError>;
|
|
3879
1806
|
/** @internal */
|
|
3880
|
-
export
|
|
3881
|
-
entity_id: string;
|
|
3882
|
-
};
|
|
1807
|
+
export declare const StreamRunAgentToolChoiceAgentsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceAgentsType>;
|
|
3883
1808
|
/** @internal */
|
|
3884
|
-
export declare const
|
|
3885
|
-
export declare function dataMemoryToJSON(dataMemory: DataMemory): string;
|
|
3886
|
-
export declare function dataMemoryFromJSON(jsonString: string): SafeParseResult<DataMemory, SDKValidationError>;
|
|
1809
|
+
export declare const StreamRunAgentToolChoiceAgentsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceAgentsType>;
|
|
3887
1810
|
/** @internal */
|
|
3888
|
-
export declare const
|
|
1811
|
+
export declare const StreamRunAgentToolChoiceAgentsFunction$inboundSchema: z.ZodType<StreamRunAgentToolChoiceAgentsFunction, z.ZodTypeDef, unknown>;
|
|
3889
1812
|
/** @internal */
|
|
3890
|
-
export type
|
|
3891
|
-
|
|
3892
|
-
agent_tool_call_id: string;
|
|
3893
|
-
workspace_id: string;
|
|
3894
|
-
agent_manifest_id: string;
|
|
3895
|
-
agent_execution_id: string;
|
|
3896
|
-
product: string;
|
|
3897
|
-
memory?: DataMemory$Outbound | undefined;
|
|
3898
|
-
parent_id?: string | undefined;
|
|
1813
|
+
export type StreamRunAgentToolChoiceAgentsFunction$Outbound = {
|
|
1814
|
+
name?: string | undefined;
|
|
3899
1815
|
};
|
|
3900
1816
|
/** @internal */
|
|
3901
|
-
export declare const
|
|
3902
|
-
export declare function
|
|
3903
|
-
export declare function
|
|
1817
|
+
export declare const StreamRunAgentToolChoiceAgentsFunction$outboundSchema: z.ZodType<StreamRunAgentToolChoiceAgentsFunction$Outbound, z.ZodTypeDef, StreamRunAgentToolChoiceAgentsFunction>;
|
|
1818
|
+
export declare function streamRunAgentToolChoiceAgentsFunctionToJSON(streamRunAgentToolChoiceAgentsFunction: StreamRunAgentToolChoiceAgentsFunction): string;
|
|
1819
|
+
export declare function streamRunAgentToolChoiceAgentsFunctionFromJSON(jsonString: string): SafeParseResult<StreamRunAgentToolChoiceAgentsFunction, SDKValidationError>;
|
|
3904
1820
|
/** @internal */
|
|
3905
|
-
export declare const
|
|
1821
|
+
export declare const StreamRunAgentToolChoiceAgents2$inboundSchema: z.ZodType<StreamRunAgentToolChoiceAgents2, z.ZodTypeDef, unknown>;
|
|
3906
1822
|
/** @internal */
|
|
3907
|
-
export type
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
tool_display_name?: string | undefined;
|
|
3911
|
-
action_type: string;
|
|
3912
|
-
tool_arguments: {
|
|
3913
|
-
[k: string]: any;
|
|
3914
|
-
};
|
|
3915
|
-
tool_execution_context: ToolExecutionContext$Outbound;
|
|
3916
|
-
responseId?: string | undefined;
|
|
3917
|
-
workflowRunId: string;
|
|
1823
|
+
export type StreamRunAgentToolChoiceAgents2$Outbound = {
|
|
1824
|
+
type?: string | undefined;
|
|
1825
|
+
function: StreamRunAgentToolChoiceAgentsFunction$Outbound;
|
|
3918
1826
|
};
|
|
3919
1827
|
/** @internal */
|
|
3920
|
-
export declare const
|
|
3921
|
-
export declare function
|
|
3922
|
-
export declare function
|
|
1828
|
+
export declare const StreamRunAgentToolChoiceAgents2$outboundSchema: z.ZodType<StreamRunAgentToolChoiceAgents2$Outbound, z.ZodTypeDef, StreamRunAgentToolChoiceAgents2>;
|
|
1829
|
+
export declare function streamRunAgentToolChoiceAgents2ToJSON(streamRunAgentToolChoiceAgents2: StreamRunAgentToolChoiceAgents2): string;
|
|
1830
|
+
export declare function streamRunAgentToolChoiceAgents2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentToolChoiceAgents2, SDKValidationError>;
|
|
3923
1831
|
/** @internal */
|
|
3924
|
-
export declare const
|
|
1832
|
+
export declare const StreamRunAgentToolChoiceAgents1$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceAgents1>;
|
|
3925
1833
|
/** @internal */
|
|
3926
|
-
export
|
|
3927
|
-
type: string;
|
|
3928
|
-
timestamp: string;
|
|
3929
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody13Data$Outbound;
|
|
3930
|
-
};
|
|
1834
|
+
export declare const StreamRunAgentToolChoiceAgents1$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolChoiceAgents1>;
|
|
3931
1835
|
/** @internal */
|
|
3932
|
-
export declare const
|
|
3933
|
-
export declare function thirteenToJSON(thirteen: Thirteen): string;
|
|
3934
|
-
export declare function thirteenFromJSON(jsonString: string): SafeParseResult<Thirteen, SDKValidationError>;
|
|
1836
|
+
export declare const StreamRunAgentFallbackModelConfigurationToolChoice$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationToolChoice, z.ZodTypeDef, unknown>;
|
|
3935
1837
|
/** @internal */
|
|
3936
|
-
export
|
|
1838
|
+
export type StreamRunAgentFallbackModelConfigurationToolChoice$Outbound = StreamRunAgentToolChoiceAgents2$Outbound | string;
|
|
3937
1839
|
/** @internal */
|
|
3938
|
-
export declare const
|
|
1840
|
+
export declare const StreamRunAgentFallbackModelConfigurationToolChoice$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationToolChoice$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationToolChoice>;
|
|
1841
|
+
export declare function streamRunAgentFallbackModelConfigurationToolChoiceToJSON(streamRunAgentFallbackModelConfigurationToolChoice: StreamRunAgentFallbackModelConfigurationToolChoice): string;
|
|
1842
|
+
export declare function streamRunAgentFallbackModelConfigurationToolChoiceFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationToolChoice, SDKValidationError>;
|
|
3939
1843
|
/** @internal */
|
|
3940
|
-
export declare const
|
|
1844
|
+
export declare const StreamRunAgentFallbackModelConfigurationModalities$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationModalities>;
|
|
3941
1845
|
/** @internal */
|
|
3942
|
-
export declare const
|
|
1846
|
+
export declare const StreamRunAgentFallbackModelConfigurationModalities$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentFallbackModelConfigurationModalities>;
|
|
3943
1847
|
/** @internal */
|
|
3944
|
-
export declare const
|
|
1848
|
+
export declare const StreamRunAgentFallbackModelConfigurationParameters$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationParameters, z.ZodTypeDef, unknown>;
|
|
3945
1849
|
/** @internal */
|
|
3946
|
-
export type
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
1850
|
+
export type StreamRunAgentFallbackModelConfigurationParameters$Outbound = {
|
|
1851
|
+
audio?: StreamRunAgentFallbackModelConfigurationAudio$Outbound | null | undefined;
|
|
1852
|
+
frequency_penalty?: number | null | undefined;
|
|
1853
|
+
max_tokens?: number | null | undefined;
|
|
1854
|
+
max_completion_tokens?: number | null | undefined;
|
|
1855
|
+
logprobs?: boolean | null | undefined;
|
|
1856
|
+
top_logprobs?: number | null | undefined;
|
|
1857
|
+
n?: number | null | undefined;
|
|
1858
|
+
presence_penalty?: number | null | undefined;
|
|
1859
|
+
response_format?: StreamRunAgentResponseFormatAgentsRequestJSONSchema$Outbound | StreamRunAgentResponseFormatAgentsText$Outbound | StreamRunAgentResponseFormatAgentsJSONObject$Outbound | undefined;
|
|
1860
|
+
reasoning_effort?: string | undefined;
|
|
1861
|
+
verbosity?: string | undefined;
|
|
1862
|
+
seed?: number | null | undefined;
|
|
1863
|
+
stop?: string | Array<string> | null | undefined;
|
|
1864
|
+
stream_options?: StreamRunAgentFallbackModelConfigurationStreamOptions$Outbound | null | undefined;
|
|
1865
|
+
thinking?: StreamRunAgentFallbackModelConfigurationThinking$Outbound | undefined;
|
|
1866
|
+
temperature?: number | null | undefined;
|
|
1867
|
+
top_p?: number | null | undefined;
|
|
1868
|
+
top_k?: number | null | undefined;
|
|
1869
|
+
tool_choice?: StreamRunAgentToolChoiceAgents2$Outbound | string | undefined;
|
|
1870
|
+
parallel_tool_calls?: boolean | undefined;
|
|
1871
|
+
modalities?: Array<string> | null | undefined;
|
|
1872
|
+
};
|
|
3957
1873
|
/** @internal */
|
|
3958
|
-
export declare const
|
|
3959
|
-
export declare function
|
|
3960
|
-
export declare function
|
|
1874
|
+
export declare const StreamRunAgentFallbackModelConfigurationParameters$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfigurationParameters$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfigurationParameters>;
|
|
1875
|
+
export declare function streamRunAgentFallbackModelConfigurationParametersToJSON(streamRunAgentFallbackModelConfigurationParameters: StreamRunAgentFallbackModelConfigurationParameters): string;
|
|
1876
|
+
export declare function streamRunAgentFallbackModelConfigurationParametersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfigurationParameters, SDKValidationError>;
|
|
3961
1877
|
/** @internal */
|
|
3962
|
-
export declare const
|
|
1878
|
+
export declare const StreamRunAgentFallbackModelConfiguration2$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfiguration2, z.ZodTypeDef, unknown>;
|
|
3963
1879
|
/** @internal */
|
|
3964
|
-
export type
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
parts: Array<(components.ToolCallPart$Outbound & {
|
|
3968
|
-
kind: "tool_call";
|
|
3969
|
-
}) | (components.TextPart$Outbound & {
|
|
3970
|
-
kind: "text";
|
|
3971
|
-
}) | (components.DataPart$Outbound & {
|
|
3972
|
-
kind: "data";
|
|
3973
|
-
}) | (components.FilePart$Outbound & {
|
|
3974
|
-
kind: "file";
|
|
3975
|
-
}) | (components.ToolResultPart$Outbound & {
|
|
3976
|
-
kind: "tool_result";
|
|
3977
|
-
})>;
|
|
3978
|
-
metadata?: {
|
|
3979
|
-
[k: string]: any;
|
|
3980
|
-
} | undefined;
|
|
1880
|
+
export type StreamRunAgentFallbackModelConfiguration2$Outbound = {
|
|
1881
|
+
id: string;
|
|
1882
|
+
parameters?: StreamRunAgentFallbackModelConfigurationParameters$Outbound | undefined;
|
|
3981
1883
|
};
|
|
3982
1884
|
/** @internal */
|
|
3983
|
-
export declare const
|
|
3984
|
-
export declare function
|
|
3985
|
-
export declare function
|
|
1885
|
+
export declare const StreamRunAgentFallbackModelConfiguration2$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfiguration2$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfiguration2>;
|
|
1886
|
+
export declare function streamRunAgentFallbackModelConfiguration2ToJSON(streamRunAgentFallbackModelConfiguration2: StreamRunAgentFallbackModelConfiguration2): string;
|
|
1887
|
+
export declare function streamRunAgentFallbackModelConfiguration2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfiguration2, SDKValidationError>;
|
|
3986
1888
|
/** @internal */
|
|
3987
|
-
export declare const
|
|
1889
|
+
export declare const StreamRunAgentFallbackModelConfiguration$inboundSchema: z.ZodType<StreamRunAgentFallbackModelConfiguration, z.ZodTypeDef, unknown>;
|
|
3988
1890
|
/** @internal */
|
|
3989
|
-
export type
|
|
3990
|
-
workflowRunId: string;
|
|
3991
|
-
spanId: string;
|
|
3992
|
-
parentId: string;
|
|
3993
|
-
message: Array<DataMessage$Outbound>;
|
|
3994
|
-
};
|
|
1891
|
+
export type StreamRunAgentFallbackModelConfiguration$Outbound = StreamRunAgentFallbackModelConfiguration2$Outbound | string;
|
|
3995
1892
|
/** @internal */
|
|
3996
|
-
export declare const
|
|
3997
|
-
export declare function
|
|
3998
|
-
export declare function
|
|
1893
|
+
export declare const StreamRunAgentFallbackModelConfiguration$outboundSchema: z.ZodType<StreamRunAgentFallbackModelConfiguration$Outbound, z.ZodTypeDef, StreamRunAgentFallbackModelConfiguration>;
|
|
1894
|
+
export declare function streamRunAgentFallbackModelConfigurationToJSON(streamRunAgentFallbackModelConfiguration: StreamRunAgentFallbackModelConfiguration): string;
|
|
1895
|
+
export declare function streamRunAgentFallbackModelConfigurationFromJSON(jsonString: string): SafeParseResult<StreamRunAgentFallbackModelConfiguration, SDKValidationError>;
|
|
3999
1896
|
/** @internal */
|
|
4000
|
-
export declare const
|
|
1897
|
+
export declare const StreamRunAgentRoleToolMessage$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentRoleToolMessage>;
|
|
4001
1898
|
/** @internal */
|
|
4002
|
-
export
|
|
4003
|
-
type: string;
|
|
4004
|
-
timestamp: string;
|
|
4005
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody12Data$Outbound;
|
|
4006
|
-
};
|
|
1899
|
+
export declare const StreamRunAgentRoleToolMessage$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentRoleToolMessage>;
|
|
4007
1900
|
/** @internal */
|
|
4008
|
-
export declare const
|
|
4009
|
-
export declare function twelveToJSON(twelve: Twelve): string;
|
|
4010
|
-
export declare function twelveFromJSON(jsonString: string): SafeParseResult<Twelve, SDKValidationError>;
|
|
1901
|
+
export declare const StreamRunAgentRoleUserMessage$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentRoleUserMessage>;
|
|
4011
1902
|
/** @internal */
|
|
4012
|
-
export declare const
|
|
1903
|
+
export declare const StreamRunAgentRoleUserMessage$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentRoleUserMessage>;
|
|
4013
1904
|
/** @internal */
|
|
4014
|
-
export declare const
|
|
1905
|
+
export declare const StreamRunAgentRole$inboundSchema: z.ZodType<StreamRunAgentRole, z.ZodTypeDef, unknown>;
|
|
4015
1906
|
/** @internal */
|
|
4016
|
-
export
|
|
1907
|
+
export type StreamRunAgentRole$Outbound = string | string;
|
|
4017
1908
|
/** @internal */
|
|
4018
|
-
export
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
};
|
|
1909
|
+
export declare const StreamRunAgentRole$outboundSchema: z.ZodType<StreamRunAgentRole$Outbound, z.ZodTypeDef, StreamRunAgentRole>;
|
|
1910
|
+
export declare function streamRunAgentRoleToJSON(streamRunAgentRole: StreamRunAgentRole): string;
|
|
1911
|
+
export declare function streamRunAgentRoleFromJSON(jsonString: string): SafeParseResult<StreamRunAgentRole, SDKValidationError>;
|
|
4022
1912
|
/** @internal */
|
|
4023
|
-
export declare const
|
|
4024
|
-
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody11DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data): string;
|
|
4025
|
-
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody11DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data, SDKValidationError>;
|
|
1913
|
+
export declare const StreamRunAgentPublicMessagePart$inboundSchema: z.ZodType<StreamRunAgentPublicMessagePart, z.ZodTypeDef, unknown>;
|
|
4026
1914
|
/** @internal */
|
|
4027
|
-
export
|
|
1915
|
+
export type StreamRunAgentPublicMessagePart$Outbound = components.TextPart$Outbound | components.FilePart$Outbound | components.ToolResultPart$Outbound;
|
|
4028
1916
|
/** @internal */
|
|
4029
|
-
export
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody11Data$Outbound;
|
|
4033
|
-
};
|
|
1917
|
+
export declare const StreamRunAgentPublicMessagePart$outboundSchema: z.ZodType<StreamRunAgentPublicMessagePart$Outbound, z.ZodTypeDef, StreamRunAgentPublicMessagePart>;
|
|
1918
|
+
export declare function streamRunAgentPublicMessagePartToJSON(streamRunAgentPublicMessagePart: StreamRunAgentPublicMessagePart): string;
|
|
1919
|
+
export declare function streamRunAgentPublicMessagePartFromJSON(jsonString: string): SafeParseResult<StreamRunAgentPublicMessagePart, SDKValidationError>;
|
|
4034
1920
|
/** @internal */
|
|
4035
|
-
export declare const
|
|
4036
|
-
export declare function elevenToJSON(eleven: Eleven): string;
|
|
4037
|
-
export declare function elevenFromJSON(jsonString: string): SafeParseResult<Eleven, SDKValidationError>;
|
|
1921
|
+
export declare const StreamRunAgentA2AMessage$inboundSchema: z.ZodType<StreamRunAgentA2AMessage, z.ZodTypeDef, unknown>;
|
|
4038
1922
|
/** @internal */
|
|
4039
|
-
export
|
|
1923
|
+
export type StreamRunAgentA2AMessage$Outbound = {
|
|
1924
|
+
messageId?: string | undefined;
|
|
1925
|
+
role: string | string;
|
|
1926
|
+
parts: Array<components.TextPart$Outbound | components.FilePart$Outbound | components.ToolResultPart$Outbound>;
|
|
1927
|
+
};
|
|
4040
1928
|
/** @internal */
|
|
4041
|
-
export declare const
|
|
1929
|
+
export declare const StreamRunAgentA2AMessage$outboundSchema: z.ZodType<StreamRunAgentA2AMessage$Outbound, z.ZodTypeDef, StreamRunAgentA2AMessage>;
|
|
1930
|
+
export declare function streamRunAgentA2AMessageToJSON(streamRunAgentA2AMessage: StreamRunAgentA2AMessage): string;
|
|
1931
|
+
export declare function streamRunAgentA2AMessageFromJSON(jsonString: string): SafeParseResult<StreamRunAgentA2AMessage, SDKValidationError>;
|
|
4042
1932
|
/** @internal */
|
|
4043
|
-
export declare const
|
|
1933
|
+
export declare const StreamRunAgentContact$inboundSchema: z.ZodType<StreamRunAgentContact, z.ZodTypeDef, unknown>;
|
|
4044
1934
|
/** @internal */
|
|
4045
|
-
export type
|
|
4046
|
-
|
|
4047
|
-
|
|
1935
|
+
export type StreamRunAgentContact$Outbound = {
|
|
1936
|
+
id: string;
|
|
1937
|
+
display_name?: string | undefined;
|
|
1938
|
+
email?: string | undefined;
|
|
1939
|
+
metadata?: Array<{
|
|
1940
|
+
[k: string]: any;
|
|
1941
|
+
}> | undefined;
|
|
1942
|
+
logo_url?: string | undefined;
|
|
1943
|
+
tags?: Array<string> | undefined;
|
|
4048
1944
|
};
|
|
4049
1945
|
/** @internal */
|
|
4050
|
-
export declare const
|
|
4051
|
-
export declare function
|
|
4052
|
-
export declare function
|
|
1946
|
+
export declare const StreamRunAgentContact$outboundSchema: z.ZodType<StreamRunAgentContact$Outbound, z.ZodTypeDef, StreamRunAgentContact>;
|
|
1947
|
+
export declare function streamRunAgentContactToJSON(streamRunAgentContact: StreamRunAgentContact): string;
|
|
1948
|
+
export declare function streamRunAgentContactFromJSON(jsonString: string): SafeParseResult<StreamRunAgentContact, SDKValidationError>;
|
|
4053
1949
|
/** @internal */
|
|
4054
|
-
export declare const
|
|
1950
|
+
export declare const StreamRunAgentThread$inboundSchema: z.ZodType<StreamRunAgentThread, z.ZodTypeDef, unknown>;
|
|
4055
1951
|
/** @internal */
|
|
4056
|
-
export type
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody10Data$Outbound;
|
|
1952
|
+
export type StreamRunAgentThread$Outbound = {
|
|
1953
|
+
id: string;
|
|
1954
|
+
tags?: Array<string> | undefined;
|
|
4060
1955
|
};
|
|
4061
1956
|
/** @internal */
|
|
4062
|
-
export declare const
|
|
4063
|
-
export declare function
|
|
4064
|
-
export declare function
|
|
4065
|
-
/** @internal */
|
|
4066
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type>;
|
|
4067
|
-
/** @internal */
|
|
4068
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Type>;
|
|
1957
|
+
export declare const StreamRunAgentThread$outboundSchema: z.ZodType<StreamRunAgentThread$Outbound, z.ZodTypeDef, StreamRunAgentThread>;
|
|
1958
|
+
export declare function streamRunAgentThreadToJSON(streamRunAgentThread: StreamRunAgentThread): string;
|
|
1959
|
+
export declare function streamRunAgentThreadFromJSON(jsonString: string): SafeParseResult<StreamRunAgentThread, SDKValidationError>;
|
|
4069
1960
|
/** @internal */
|
|
4070
|
-
export declare const
|
|
1961
|
+
export declare const StreamRunAgentMemory$inboundSchema: z.ZodType<StreamRunAgentMemory, z.ZodTypeDef, unknown>;
|
|
4071
1962
|
/** @internal */
|
|
4072
|
-
export type
|
|
1963
|
+
export type StreamRunAgentMemory$Outbound = {
|
|
1964
|
+
entity_id: string;
|
|
1965
|
+
};
|
|
4073
1966
|
/** @internal */
|
|
4074
|
-
export declare const
|
|
4075
|
-
export declare function
|
|
4076
|
-
export declare function
|
|
1967
|
+
export declare const StreamRunAgentMemory$outboundSchema: z.ZodType<StreamRunAgentMemory$Outbound, z.ZodTypeDef, StreamRunAgentMemory>;
|
|
1968
|
+
export declare function streamRunAgentMemoryToJSON(streamRunAgentMemory: StreamRunAgentMemory): string;
|
|
1969
|
+
export declare function streamRunAgentMemoryFromJSON(jsonString: string): SafeParseResult<StreamRunAgentMemory, SDKValidationError>;
|
|
4077
1970
|
/** @internal */
|
|
4078
|
-
export declare const
|
|
1971
|
+
export declare const StreamRunAgentKnowledgeBases$inboundSchema: z.ZodType<StreamRunAgentKnowledgeBases, z.ZodTypeDef, unknown>;
|
|
4079
1972
|
/** @internal */
|
|
4080
|
-
export type
|
|
4081
|
-
|
|
4082
|
-
timestamp: string;
|
|
4083
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody9Data$Outbound;
|
|
1973
|
+
export type StreamRunAgentKnowledgeBases$Outbound = {
|
|
1974
|
+
knowledge_id: string;
|
|
4084
1975
|
};
|
|
4085
1976
|
/** @internal */
|
|
4086
|
-
export declare const
|
|
4087
|
-
export declare function
|
|
4088
|
-
export declare function
|
|
1977
|
+
export declare const StreamRunAgentKnowledgeBases$outboundSchema: z.ZodType<StreamRunAgentKnowledgeBases$Outbound, z.ZodTypeDef, StreamRunAgentKnowledgeBases>;
|
|
1978
|
+
export declare function streamRunAgentKnowledgeBasesToJSON(streamRunAgentKnowledgeBases: StreamRunAgentKnowledgeBases): string;
|
|
1979
|
+
export declare function streamRunAgentKnowledgeBasesFromJSON(jsonString: string): SafeParseResult<StreamRunAgentKnowledgeBases, SDKValidationError>;
|
|
4089
1980
|
/** @internal */
|
|
4090
|
-
export declare const
|
|
1981
|
+
export declare const StreamRunAgentTeamOfAgents$inboundSchema: z.ZodType<StreamRunAgentTeamOfAgents, z.ZodTypeDef, unknown>;
|
|
4091
1982
|
/** @internal */
|
|
4092
|
-
export
|
|
1983
|
+
export type StreamRunAgentTeamOfAgents$Outbound = {
|
|
1984
|
+
key: string;
|
|
1985
|
+
role?: string | undefined;
|
|
1986
|
+
};
|
|
4093
1987
|
/** @internal */
|
|
4094
|
-
export declare const
|
|
1988
|
+
export declare const StreamRunAgentTeamOfAgents$outboundSchema: z.ZodType<StreamRunAgentTeamOfAgents$Outbound, z.ZodTypeDef, StreamRunAgentTeamOfAgents>;
|
|
1989
|
+
export declare function streamRunAgentTeamOfAgentsToJSON(streamRunAgentTeamOfAgents: StreamRunAgentTeamOfAgents): string;
|
|
1990
|
+
export declare function streamRunAgentTeamOfAgentsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentTeamOfAgents, SDKValidationError>;
|
|
4095
1991
|
/** @internal */
|
|
4096
|
-
export
|
|
1992
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15Type>;
|
|
4097
1993
|
/** @internal */
|
|
4098
|
-
export declare const
|
|
4099
|
-
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody8DataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data): string;
|
|
4100
|
-
export declare function streamRunAgentDataAgentsResponse200TextEventStreamResponseBody8DataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data, SDKValidationError>;
|
|
1994
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15Type>;
|
|
4101
1995
|
/** @internal */
|
|
4102
|
-
export declare const
|
|
1996
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsHeaders$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunAgentsHeaders, z.ZodTypeDef, unknown>;
|
|
4103
1997
|
/** @internal */
|
|
4104
|
-
export type
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
data: StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody8Data$Outbound;
|
|
1998
|
+
export type StreamRunAgentAgentToolInputRunAgentsHeaders$Outbound = {
|
|
1999
|
+
value: string;
|
|
2000
|
+
encrypted: boolean;
|
|
4108
2001
|
};
|
|
4109
2002
|
/** @internal */
|
|
4110
|
-
export declare const
|
|
4111
|
-
export declare function
|
|
4112
|
-
export declare function
|
|
4113
|
-
/** @internal */
|
|
4114
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type>;
|
|
4115
|
-
/** @internal */
|
|
4116
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamResponseBody7Type>;
|
|
2003
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsHeaders$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunAgentsHeaders$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunAgentsHeaders>;
|
|
2004
|
+
export declare function streamRunAgentAgentToolInputRunAgentsHeadersToJSON(streamRunAgentAgentToolInputRunAgentsHeaders: StreamRunAgentAgentToolInputRunAgentsHeaders): string;
|
|
2005
|
+
export declare function streamRunAgentAgentToolInputRunAgentsHeadersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunAgentsHeaders, SDKValidationError>;
|
|
4117
2006
|
/** @internal */
|
|
4118
|
-
export declare const
|
|
2007
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15McpType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15McpType>;
|
|
4119
2008
|
/** @internal */
|
|
4120
|
-
export declare const
|
|
2009
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15McpType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools15McpType>;
|
|
4121
2010
|
/** @internal */
|
|
4122
|
-
export declare const
|
|
2011
|
+
export declare const AgentToolInputRunSchema$inboundSchema: z.ZodType<AgentToolInputRunSchema, z.ZodTypeDef, unknown>;
|
|
4123
2012
|
/** @internal */
|
|
4124
|
-
export type
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
agent_tool_call_id: string;
|
|
4128
|
-
review: string;
|
|
4129
|
-
mock_output?: {
|
|
2013
|
+
export type AgentToolInputRunSchema$Outbound = {
|
|
2014
|
+
type: string;
|
|
2015
|
+
properties?: {
|
|
4130
2016
|
[k: string]: any;
|
|
4131
2017
|
} | undefined;
|
|
4132
|
-
|
|
4133
|
-
reviewed_by_id?: string | undefined;
|
|
4134
|
-
workflowRunId: string;
|
|
2018
|
+
required?: Array<string> | undefined;
|
|
4135
2019
|
};
|
|
4136
2020
|
/** @internal */
|
|
4137
|
-
export declare const
|
|
4138
|
-
export declare function
|
|
4139
|
-
export declare function
|
|
2021
|
+
export declare const AgentToolInputRunSchema$outboundSchema: z.ZodType<AgentToolInputRunSchema$Outbound, z.ZodTypeDef, AgentToolInputRunSchema>;
|
|
2022
|
+
export declare function agentToolInputRunSchemaToJSON(agentToolInputRunSchema: AgentToolInputRunSchema): string;
|
|
2023
|
+
export declare function agentToolInputRunSchemaFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunSchema, SDKValidationError>;
|
|
4140
2024
|
/** @internal */
|
|
4141
|
-
export declare const
|
|
2025
|
+
export declare const AgentToolInputRunTools$inboundSchema: z.ZodType<AgentToolInputRunTools, z.ZodTypeDef, unknown>;
|
|
4142
2026
|
/** @internal */
|
|
4143
|
-
export type
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
2027
|
+
export type AgentToolInputRunTools$Outbound = {
|
|
2028
|
+
id: string;
|
|
2029
|
+
name: string;
|
|
2030
|
+
description?: string | undefined;
|
|
2031
|
+
schema: AgentToolInputRunSchema$Outbound;
|
|
4147
2032
|
};
|
|
4148
2033
|
/** @internal */
|
|
4149
|
-
export declare const
|
|
4150
|
-
export declare function
|
|
4151
|
-
export declare function
|
|
2034
|
+
export declare const AgentToolInputRunTools$outboundSchema: z.ZodType<AgentToolInputRunTools$Outbound, z.ZodTypeDef, AgentToolInputRunTools>;
|
|
2035
|
+
export declare function agentToolInputRunToolsToJSON(agentToolInputRunTools: AgentToolInputRunTools): string;
|
|
2036
|
+
export declare function agentToolInputRunToolsFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunTools, SDKValidationError>;
|
|
4152
2037
|
/** @internal */
|
|
4153
|
-
export declare const
|
|
2038
|
+
export declare const AgentToolInputRunConnectionType$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunConnectionType>;
|
|
4154
2039
|
/** @internal */
|
|
4155
|
-
export declare const
|
|
2040
|
+
export declare const AgentToolInputRunConnectionType$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunConnectionType>;
|
|
4156
2041
|
/** @internal */
|
|
4157
|
-
export declare const
|
|
2042
|
+
export declare const AgentToolInputRunMcp$inboundSchema: z.ZodType<AgentToolInputRunMcp, z.ZodTypeDef, unknown>;
|
|
4158
2043
|
/** @internal */
|
|
4159
|
-
export type
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
2044
|
+
export type AgentToolInputRunMcp$Outbound = {
|
|
2045
|
+
server_url: string;
|
|
2046
|
+
headers?: {
|
|
2047
|
+
[k: string]: StreamRunAgentAgentToolInputRunAgentsHeaders$Outbound;
|
|
2048
|
+
} | undefined;
|
|
2049
|
+
tools: Array<AgentToolInputRunTools$Outbound>;
|
|
2050
|
+
connection_type: string;
|
|
4163
2051
|
};
|
|
4164
2052
|
/** @internal */
|
|
4165
|
-
export declare const
|
|
4166
|
-
export declare function
|
|
4167
|
-
export declare function
|
|
2053
|
+
export declare const AgentToolInputRunMcp$outboundSchema: z.ZodType<AgentToolInputRunMcp$Outbound, z.ZodTypeDef, AgentToolInputRunMcp>;
|
|
2054
|
+
export declare function agentToolInputRunMcpToJSON(agentToolInputRunMcp: AgentToolInputRunMcp): string;
|
|
2055
|
+
export declare function agentToolInputRunMcpFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunMcp, SDKValidationError>;
|
|
4168
2056
|
/** @internal */
|
|
4169
|
-
export declare const
|
|
2057
|
+
export declare const AgentToolInputRunMCPToolRun$inboundSchema: z.ZodType<AgentToolInputRunMCPToolRun, z.ZodTypeDef, unknown>;
|
|
4170
2058
|
/** @internal */
|
|
4171
|
-
export type
|
|
4172
|
-
|
|
4173
|
-
key
|
|
4174
|
-
|
|
2059
|
+
export type AgentToolInputRunMCPToolRun$Outbound = {
|
|
2060
|
+
type: string;
|
|
2061
|
+
key: string;
|
|
2062
|
+
_id?: string | undefined;
|
|
4175
2063
|
display_name?: string | undefined;
|
|
4176
|
-
description
|
|
2064
|
+
description: string;
|
|
2065
|
+
mcp: AgentToolInputRunMcp$Outbound;
|
|
4177
2066
|
requires_approval: boolean;
|
|
4178
|
-
tool_id?: string | undefined;
|
|
4179
|
-
conditions?: Array<DataConditions$Outbound> | undefined;
|
|
4180
|
-
timeout: number;
|
|
4181
2067
|
};
|
|
4182
2068
|
/** @internal */
|
|
4183
|
-
export declare const
|
|
4184
|
-
export declare function
|
|
4185
|
-
export declare function
|
|
2069
|
+
export declare const AgentToolInputRunMCPToolRun$outboundSchema: z.ZodType<AgentToolInputRunMCPToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunMCPToolRun>;
|
|
2070
|
+
export declare function agentToolInputRunMCPToolRunToJSON(agentToolInputRunMCPToolRun: AgentToolInputRunMCPToolRun): string;
|
|
2071
|
+
export declare function agentToolInputRunMCPToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunMCPToolRun, SDKValidationError>;
|
|
4186
2072
|
/** @internal */
|
|
4187
|
-
export declare const
|
|
2073
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type>;
|
|
4188
2074
|
/** @internal */
|
|
4189
|
-
export
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
requires_approval: boolean;
|
|
4193
|
-
tool: Tool$Outbound;
|
|
4194
|
-
input: {
|
|
4195
|
-
[k: string]: any;
|
|
4196
|
-
};
|
|
4197
|
-
agent_tool_call_id: string;
|
|
4198
|
-
responseId?: string | undefined;
|
|
4199
|
-
};
|
|
2075
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14Type>;
|
|
2076
|
+
/** @internal */
|
|
2077
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14FunctionType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14FunctionType>;
|
|
4200
2078
|
/** @internal */
|
|
4201
|
-
export declare const
|
|
4202
|
-
export declare function streamRunAgentDataAgentsResponse200TextEventStreamDataToJSON(streamRunAgentDataAgentsResponse200TextEventStreamData: StreamRunAgentDataAgentsResponse200TextEventStreamData): string;
|
|
4203
|
-
export declare function streamRunAgentDataAgentsResponse200TextEventStreamDataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsResponse200TextEventStreamData, SDKValidationError>;
|
|
2079
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14FunctionType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools14FunctionType>;
|
|
4204
2080
|
/** @internal */
|
|
4205
|
-
export declare const
|
|
2081
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsParameters$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunAgentsParameters, z.ZodTypeDef, unknown>;
|
|
4206
2082
|
/** @internal */
|
|
4207
|
-
export type
|
|
2083
|
+
export type StreamRunAgentAgentToolInputRunAgentsParameters$Outbound = {
|
|
4208
2084
|
type: string;
|
|
4209
|
-
|
|
4210
|
-
|
|
2085
|
+
properties: {
|
|
2086
|
+
[k: string]: any;
|
|
2087
|
+
};
|
|
2088
|
+
required: Array<string>;
|
|
2089
|
+
[additionalProperties: string]: unknown;
|
|
4211
2090
|
};
|
|
4212
2091
|
/** @internal */
|
|
4213
|
-
export declare const
|
|
4214
|
-
export declare function
|
|
4215
|
-
export declare function
|
|
4216
|
-
/** @internal */
|
|
4217
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamType>;
|
|
4218
|
-
/** @internal */
|
|
4219
|
-
export declare const StreamRunAgentDataAgentsResponse200TextEventStreamType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200TextEventStreamType>;
|
|
2092
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsParameters$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunAgentsParameters$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunAgentsParameters>;
|
|
2093
|
+
export declare function streamRunAgentAgentToolInputRunAgentsParametersToJSON(streamRunAgentAgentToolInputRunAgentsParameters: StreamRunAgentAgentToolInputRunAgentsParameters): string;
|
|
2094
|
+
export declare function streamRunAgentAgentToolInputRunAgentsParametersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunAgentsParameters, SDKValidationError>;
|
|
4220
2095
|
/** @internal */
|
|
4221
|
-
export declare const
|
|
2096
|
+
export declare const StreamRunAgentAgentToolInputRunFunction$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunFunction, z.ZodTypeDef, unknown>;
|
|
4222
2097
|
/** @internal */
|
|
4223
|
-
export type
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
2098
|
+
export type StreamRunAgentAgentToolInputRunFunction$Outbound = {
|
|
2099
|
+
name: string;
|
|
2100
|
+
description?: string | undefined;
|
|
2101
|
+
strict?: boolean | undefined;
|
|
2102
|
+
parameters?: StreamRunAgentAgentToolInputRunAgentsParameters$Outbound | undefined;
|
|
4228
2103
|
};
|
|
4229
2104
|
/** @internal */
|
|
4230
|
-
export declare const
|
|
4231
|
-
export declare function
|
|
4232
|
-
export declare function
|
|
2105
|
+
export declare const StreamRunAgentAgentToolInputRunFunction$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunFunction$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunFunction>;
|
|
2106
|
+
export declare function streamRunAgentAgentToolInputRunFunctionToJSON(streamRunAgentAgentToolInputRunFunction: StreamRunAgentAgentToolInputRunFunction): string;
|
|
2107
|
+
export declare function streamRunAgentAgentToolInputRunFunctionFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunFunction, SDKValidationError>;
|
|
4233
2108
|
/** @internal */
|
|
4234
|
-
export declare const
|
|
2109
|
+
export declare const AgentToolInputRunFunctionToolRun$inboundSchema: z.ZodType<AgentToolInputRunFunctionToolRun, z.ZodTypeDef, unknown>;
|
|
4235
2110
|
/** @internal */
|
|
4236
|
-
export type
|
|
2111
|
+
export type AgentToolInputRunFunctionToolRun$Outbound = {
|
|
4237
2112
|
type: string;
|
|
4238
|
-
|
|
4239
|
-
|
|
2113
|
+
key: string;
|
|
2114
|
+
_id?: string | undefined;
|
|
2115
|
+
display_name?: string | undefined;
|
|
2116
|
+
description?: string | undefined;
|
|
2117
|
+
function: StreamRunAgentAgentToolInputRunFunction$Outbound;
|
|
2118
|
+
requires_approval: boolean;
|
|
4240
2119
|
};
|
|
4241
2120
|
/** @internal */
|
|
4242
|
-
export declare const
|
|
4243
|
-
export declare function
|
|
4244
|
-
export declare function
|
|
4245
|
-
/** @internal */
|
|
4246
|
-
export declare const StreamRunAgentDataAgentsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200Type>;
|
|
4247
|
-
/** @internal */
|
|
4248
|
-
export declare const StreamRunAgentDataAgentsResponse200Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsResponse200Type>;
|
|
4249
|
-
/** @internal */
|
|
4250
|
-
export declare const StreamRunAgentDataAgentsRole$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataAgentsRole>;
|
|
2121
|
+
export declare const AgentToolInputRunFunctionToolRun$outboundSchema: z.ZodType<AgentToolInputRunFunctionToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunFunctionToolRun>;
|
|
2122
|
+
export declare function agentToolInputRunFunctionToolRunToJSON(agentToolInputRunFunctionToolRun: AgentToolInputRunFunctionToolRun): string;
|
|
2123
|
+
export declare function agentToolInputRunFunctionToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunFunctionToolRun, SDKValidationError>;
|
|
4251
2124
|
/** @internal */
|
|
4252
|
-
export declare const
|
|
2125
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type>;
|
|
4253
2126
|
/** @internal */
|
|
4254
|
-
export declare const
|
|
2127
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13Type>;
|
|
4255
2128
|
/** @internal */
|
|
4256
|
-
export
|
|
4257
|
-
kind: "tool_call";
|
|
4258
|
-
}) | (components.TextPart$Outbound & {
|
|
4259
|
-
kind: "text";
|
|
4260
|
-
}) | (components.DataPart$Outbound & {
|
|
4261
|
-
kind: "data";
|
|
4262
|
-
}) | (components.FilePart$Outbound & {
|
|
4263
|
-
kind: "file";
|
|
4264
|
-
}) | (components.ToolResultPart$Outbound & {
|
|
4265
|
-
kind: "tool_result";
|
|
4266
|
-
});
|
|
2129
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13CodeToolType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13CodeToolType>;
|
|
4267
2130
|
/** @internal */
|
|
4268
|
-
export declare const
|
|
4269
|
-
export declare function streamRunAgentDataAgentsPartsToJSON(streamRunAgentDataAgentsParts: StreamRunAgentDataAgentsParts): string;
|
|
4270
|
-
export declare function streamRunAgentDataAgentsPartsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsParts, SDKValidationError>;
|
|
2131
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13CodeToolType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools13CodeToolType>;
|
|
4271
2132
|
/** @internal */
|
|
4272
|
-
export declare const
|
|
2133
|
+
export declare const StreamRunAgentAgentToolInputRunParameters$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunParameters, z.ZodTypeDef, unknown>;
|
|
4273
2134
|
/** @internal */
|
|
4274
|
-
export type
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
parts: Array<(components.ToolCallPart$Outbound & {
|
|
4278
|
-
kind: "tool_call";
|
|
4279
|
-
}) | (components.TextPart$Outbound & {
|
|
4280
|
-
kind: "text";
|
|
4281
|
-
}) | (components.DataPart$Outbound & {
|
|
4282
|
-
kind: "data";
|
|
4283
|
-
}) | (components.FilePart$Outbound & {
|
|
4284
|
-
kind: "file";
|
|
4285
|
-
}) | (components.ToolResultPart$Outbound & {
|
|
4286
|
-
kind: "tool_result";
|
|
4287
|
-
})>;
|
|
4288
|
-
metadata?: {
|
|
2135
|
+
export type StreamRunAgentAgentToolInputRunParameters$Outbound = {
|
|
2136
|
+
type: string;
|
|
2137
|
+
properties: {
|
|
4289
2138
|
[k: string]: any;
|
|
4290
|
-
}
|
|
2139
|
+
};
|
|
2140
|
+
required: Array<string>;
|
|
2141
|
+
[additionalProperties: string]: unknown;
|
|
4291
2142
|
};
|
|
4292
2143
|
/** @internal */
|
|
4293
|
-
export declare const
|
|
4294
|
-
export declare function
|
|
4295
|
-
export declare function
|
|
4296
|
-
/** @internal */
|
|
4297
|
-
export declare const FinishReason$inboundSchema: z.ZodNativeEnum<typeof FinishReason>;
|
|
4298
|
-
/** @internal */
|
|
4299
|
-
export declare const FinishReason$outboundSchema: z.ZodNativeEnum<typeof FinishReason>;
|
|
2144
|
+
export declare const StreamRunAgentAgentToolInputRunParameters$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunParameters$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunParameters>;
|
|
2145
|
+
export declare function streamRunAgentAgentToolInputRunParametersToJSON(streamRunAgentAgentToolInputRunParameters: StreamRunAgentAgentToolInputRunParameters): string;
|
|
2146
|
+
export declare function streamRunAgentAgentToolInputRunParametersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunParameters, SDKValidationError>;
|
|
4300
2147
|
/** @internal */
|
|
4301
|
-
export declare const
|
|
2148
|
+
export declare const AgentToolInputRunLanguage$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunLanguage>;
|
|
4302
2149
|
/** @internal */
|
|
4303
|
-
export declare const
|
|
2150
|
+
export declare const AgentToolInputRunLanguage$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunLanguage>;
|
|
4304
2151
|
/** @internal */
|
|
4305
|
-
export declare const
|
|
2152
|
+
export declare const AgentToolInputRunCodeTool$inboundSchema: z.ZodType<AgentToolInputRunCodeTool, z.ZodTypeDef, unknown>;
|
|
4306
2153
|
/** @internal */
|
|
4307
|
-
export type
|
|
4308
|
-
|
|
4309
|
-
|
|
2154
|
+
export type AgentToolInputRunCodeTool$Outbound = {
|
|
2155
|
+
parameters?: StreamRunAgentAgentToolInputRunParameters$Outbound | undefined;
|
|
2156
|
+
language: string;
|
|
2157
|
+
code: string;
|
|
4310
2158
|
};
|
|
4311
2159
|
/** @internal */
|
|
4312
|
-
export declare const
|
|
4313
|
-
export declare function
|
|
4314
|
-
export declare function
|
|
2160
|
+
export declare const AgentToolInputRunCodeTool$outboundSchema: z.ZodType<AgentToolInputRunCodeTool$Outbound, z.ZodTypeDef, AgentToolInputRunCodeTool>;
|
|
2161
|
+
export declare function agentToolInputRunCodeToolToJSON(agentToolInputRunCodeTool: AgentToolInputRunCodeTool): string;
|
|
2162
|
+
export declare function agentToolInputRunCodeToolFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunCodeTool, SDKValidationError>;
|
|
4315
2163
|
/** @internal */
|
|
4316
|
-
export declare const
|
|
2164
|
+
export declare const AgentToolInputRunCodeToolRun$inboundSchema: z.ZodType<AgentToolInputRunCodeToolRun, z.ZodTypeDef, unknown>;
|
|
4317
2165
|
/** @internal */
|
|
4318
|
-
export type
|
|
4319
|
-
id: string;
|
|
2166
|
+
export type AgentToolInputRunCodeToolRun$Outbound = {
|
|
4320
2167
|
type: string;
|
|
4321
|
-
|
|
2168
|
+
key: string;
|
|
2169
|
+
_id?: string | undefined;
|
|
2170
|
+
display_name?: string | undefined;
|
|
2171
|
+
description: string;
|
|
2172
|
+
code_tool: AgentToolInputRunCodeTool$Outbound;
|
|
2173
|
+
requires_approval: boolean;
|
|
4322
2174
|
};
|
|
4323
2175
|
/** @internal */
|
|
4324
|
-
export declare const
|
|
4325
|
-
export declare function
|
|
4326
|
-
export declare function
|
|
2176
|
+
export declare const AgentToolInputRunCodeToolRun$outboundSchema: z.ZodType<AgentToolInputRunCodeToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunCodeToolRun>;
|
|
2177
|
+
export declare function agentToolInputRunCodeToolRunToJSON(agentToolInputRunCodeToolRun: AgentToolInputRunCodeToolRun): string;
|
|
2178
|
+
export declare function agentToolInputRunCodeToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunCodeToolRun, SDKValidationError>;
|
|
2179
|
+
/** @internal */
|
|
2180
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type>;
|
|
4327
2181
|
/** @internal */
|
|
4328
|
-
export declare const
|
|
2182
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12Type>;
|
|
4329
2183
|
/** @internal */
|
|
4330
|
-
export
|
|
4331
|
-
cached_tokens?: number | null | undefined;
|
|
4332
|
-
audio_tokens?: number | null | undefined;
|
|
4333
|
-
};
|
|
2184
|
+
export declare const AgentToolInputRunMethod$inboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunMethod>;
|
|
4334
2185
|
/** @internal */
|
|
4335
|
-
export declare const
|
|
4336
|
-
export declare function streamRunAgentDataPromptTokensDetailsToJSON(streamRunAgentDataPromptTokensDetails: StreamRunAgentDataPromptTokensDetails): string;
|
|
4337
|
-
export declare function streamRunAgentDataPromptTokensDetailsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataPromptTokensDetails, SDKValidationError>;
|
|
2186
|
+
export declare const AgentToolInputRunMethod$outboundSchema: z.ZodNativeEnum<typeof AgentToolInputRunMethod>;
|
|
4338
2187
|
/** @internal */
|
|
4339
|
-
export declare const
|
|
2188
|
+
export declare const StreamRunAgentHeaders2$inboundSchema: z.ZodType<StreamRunAgentHeaders2, z.ZodTypeDef, unknown>;
|
|
4340
2189
|
/** @internal */
|
|
4341
|
-
export type
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
rejected_prediction_tokens?: number | null | undefined;
|
|
4345
|
-
audio_tokens?: number | null | undefined;
|
|
2190
|
+
export type StreamRunAgentHeaders2$Outbound = {
|
|
2191
|
+
value: string;
|
|
2192
|
+
encrypted: boolean;
|
|
4346
2193
|
};
|
|
4347
2194
|
/** @internal */
|
|
4348
|
-
export declare const
|
|
4349
|
-
export declare function
|
|
4350
|
-
export declare function
|
|
2195
|
+
export declare const StreamRunAgentHeaders2$outboundSchema: z.ZodType<StreamRunAgentHeaders2$Outbound, z.ZodTypeDef, StreamRunAgentHeaders2>;
|
|
2196
|
+
export declare function streamRunAgentHeaders2ToJSON(streamRunAgentHeaders2: StreamRunAgentHeaders2): string;
|
|
2197
|
+
export declare function streamRunAgentHeaders2FromJSON(jsonString: string): SafeParseResult<StreamRunAgentHeaders2, SDKValidationError>;
|
|
4351
2198
|
/** @internal */
|
|
4352
|
-
export declare const
|
|
2199
|
+
export declare const StreamRunAgentAgentToolInputRunHeaders$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunHeaders, z.ZodTypeDef, unknown>;
|
|
4353
2200
|
/** @internal */
|
|
4354
|
-
export type
|
|
4355
|
-
completion_tokens?: number | undefined;
|
|
4356
|
-
prompt_tokens?: number | undefined;
|
|
4357
|
-
total_tokens?: number | undefined;
|
|
4358
|
-
prompt_tokens_details?: StreamRunAgentDataPromptTokensDetails$Outbound | null | undefined;
|
|
4359
|
-
completion_tokens_details?: StreamRunAgentDataCompletionTokensDetails$Outbound | null | undefined;
|
|
4360
|
-
};
|
|
2201
|
+
export type StreamRunAgentAgentToolInputRunHeaders$Outbound = StreamRunAgentHeaders2$Outbound | string;
|
|
4361
2202
|
/** @internal */
|
|
4362
|
-
export declare const
|
|
4363
|
-
export declare function
|
|
4364
|
-
export declare function
|
|
2203
|
+
export declare const StreamRunAgentAgentToolInputRunHeaders$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunHeaders$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunHeaders>;
|
|
2204
|
+
export declare function streamRunAgentAgentToolInputRunHeadersToJSON(streamRunAgentAgentToolInputRunHeaders: StreamRunAgentAgentToolInputRunHeaders): string;
|
|
2205
|
+
export declare function streamRunAgentAgentToolInputRunHeadersFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunHeaders, SDKValidationError>;
|
|
4365
2206
|
/** @internal */
|
|
4366
|
-
export declare const
|
|
2207
|
+
export declare const AgentToolInputRunBlueprint$inboundSchema: z.ZodType<AgentToolInputRunBlueprint, z.ZodTypeDef, unknown>;
|
|
4367
2208
|
/** @internal */
|
|
4368
|
-
export type
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
2209
|
+
export type AgentToolInputRunBlueprint$Outbound = {
|
|
2210
|
+
url: string;
|
|
2211
|
+
method: string;
|
|
2212
|
+
headers?: {
|
|
2213
|
+
[k: string]: StreamRunAgentHeaders2$Outbound | string;
|
|
2214
|
+
} | undefined;
|
|
2215
|
+
body?: {
|
|
2216
|
+
[k: string]: any;
|
|
2217
|
+
} | undefined;
|
|
4376
2218
|
};
|
|
4377
2219
|
/** @internal */
|
|
4378
|
-
export declare const
|
|
4379
|
-
export declare function
|
|
4380
|
-
export declare function
|
|
4381
|
-
/** @internal */
|
|
4382
|
-
export declare const Data4$inboundSchema: z.ZodType<Data4, z.ZodTypeDef, unknown>;
|
|
4383
|
-
/** @internal */
|
|
4384
|
-
export type Data4$Outbound = {
|
|
4385
|
-
type: string;
|
|
4386
|
-
timestamp: string;
|
|
4387
|
-
data: StreamRunAgentDataAgentsResponseData$Outbound;
|
|
4388
|
-
};
|
|
2220
|
+
export declare const AgentToolInputRunBlueprint$outboundSchema: z.ZodType<AgentToolInputRunBlueprint$Outbound, z.ZodTypeDef, AgentToolInputRunBlueprint>;
|
|
2221
|
+
export declare function agentToolInputRunBlueprintToJSON(agentToolInputRunBlueprint: AgentToolInputRunBlueprint): string;
|
|
2222
|
+
export declare function agentToolInputRunBlueprintFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunBlueprint, SDKValidationError>;
|
|
4389
2223
|
/** @internal */
|
|
4390
|
-
export declare const
|
|
4391
|
-
export declare function data4ToJSON(data4: Data4): string;
|
|
4392
|
-
export declare function data4FromJSON(jsonString: string): SafeParseResult<Data4, SDKValidationError>;
|
|
2224
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType>;
|
|
4393
2225
|
/** @internal */
|
|
4394
|
-
export declare const
|
|
2226
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools12HttpType>;
|
|
4395
2227
|
/** @internal */
|
|
4396
|
-
export declare const
|
|
2228
|
+
export declare const AgentToolInputRunDefaultValue$inboundSchema: z.ZodType<AgentToolInputRunDefaultValue, z.ZodTypeDef, unknown>;
|
|
4397
2229
|
/** @internal */
|
|
4398
|
-
export
|
|
2230
|
+
export type AgentToolInputRunDefaultValue$Outbound = string | number | boolean;
|
|
4399
2231
|
/** @internal */
|
|
4400
|
-
export declare const
|
|
2232
|
+
export declare const AgentToolInputRunDefaultValue$outboundSchema: z.ZodType<AgentToolInputRunDefaultValue$Outbound, z.ZodTypeDef, AgentToolInputRunDefaultValue>;
|
|
2233
|
+
export declare function agentToolInputRunDefaultValueToJSON(agentToolInputRunDefaultValue: AgentToolInputRunDefaultValue): string;
|
|
2234
|
+
export declare function agentToolInputRunDefaultValueFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunDefaultValue, SDKValidationError>;
|
|
4401
2235
|
/** @internal */
|
|
4402
|
-
export declare const
|
|
2236
|
+
export declare const AgentToolInputRunArguments$inboundSchema: z.ZodType<AgentToolInputRunArguments, z.ZodTypeDef, unknown>;
|
|
4403
2237
|
/** @internal */
|
|
4404
|
-
export type
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
}) | (components.FilePart$Outbound & {
|
|
4411
|
-
kind: "file";
|
|
4412
|
-
}) | (components.ToolResultPart$Outbound & {
|
|
4413
|
-
kind: "tool_result";
|
|
4414
|
-
});
|
|
2238
|
+
export type AgentToolInputRunArguments$Outbound = {
|
|
2239
|
+
type: string;
|
|
2240
|
+
description: string;
|
|
2241
|
+
send_to_model: boolean;
|
|
2242
|
+
default_value?: string | number | boolean | undefined;
|
|
2243
|
+
};
|
|
4415
2244
|
/** @internal */
|
|
4416
|
-
export declare const
|
|
4417
|
-
export declare function
|
|
4418
|
-
export declare function
|
|
2245
|
+
export declare const AgentToolInputRunArguments$outboundSchema: z.ZodType<AgentToolInputRunArguments$Outbound, z.ZodTypeDef, AgentToolInputRunArguments>;
|
|
2246
|
+
export declare function agentToolInputRunArgumentsToJSON(agentToolInputRunArguments: AgentToolInputRunArguments): string;
|
|
2247
|
+
export declare function agentToolInputRunArgumentsFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunArguments, SDKValidationError>;
|
|
4419
2248
|
/** @internal */
|
|
4420
|
-
export declare const
|
|
2249
|
+
export declare const AgentToolInputRunHttp$inboundSchema: z.ZodType<AgentToolInputRunHttp, z.ZodTypeDef, unknown>;
|
|
4421
2250
|
/** @internal */
|
|
4422
|
-
export type
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
kind: "tool_call";
|
|
4427
|
-
}) | (components.TextPart$Outbound & {
|
|
4428
|
-
kind: "text";
|
|
4429
|
-
}) | (components.DataPart$Outbound & {
|
|
4430
|
-
kind: "data";
|
|
4431
|
-
}) | (components.FilePart$Outbound & {
|
|
4432
|
-
kind: "file";
|
|
4433
|
-
}) | (components.ToolResultPart$Outbound & {
|
|
4434
|
-
kind: "tool_result";
|
|
4435
|
-
})>;
|
|
4436
|
-
metadata?: {
|
|
4437
|
-
[k: string]: any;
|
|
2251
|
+
export type AgentToolInputRunHttp$Outbound = {
|
|
2252
|
+
blueprint: AgentToolInputRunBlueprint$Outbound;
|
|
2253
|
+
arguments?: {
|
|
2254
|
+
[k: string]: AgentToolInputRunArguments$Outbound;
|
|
4438
2255
|
} | undefined;
|
|
4439
|
-
agent_id: string;
|
|
4440
|
-
agent_execution_id: string;
|
|
4441
|
-
workspace_id: string;
|
|
4442
2256
|
};
|
|
4443
2257
|
/** @internal */
|
|
4444
|
-
export declare const
|
|
4445
|
-
export declare function
|
|
4446
|
-
export declare function
|
|
4447
|
-
/** @internal */
|
|
4448
|
-
export declare const StreamRunAgentDataFinishReason$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataFinishReason>;
|
|
4449
|
-
/** @internal */
|
|
4450
|
-
export declare const StreamRunAgentDataFinishReason$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataFinishReason>;
|
|
2258
|
+
export declare const AgentToolInputRunHttp$outboundSchema: z.ZodType<AgentToolInputRunHttp$Outbound, z.ZodTypeDef, AgentToolInputRunHttp>;
|
|
2259
|
+
export declare function agentToolInputRunHttpToJSON(agentToolInputRunHttp: AgentToolInputRunHttp): string;
|
|
2260
|
+
export declare function agentToolInputRunHttpFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunHttp, SDKValidationError>;
|
|
4451
2261
|
/** @internal */
|
|
4452
|
-
export declare const
|
|
2262
|
+
export declare const AgentToolInputRunHTTPToolRun$inboundSchema: z.ZodType<AgentToolInputRunHTTPToolRun, z.ZodTypeDef, unknown>;
|
|
4453
2263
|
/** @internal */
|
|
4454
|
-
export
|
|
2264
|
+
export type AgentToolInputRunHTTPToolRun$Outbound = {
|
|
2265
|
+
type: string;
|
|
2266
|
+
key: string;
|
|
2267
|
+
_id?: string | undefined;
|
|
2268
|
+
display_name?: string | undefined;
|
|
2269
|
+
description: string;
|
|
2270
|
+
http: AgentToolInputRunHttp$Outbound;
|
|
2271
|
+
requires_approval: boolean;
|
|
2272
|
+
};
|
|
4455
2273
|
/** @internal */
|
|
4456
|
-
export declare const
|
|
2274
|
+
export declare const AgentToolInputRunHTTPToolRun$outboundSchema: z.ZodType<AgentToolInputRunHTTPToolRun$Outbound, z.ZodTypeDef, AgentToolInputRunHTTPToolRun>;
|
|
2275
|
+
export declare function agentToolInputRunHTTPToolRunToJSON(agentToolInputRunHTTPToolRun: AgentToolInputRunHTTPToolRun): string;
|
|
2276
|
+
export declare function agentToolInputRunHTTPToolRunFromJSON(jsonString: string): SafeParseResult<AgentToolInputRunHTTPToolRun, SDKValidationError>;
|
|
4457
2277
|
/** @internal */
|
|
4458
|
-
export
|
|
4459
|
-
name?: string | undefined;
|
|
4460
|
-
arguments?: string | undefined;
|
|
4461
|
-
};
|
|
2278
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type>;
|
|
4462
2279
|
/** @internal */
|
|
4463
|
-
export declare const
|
|
4464
|
-
export declare function streamRunAgentDataAgentsFunctionToJSON(streamRunAgentDataAgentsFunction: StreamRunAgentDataAgentsFunction): string;
|
|
4465
|
-
export declare function streamRunAgentDataAgentsFunctionFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsFunction, SDKValidationError>;
|
|
2280
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools11Type>;
|
|
4466
2281
|
/** @internal */
|
|
4467
|
-
export declare const
|
|
2282
|
+
export declare const StreamRunAgentAgentToolInputRunCurrentDateTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCurrentDateTool, z.ZodTypeDef, unknown>;
|
|
4468
2283
|
/** @internal */
|
|
4469
|
-
export type
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
function?: StreamRunAgentDataAgentsFunction$Outbound | undefined;
|
|
2284
|
+
export type StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound = {
|
|
2285
|
+
type: string;
|
|
2286
|
+
requires_approval?: boolean | undefined;
|
|
4473
2287
|
};
|
|
4474
2288
|
/** @internal */
|
|
4475
|
-
export declare const
|
|
4476
|
-
export declare function
|
|
4477
|
-
export declare function
|
|
2289
|
+
export declare const StreamRunAgentAgentToolInputRunCurrentDateTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCurrentDateTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunCurrentDateTool>;
|
|
2290
|
+
export declare function streamRunAgentAgentToolInputRunCurrentDateToolToJSON(streamRunAgentAgentToolInputRunCurrentDateTool: StreamRunAgentAgentToolInputRunCurrentDateTool): string;
|
|
2291
|
+
export declare function streamRunAgentAgentToolInputRunCurrentDateToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunCurrentDateTool, SDKValidationError>;
|
|
4478
2292
|
/** @internal */
|
|
4479
|
-
export declare const
|
|
2293
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type>;
|
|
4480
2294
|
/** @internal */
|
|
4481
|
-
export declare const
|
|
2295
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools10Type>;
|
|
4482
2296
|
/** @internal */
|
|
4483
|
-
export declare const
|
|
2297
|
+
export declare const StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool, z.ZodTypeDef, unknown>;
|
|
4484
2298
|
/** @internal */
|
|
4485
|
-
export type
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
data: string;
|
|
4489
|
-
transcript: string;
|
|
2299
|
+
export type StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound = {
|
|
2300
|
+
type: string;
|
|
2301
|
+
requires_approval?: boolean | undefined;
|
|
4490
2302
|
};
|
|
4491
2303
|
/** @internal */
|
|
4492
|
-
export declare const
|
|
4493
|
-
export declare function
|
|
4494
|
-
export declare function
|
|
4495
|
-
/** @internal */
|
|
4496
|
-
export declare const StreamRunAgentDataMessage$inboundSchema: z.ZodType<StreamRunAgentDataMessage, z.ZodTypeDef, unknown>;
|
|
2304
|
+
export declare const StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool>;
|
|
2305
|
+
export declare function streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolToJSON(streamRunAgentAgentToolInputRunQueryKnowledgeBaseTool: StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool): string;
|
|
2306
|
+
export declare function streamRunAgentAgentToolInputRunQueryKnowledgeBaseToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunQueryKnowledgeBaseTool, SDKValidationError>;
|
|
4497
2307
|
/** @internal */
|
|
4498
|
-
export
|
|
4499
|
-
content?: string | null | undefined;
|
|
4500
|
-
refusal?: string | null | undefined;
|
|
4501
|
-
tool_calls?: Array<DataToolCalls$Outbound> | undefined;
|
|
4502
|
-
role?: string | undefined;
|
|
4503
|
-
reasoning?: string | null | undefined;
|
|
4504
|
-
reasoning_signature?: string | null | undefined;
|
|
4505
|
-
redacted_reasoning?: string | undefined;
|
|
4506
|
-
audio?: DataAudio$Outbound | null | undefined;
|
|
4507
|
-
};
|
|
2308
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type>;
|
|
4508
2309
|
/** @internal */
|
|
4509
|
-
export declare const
|
|
4510
|
-
export declare function streamRunAgentDataMessageToJSON(streamRunAgentDataMessage: StreamRunAgentDataMessage): string;
|
|
4511
|
-
export declare function streamRunAgentDataMessageFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataMessage, SDKValidationError>;
|
|
2310
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools9Type>;
|
|
4512
2311
|
/** @internal */
|
|
4513
|
-
export declare const
|
|
2312
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool, z.ZodTypeDef, unknown>;
|
|
4514
2313
|
/** @internal */
|
|
4515
|
-
export type
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
bytes: Array<number> | null;
|
|
2314
|
+
export type StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound = {
|
|
2315
|
+
type: string;
|
|
2316
|
+
requires_approval?: boolean | undefined;
|
|
4519
2317
|
};
|
|
4520
2318
|
/** @internal */
|
|
4521
|
-
export declare const
|
|
4522
|
-
export declare function
|
|
4523
|
-
export declare function
|
|
4524
|
-
/** @internal */
|
|
4525
|
-
export declare const DataContent$inboundSchema: z.ZodType<DataContent, z.ZodTypeDef, unknown>;
|
|
2319
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool>;
|
|
2320
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolToJSON(streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool: StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool): string;
|
|
2321
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveKnowledgeBasesToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunRetrieveKnowledgeBasesTool, SDKValidationError>;
|
|
4526
2322
|
/** @internal */
|
|
4527
|
-
export
|
|
4528
|
-
token: string;
|
|
4529
|
-
logprob: number;
|
|
4530
|
-
bytes: Array<number> | null;
|
|
4531
|
-
top_logprobs: Array<TopLogprobs$Outbound>;
|
|
4532
|
-
};
|
|
2323
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type>;
|
|
4533
2324
|
/** @internal */
|
|
4534
|
-
export declare const
|
|
4535
|
-
export declare function dataContentToJSON(dataContent: DataContent): string;
|
|
4536
|
-
export declare function dataContentFromJSON(jsonString: string): SafeParseResult<DataContent, SDKValidationError>;
|
|
2325
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools8Type>;
|
|
4537
2326
|
/** @internal */
|
|
4538
|
-
export declare const
|
|
2327
|
+
export declare const StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool, z.ZodTypeDef, unknown>;
|
|
4539
2328
|
/** @internal */
|
|
4540
|
-
export type
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
bytes: Array<number> | null;
|
|
2329
|
+
export type StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound = {
|
|
2330
|
+
type: string;
|
|
2331
|
+
requires_approval?: boolean | undefined;
|
|
4544
2332
|
};
|
|
4545
2333
|
/** @internal */
|
|
4546
|
-
export declare const
|
|
4547
|
-
export declare function
|
|
4548
|
-
export declare function
|
|
4549
|
-
/** @internal */
|
|
4550
|
-
export declare const Refusal$inboundSchema: z.ZodType<Refusal, z.ZodTypeDef, unknown>;
|
|
2334
|
+
export declare const StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool>;
|
|
2335
|
+
export declare function streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolToJSON(streamRunAgentAgentToolInputRunDeleteMemoryDocumentTool: StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool): string;
|
|
2336
|
+
export declare function streamRunAgentAgentToolInputRunDeleteMemoryDocumentToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunDeleteMemoryDocumentTool, SDKValidationError>;
|
|
4551
2337
|
/** @internal */
|
|
4552
|
-
export
|
|
4553
|
-
token: string;
|
|
4554
|
-
logprob: number;
|
|
4555
|
-
bytes: Array<number> | null;
|
|
4556
|
-
top_logprobs: Array<DataTopLogprobs$Outbound>;
|
|
4557
|
-
};
|
|
2338
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type>;
|
|
4558
2339
|
/** @internal */
|
|
4559
|
-
export declare const
|
|
4560
|
-
export declare function refusalToJSON(refusal: Refusal): string;
|
|
4561
|
-
export declare function refusalFromJSON(jsonString: string): SafeParseResult<Refusal, SDKValidationError>;
|
|
2340
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsTools7Type>;
|
|
4562
2341
|
/** @internal */
|
|
4563
|
-
export declare const
|
|
2342
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool, z.ZodTypeDef, unknown>;
|
|
4564
2343
|
/** @internal */
|
|
4565
|
-
export type
|
|
4566
|
-
|
|
4567
|
-
|
|
2344
|
+
export type StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound = {
|
|
2345
|
+
type: string;
|
|
2346
|
+
requires_approval?: boolean | undefined;
|
|
4568
2347
|
};
|
|
4569
2348
|
/** @internal */
|
|
4570
|
-
export declare const
|
|
4571
|
-
export declare function
|
|
4572
|
-
export declare function
|
|
4573
|
-
/** @internal */
|
|
4574
|
-
export declare const Choice$inboundSchema: z.ZodType<Choice, z.ZodTypeDef, unknown>;
|
|
2349
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool>;
|
|
2350
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolToJSON(streamRunAgentAgentToolInputRunRetrieveMemoryStoresTool: StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool): string;
|
|
2351
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveMemoryStoresToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunRetrieveMemoryStoresTool, SDKValidationError>;
|
|
4575
2352
|
/** @internal */
|
|
4576
|
-
export
|
|
4577
|
-
finish_reason: string | null;
|
|
4578
|
-
index: number;
|
|
4579
|
-
message: StreamRunAgentDataMessage$Outbound;
|
|
4580
|
-
logprobs?: Logprobs$Outbound | null | undefined;
|
|
4581
|
-
};
|
|
2353
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType>;
|
|
4582
2354
|
/** @internal */
|
|
4583
|
-
export declare const
|
|
4584
|
-
export declare function choiceToJSON(choice: Choice): string;
|
|
4585
|
-
export declare function choiceFromJSON(jsonString: string): SafeParseResult<Choice, SDKValidationError>;
|
|
2355
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsToolsType>;
|
|
4586
2356
|
/** @internal */
|
|
4587
|
-
export declare const
|
|
2357
|
+
export declare const StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
4588
2358
|
/** @internal */
|
|
4589
|
-
export type
|
|
4590
|
-
|
|
4591
|
-
|
|
2359
|
+
export type StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound = {
|
|
2360
|
+
type: string;
|
|
2361
|
+
requires_approval?: boolean | undefined;
|
|
4592
2362
|
};
|
|
4593
2363
|
/** @internal */
|
|
4594
|
-
export declare const
|
|
4595
|
-
export declare function
|
|
4596
|
-
export declare function
|
|
4597
|
-
/** @internal */
|
|
4598
|
-
export declare const DataCompletionTokensDetails$inboundSchema: z.ZodType<DataCompletionTokensDetails, z.ZodTypeDef, unknown>;
|
|
2364
|
+
export declare const StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunWriteMemoryStoreTool>;
|
|
2365
|
+
export declare function streamRunAgentAgentToolInputRunWriteMemoryStoreToolToJSON(streamRunAgentAgentToolInputRunWriteMemoryStoreTool: StreamRunAgentAgentToolInputRunWriteMemoryStoreTool): string;
|
|
2366
|
+
export declare function streamRunAgentAgentToolInputRunWriteMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunWriteMemoryStoreTool, SDKValidationError>;
|
|
4599
2367
|
/** @internal */
|
|
4600
|
-
export
|
|
4601
|
-
reasoning_tokens?: number | null | undefined;
|
|
4602
|
-
accepted_prediction_tokens?: number | null | undefined;
|
|
4603
|
-
rejected_prediction_tokens?: number | null | undefined;
|
|
4604
|
-
audio_tokens?: number | null | undefined;
|
|
4605
|
-
};
|
|
2368
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType>;
|
|
4606
2369
|
/** @internal */
|
|
4607
|
-
export declare const
|
|
4608
|
-
export declare function dataCompletionTokensDetailsToJSON(dataCompletionTokensDetails: DataCompletionTokensDetails): string;
|
|
4609
|
-
export declare function dataCompletionTokensDetailsFromJSON(jsonString: string): SafeParseResult<DataCompletionTokensDetails, SDKValidationError>;
|
|
2370
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodySettingsType>;
|
|
4610
2371
|
/** @internal */
|
|
4611
|
-
export declare const
|
|
2372
|
+
export declare const StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool, z.ZodTypeDef, unknown>;
|
|
4612
2373
|
/** @internal */
|
|
4613
|
-
export type
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
total_tokens?: number | undefined;
|
|
4617
|
-
prompt_tokens_details?: DataPromptTokensDetails$Outbound | null | undefined;
|
|
4618
|
-
completion_tokens_details?: DataCompletionTokensDetails$Outbound | null | undefined;
|
|
2374
|
+
export type StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound = {
|
|
2375
|
+
type: string;
|
|
2376
|
+
requires_approval?: boolean | undefined;
|
|
4619
2377
|
};
|
|
4620
2378
|
/** @internal */
|
|
4621
|
-
export declare const
|
|
4622
|
-
export declare function
|
|
4623
|
-
export declare function
|
|
4624
|
-
/** @internal */
|
|
4625
|
-
export declare const StreamRunAgentDataAgentsData$inboundSchema: z.ZodType<StreamRunAgentDataAgentsData, z.ZodTypeDef, unknown>;
|
|
2379
|
+
export declare const StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunQueryMemoryStoreTool>;
|
|
2380
|
+
export declare function streamRunAgentAgentToolInputRunQueryMemoryStoreToolToJSON(streamRunAgentAgentToolInputRunQueryMemoryStoreTool: StreamRunAgentAgentToolInputRunQueryMemoryStoreTool): string;
|
|
2381
|
+
export declare function streamRunAgentAgentToolInputRunQueryMemoryStoreToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunQueryMemoryStoreTool, SDKValidationError>;
|
|
4626
2382
|
/** @internal */
|
|
4627
|
-
export
|
|
4628
|
-
agent_id: string;
|
|
4629
|
-
message_difference: {
|
|
4630
|
-
[k: string]: MessageDifference$Outbound;
|
|
4631
|
-
};
|
|
4632
|
-
choice?: Choice$Outbound | undefined;
|
|
4633
|
-
choiceIndex?: number | undefined;
|
|
4634
|
-
iteration: number;
|
|
4635
|
-
accumulated_execution_time: number;
|
|
4636
|
-
responseId?: string | undefined;
|
|
4637
|
-
usage?: DataUsage$Outbound | undefined;
|
|
4638
|
-
};
|
|
2383
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType>;
|
|
4639
2384
|
/** @internal */
|
|
4640
|
-
export declare const
|
|
4641
|
-
export declare function streamRunAgentDataAgentsDataToJSON(streamRunAgentDataAgentsData: StreamRunAgentDataAgentsData): string;
|
|
4642
|
-
export declare function streamRunAgentDataAgentsDataFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataAgentsData, SDKValidationError>;
|
|
2385
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestRequestBodyType>;
|
|
4643
2386
|
/** @internal */
|
|
4644
|
-
export declare const
|
|
2387
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveAgentsTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveAgentsTool, z.ZodTypeDef, unknown>;
|
|
4645
2388
|
/** @internal */
|
|
4646
|
-
export type
|
|
2389
|
+
export type StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound = {
|
|
4647
2390
|
type: string;
|
|
4648
|
-
|
|
4649
|
-
data: StreamRunAgentDataAgentsData$Outbound;
|
|
2391
|
+
requires_approval?: boolean | undefined;
|
|
4650
2392
|
};
|
|
4651
2393
|
/** @internal */
|
|
4652
|
-
export declare const
|
|
4653
|
-
export declare function
|
|
4654
|
-
export declare function
|
|
2394
|
+
export declare const StreamRunAgentAgentToolInputRunRetrieveAgentsTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunRetrieveAgentsTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunRetrieveAgentsTool>;
|
|
2395
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveAgentsToolToJSON(streamRunAgentAgentToolInputRunRetrieveAgentsTool: StreamRunAgentAgentToolInputRunRetrieveAgentsTool): string;
|
|
2396
|
+
export declare function streamRunAgentAgentToolInputRunRetrieveAgentsToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunRetrieveAgentsTool, SDKValidationError>;
|
|
4655
2397
|
/** @internal */
|
|
4656
|
-
export declare const
|
|
2398
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestType>;
|
|
4657
2399
|
/** @internal */
|
|
4658
|
-
export declare const
|
|
2400
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsRequestType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsRequestType>;
|
|
4659
2401
|
/** @internal */
|
|
4660
|
-
export declare const
|
|
2402
|
+
export declare const StreamRunAgentAgentToolInputRunCallSubAgentTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCallSubAgentTool, z.ZodTypeDef, unknown>;
|
|
4661
2403
|
/** @internal */
|
|
4662
|
-
export
|
|
2404
|
+
export type StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound = {
|
|
2405
|
+
type: string;
|
|
2406
|
+
requires_approval?: boolean | undefined;
|
|
2407
|
+
};
|
|
4663
2408
|
/** @internal */
|
|
4664
|
-
export declare const
|
|
2409
|
+
export declare const StreamRunAgentAgentToolInputRunCallSubAgentTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunCallSubAgentTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunCallSubAgentTool>;
|
|
2410
|
+
export declare function streamRunAgentAgentToolInputRunCallSubAgentToolToJSON(streamRunAgentAgentToolInputRunCallSubAgentTool: StreamRunAgentAgentToolInputRunCallSubAgentTool): string;
|
|
2411
|
+
export declare function streamRunAgentAgentToolInputRunCallSubAgentToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunCallSubAgentTool, SDKValidationError>;
|
|
4665
2412
|
/** @internal */
|
|
4666
|
-
export
|
|
4667
|
-
kind: "tool_call";
|
|
4668
|
-
}) | (components.TextPart$Outbound & {
|
|
4669
|
-
kind: "text";
|
|
4670
|
-
}) | (components.DataPart$Outbound & {
|
|
4671
|
-
kind: "data";
|
|
4672
|
-
}) | (components.FilePart$Outbound & {
|
|
4673
|
-
kind: "file";
|
|
4674
|
-
}) | (components.ToolResultPart$Outbound & {
|
|
4675
|
-
kind: "tool_result";
|
|
4676
|
-
});
|
|
2413
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsType>;
|
|
4677
2414
|
/** @internal */
|
|
4678
|
-
export declare const
|
|
4679
|
-
export declare function dataPartsToJSON(dataParts: DataParts): string;
|
|
4680
|
-
export declare function dataPartsFromJSON(jsonString: string): SafeParseResult<DataParts, SDKValidationError>;
|
|
2415
|
+
export declare const StreamRunAgentAgentToolInputRunAgentsType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunAgentsType>;
|
|
4681
2416
|
/** @internal */
|
|
4682
|
-
export declare const
|
|
2417
|
+
export declare const StreamRunAgentAgentToolInputRunWebScraperTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWebScraperTool, z.ZodTypeDef, unknown>;
|
|
4683
2418
|
/** @internal */
|
|
4684
|
-
export type
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
parts: Array<(components.ToolCallPart$Outbound & {
|
|
4688
|
-
kind: "tool_call";
|
|
4689
|
-
}) | (components.TextPart$Outbound & {
|
|
4690
|
-
kind: "text";
|
|
4691
|
-
}) | (components.DataPart$Outbound & {
|
|
4692
|
-
kind: "data";
|
|
4693
|
-
}) | (components.FilePart$Outbound & {
|
|
4694
|
-
kind: "file";
|
|
4695
|
-
}) | (components.ToolResultPart$Outbound & {
|
|
4696
|
-
kind: "tool_result";
|
|
4697
|
-
})>;
|
|
4698
|
-
metadata?: {
|
|
4699
|
-
[k: string]: any;
|
|
4700
|
-
} | undefined;
|
|
2419
|
+
export type StreamRunAgentAgentToolInputRunWebScraperTool$Outbound = {
|
|
2420
|
+
type: string;
|
|
2421
|
+
requires_approval?: boolean | undefined;
|
|
4701
2422
|
};
|
|
4702
2423
|
/** @internal */
|
|
4703
|
-
export declare const
|
|
4704
|
-
export declare function
|
|
4705
|
-
export declare function
|
|
2424
|
+
export declare const StreamRunAgentAgentToolInputRunWebScraperTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunWebScraperTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunWebScraperTool>;
|
|
2425
|
+
export declare function streamRunAgentAgentToolInputRunWebScraperToolToJSON(streamRunAgentAgentToolInputRunWebScraperTool: StreamRunAgentAgentToolInputRunWebScraperTool): string;
|
|
2426
|
+
export declare function streamRunAgentAgentToolInputRunWebScraperToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunWebScraperTool, SDKValidationError>;
|
|
4706
2427
|
/** @internal */
|
|
4707
|
-
export declare const
|
|
2428
|
+
export declare const StreamRunAgentAgentToolInputRunType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunType>;
|
|
4708
2429
|
/** @internal */
|
|
4709
|
-
export declare const
|
|
2430
|
+
export declare const StreamRunAgentAgentToolInputRunType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentToolInputRunType>;
|
|
4710
2431
|
/** @internal */
|
|
4711
|
-
export declare const
|
|
2432
|
+
export declare const StreamRunAgentAgentToolInputRunGoogleSearchTool$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunGoogleSearchTool, z.ZodTypeDef, unknown>;
|
|
4712
2433
|
/** @internal */
|
|
4713
|
-
export type
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
value: string;
|
|
2434
|
+
export type StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound = {
|
|
2435
|
+
type: string;
|
|
2436
|
+
requires_approval?: boolean | undefined;
|
|
4717
2437
|
};
|
|
4718
2438
|
/** @internal */
|
|
4719
|
-
export declare const
|
|
4720
|
-
export declare function
|
|
4721
|
-
export declare function
|
|
2439
|
+
export declare const StreamRunAgentAgentToolInputRunGoogleSearchTool$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRunGoogleSearchTool$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRunGoogleSearchTool>;
|
|
2440
|
+
export declare function streamRunAgentAgentToolInputRunGoogleSearchToolToJSON(streamRunAgentAgentToolInputRunGoogleSearchTool: StreamRunAgentAgentToolInputRunGoogleSearchTool): string;
|
|
2441
|
+
export declare function streamRunAgentAgentToolInputRunGoogleSearchToolFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRunGoogleSearchTool, SDKValidationError>;
|
|
2442
|
+
/** @internal */
|
|
2443
|
+
export declare const StreamRunAgentAgentToolInputRun$inboundSchema: z.ZodType<StreamRunAgentAgentToolInputRun, z.ZodTypeDef, unknown>;
|
|
4722
2444
|
/** @internal */
|
|
4723
|
-
export
|
|
2445
|
+
export type StreamRunAgentAgentToolInputRun$Outbound = AgentToolInputRunHTTPToolRun$Outbound | AgentToolInputRunCodeToolRun$Outbound | AgentToolInputRunMCPToolRun$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;
|
|
4724
2446
|
/** @internal */
|
|
4725
|
-
export
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
description?: string | undefined;
|
|
4731
|
-
requires_approval: boolean;
|
|
4732
|
-
tool_id?: string | undefined;
|
|
4733
|
-
conditions?: Array<StreamRunAgentDataConditions$Outbound> | undefined;
|
|
4734
|
-
timeout: number;
|
|
4735
|
-
};
|
|
2447
|
+
export declare const StreamRunAgentAgentToolInputRun$outboundSchema: z.ZodType<StreamRunAgentAgentToolInputRun$Outbound, z.ZodTypeDef, StreamRunAgentAgentToolInputRun>;
|
|
2448
|
+
export declare function streamRunAgentAgentToolInputRunToJSON(streamRunAgentAgentToolInputRun: StreamRunAgentAgentToolInputRun): string;
|
|
2449
|
+
export declare function streamRunAgentAgentToolInputRunFromJSON(jsonString: string): SafeParseResult<StreamRunAgentAgentToolInputRun, SDKValidationError>;
|
|
2450
|
+
/** @internal */
|
|
2451
|
+
export declare const StreamRunAgentToolApprovalRequired$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolApprovalRequired>;
|
|
4736
2452
|
/** @internal */
|
|
4737
|
-
export declare const
|
|
4738
|
-
export declare function streamRunAgentDataToolsToJSON(streamRunAgentDataTools: StreamRunAgentDataTools): string;
|
|
4739
|
-
export declare function streamRunAgentDataToolsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentDataTools, SDKValidationError>;
|
|
2453
|
+
export declare const StreamRunAgentToolApprovalRequired$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentToolApprovalRequired>;
|
|
4740
2454
|
/** @internal */
|
|
4741
|
-
export declare const
|
|
2455
|
+
export declare const StreamRunAgentExecuteOn$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentExecuteOn>;
|
|
4742
2456
|
/** @internal */
|
|
4743
|
-
export declare const
|
|
2457
|
+
export declare const StreamRunAgentExecuteOn$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentExecuteOn>;
|
|
4744
2458
|
/** @internal */
|
|
4745
|
-
export declare const
|
|
2459
|
+
export declare const StreamRunAgentEvaluators$inboundSchema: z.ZodType<StreamRunAgentEvaluators, z.ZodTypeDef, unknown>;
|
|
4746
2460
|
/** @internal */
|
|
4747
|
-
export type
|
|
2461
|
+
export type StreamRunAgentEvaluators$Outbound = {
|
|
4748
2462
|
id: string;
|
|
4749
2463
|
sample_rate: number;
|
|
4750
2464
|
execute_on: string;
|
|
4751
2465
|
};
|
|
4752
2466
|
/** @internal */
|
|
4753
|
-
export declare const
|
|
4754
|
-
export declare function
|
|
4755
|
-
export declare function
|
|
2467
|
+
export declare const StreamRunAgentEvaluators$outboundSchema: z.ZodType<StreamRunAgentEvaluators$Outbound, z.ZodTypeDef, StreamRunAgentEvaluators>;
|
|
2468
|
+
export declare function streamRunAgentEvaluatorsToJSON(streamRunAgentEvaluators: StreamRunAgentEvaluators): string;
|
|
2469
|
+
export declare function streamRunAgentEvaluatorsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentEvaluators, SDKValidationError>;
|
|
4756
2470
|
/** @internal */
|
|
4757
|
-
export declare const
|
|
2471
|
+
export declare const StreamRunAgentAgentsExecuteOn$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentsExecuteOn>;
|
|
4758
2472
|
/** @internal */
|
|
4759
|
-
export declare const
|
|
2473
|
+
export declare const StreamRunAgentAgentsExecuteOn$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentAgentsExecuteOn>;
|
|
4760
2474
|
/** @internal */
|
|
4761
|
-
export declare const
|
|
2475
|
+
export declare const StreamRunAgentGuardrails$inboundSchema: z.ZodType<StreamRunAgentGuardrails, z.ZodTypeDef, unknown>;
|
|
4762
2476
|
/** @internal */
|
|
4763
|
-
export type
|
|
2477
|
+
export type StreamRunAgentGuardrails$Outbound = {
|
|
4764
2478
|
id: string;
|
|
4765
2479
|
sample_rate: number;
|
|
4766
2480
|
execute_on: string;
|
|
4767
2481
|
};
|
|
4768
2482
|
/** @internal */
|
|
4769
|
-
export declare const
|
|
4770
|
-
export declare function
|
|
4771
|
-
export declare function
|
|
2483
|
+
export declare const StreamRunAgentGuardrails$outboundSchema: z.ZodType<StreamRunAgentGuardrails$Outbound, z.ZodTypeDef, StreamRunAgentGuardrails>;
|
|
2484
|
+
export declare function streamRunAgentGuardrailsToJSON(streamRunAgentGuardrails: StreamRunAgentGuardrails): string;
|
|
2485
|
+
export declare function streamRunAgentGuardrailsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentGuardrails, SDKValidationError>;
|
|
4772
2486
|
/** @internal */
|
|
4773
|
-
export declare const
|
|
2487
|
+
export declare const StreamRunAgentSettings$inboundSchema: z.ZodType<StreamRunAgentSettings, z.ZodTypeDef, unknown>;
|
|
4774
2488
|
/** @internal */
|
|
4775
|
-
export type
|
|
2489
|
+
export type StreamRunAgentSettings$Outbound = {
|
|
2490
|
+
tools?: Array<AgentToolInputRunHTTPToolRun$Outbound | AgentToolInputRunCodeToolRun$Outbound | AgentToolInputRunMCPToolRun$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> | undefined;
|
|
2491
|
+
tool_approval_required: string;
|
|
4776
2492
|
max_iterations: number;
|
|
4777
2493
|
max_execution_time: number;
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
evaluators?: Array<DataEvaluators$Outbound> | undefined;
|
|
4781
|
-
guardrails?: Array<DataGuardrails$Outbound> | undefined;
|
|
2494
|
+
evaluators?: Array<StreamRunAgentEvaluators$Outbound> | undefined;
|
|
2495
|
+
guardrails?: Array<StreamRunAgentGuardrails$Outbound> | undefined;
|
|
4782
2496
|
};
|
|
4783
2497
|
/** @internal */
|
|
4784
|
-
export declare const
|
|
4785
|
-
export declare function
|
|
4786
|
-
export declare function
|
|
2498
|
+
export declare const StreamRunAgentSettings$outboundSchema: z.ZodType<StreamRunAgentSettings$Outbound, z.ZodTypeDef, StreamRunAgentSettings>;
|
|
2499
|
+
export declare function streamRunAgentSettingsToJSON(streamRunAgentSettings: StreamRunAgentSettings): string;
|
|
2500
|
+
export declare function streamRunAgentSettingsFromJSON(jsonString: string): SafeParseResult<StreamRunAgentSettings, SDKValidationError>;
|
|
4787
2501
|
/** @internal */
|
|
4788
|
-
export declare const
|
|
2502
|
+
export declare const StreamRunAgentRequestBody$inboundSchema: z.ZodType<StreamRunAgentRequestBody, z.ZodTypeDef, unknown>;
|
|
4789
2503
|
/** @internal */
|
|
4790
|
-
export type
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
2504
|
+
export type StreamRunAgentRequestBody$Outbound = {
|
|
2505
|
+
key: string;
|
|
2506
|
+
task_id?: string | undefined;
|
|
2507
|
+
model: StreamRunAgentModelConfiguration2$Outbound | string;
|
|
2508
|
+
fallback_models?: Array<StreamRunAgentFallbackModelConfiguration2$Outbound | string> | undefined;
|
|
2509
|
+
role: string;
|
|
4795
2510
|
instructions: string;
|
|
4796
|
-
|
|
4797
|
-
settings?: DataSettings$Outbound | undefined;
|
|
4798
|
-
agent_manifest_id: string;
|
|
4799
|
-
agent_key: string;
|
|
2511
|
+
message: StreamRunAgentA2AMessage$Outbound;
|
|
4800
2512
|
variables?: {
|
|
4801
2513
|
[k: string]: any;
|
|
4802
2514
|
} | undefined;
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
timestamp: string;
|
|
4818
|
-
data: StreamRunAgentDataData$Outbound;
|
|
4819
|
-
};
|
|
4820
|
-
/** @internal */
|
|
4821
|
-
export declare const Data2$outboundSchema: z.ZodType<Data2$Outbound, z.ZodTypeDef, Data2>;
|
|
4822
|
-
export declare function data2ToJSON(data2: Data2): string;
|
|
4823
|
-
export declare function data2FromJSON(jsonString: string): SafeParseResult<Data2, SDKValidationError>;
|
|
4824
|
-
/** @internal */
|
|
4825
|
-
export declare const StreamRunAgentDataType$inboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataType>;
|
|
4826
|
-
/** @internal */
|
|
4827
|
-
export declare const StreamRunAgentDataType$outboundSchema: z.ZodNativeEnum<typeof StreamRunAgentDataType>;
|
|
4828
|
-
/** @internal */
|
|
4829
|
-
export declare const DataData$inboundSchema: z.ZodType<DataData, z.ZodTypeDef, unknown>;
|
|
4830
|
-
/** @internal */
|
|
4831
|
-
export type DataData$Outbound = {
|
|
4832
|
-
agent_task_id: string;
|
|
4833
|
-
workspace_id: string;
|
|
4834
|
-
trace_id: string;
|
|
4835
|
-
};
|
|
4836
|
-
/** @internal */
|
|
4837
|
-
export declare const DataData$outboundSchema: z.ZodType<DataData$Outbound, z.ZodTypeDef, DataData>;
|
|
4838
|
-
export declare function dataDataToJSON(dataData: DataData): string;
|
|
4839
|
-
export declare function dataDataFromJSON(jsonString: string): SafeParseResult<DataData, SDKValidationError>;
|
|
4840
|
-
/** @internal */
|
|
4841
|
-
export declare const Data1$inboundSchema: z.ZodType<Data1, z.ZodTypeDef, unknown>;
|
|
4842
|
-
/** @internal */
|
|
4843
|
-
export type Data1$Outbound = {
|
|
4844
|
-
type: string;
|
|
4845
|
-
timestamp: string;
|
|
4846
|
-
data: DataData$Outbound;
|
|
2515
|
+
contact?: StreamRunAgentContact$Outbound | undefined;
|
|
2516
|
+
thread?: StreamRunAgentThread$Outbound | undefined;
|
|
2517
|
+
memory?: StreamRunAgentMemory$Outbound | undefined;
|
|
2518
|
+
path: string;
|
|
2519
|
+
description?: string | undefined;
|
|
2520
|
+
system_prompt?: string | undefined;
|
|
2521
|
+
memory_stores?: Array<string> | undefined;
|
|
2522
|
+
knowledge_bases?: Array<StreamRunAgentKnowledgeBases$Outbound> | undefined;
|
|
2523
|
+
team_of_agents?: Array<StreamRunAgentTeamOfAgents$Outbound> | undefined;
|
|
2524
|
+
settings: StreamRunAgentSettings$Outbound;
|
|
2525
|
+
metadata?: {
|
|
2526
|
+
[k: string]: any;
|
|
2527
|
+
} | undefined;
|
|
2528
|
+
stream_timeout_seconds?: number | undefined;
|
|
4847
2529
|
};
|
|
4848
2530
|
/** @internal */
|
|
4849
|
-
export declare const
|
|
4850
|
-
export declare function
|
|
4851
|
-
export declare function
|
|
2531
|
+
export declare const StreamRunAgentRequestBody$outboundSchema: z.ZodType<StreamRunAgentRequestBody$Outbound, z.ZodTypeDef, StreamRunAgentRequestBody>;
|
|
2532
|
+
export declare function streamRunAgentRequestBodyToJSON(streamRunAgentRequestBody: StreamRunAgentRequestBody): string;
|
|
2533
|
+
export declare function streamRunAgentRequestBodyFromJSON(jsonString: string): SafeParseResult<StreamRunAgentRequestBody, SDKValidationError>;
|
|
4852
2534
|
/** @internal */
|
|
4853
2535
|
export declare const StreamRunAgentData$inboundSchema: z.ZodType<StreamRunAgentData, z.ZodTypeDef, unknown>;
|
|
4854
2536
|
/** @internal */
|
|
4855
|
-
export type StreamRunAgentData$Outbound =
|
|
2537
|
+
export type StreamRunAgentData$Outbound = (components.AgentExecutionStartedStreamingEvent$Outbound & {
|
|
2538
|
+
type: "agents.execution_started";
|
|
2539
|
+
}) | (components.AgentStartedStreamingEvent$Outbound & {
|
|
2540
|
+
type: "event.agents.started";
|
|
2541
|
+
}) | (components.AgentThoughtStreamingEvent$Outbound & {
|
|
2542
|
+
type: "event.agents.thought";
|
|
2543
|
+
}) | (components.AgentInactiveStreamingEvent$Outbound & {
|
|
2544
|
+
type: "event.agents.inactive";
|
|
2545
|
+
}) | (components.AgentErroredStreamingEvent$Outbound & {
|
|
2546
|
+
type: "event.agents.errored";
|
|
2547
|
+
}) | (components.ActionReviewRequestedStreamingEvent$Outbound & {
|
|
2548
|
+
type: "event.agents.action_review_requested";
|
|
2549
|
+
}) | (components.ActionReviewedStreamingEvent$Outbound & {
|
|
2550
|
+
type: "event.agents.action_reviewed";
|
|
2551
|
+
}) | (components.ExecutionReviewRequiredStreamingEvent$Outbound & {
|
|
2552
|
+
type: "event.agents.execution_review_required";
|
|
2553
|
+
}) | (components.ExecutionReviewedStreamingEvent$Outbound & {
|
|
2554
|
+
type: "event.agents.execution_reviewed";
|
|
2555
|
+
}) | (components.ExecutionNamedStreamingEvent$Outbound & {
|
|
2556
|
+
type: "event.agents.execution_named";
|
|
2557
|
+
}) | (components.AgentHandedOffStreamingEvent$Outbound & {
|
|
2558
|
+
type: "event.agents.handed_off";
|
|
2559
|
+
}) | (components.AgentMessageCreatedStreamingEvent$Outbound & {
|
|
2560
|
+
type: "event.agents.message-created";
|
|
2561
|
+
}) | (components.ToolExecutionStartedStreamingEvent$Outbound & {
|
|
2562
|
+
type: "event.workflow_events.tool_execution_started";
|
|
2563
|
+
}) | (components.ToolExecutionFinishedStreamingEvent$Outbound & {
|
|
2564
|
+
type: "event.workflow_events.tool_execution_finished";
|
|
2565
|
+
}) | (components.ToolExecutionFailedStreamingEvent$Outbound & {
|
|
2566
|
+
type: "event.workflow_events.tool_execution_failed";
|
|
2567
|
+
}) | (components.TimeoutStreamingEvent$Outbound & {
|
|
2568
|
+
type: "agents.timeout";
|
|
2569
|
+
}) | (components.ErrorStreamingEvent$Outbound & {
|
|
2570
|
+
type: "agents.error";
|
|
2571
|
+
});
|
|
4856
2572
|
/** @internal */
|
|
4857
2573
|
export declare const StreamRunAgentData$outboundSchema: z.ZodType<StreamRunAgentData$Outbound, z.ZodTypeDef, StreamRunAgentData>;
|
|
4858
2574
|
export declare function streamRunAgentDataToJSON(streamRunAgentData: StreamRunAgentData): string;
|
|
@@ -4861,7 +2577,41 @@ export declare function streamRunAgentDataFromJSON(jsonString: string): SafePars
|
|
|
4861
2577
|
export declare const StreamRunAgentResponseBody$inboundSchema: z.ZodType<StreamRunAgentResponseBody, z.ZodTypeDef, unknown>;
|
|
4862
2578
|
/** @internal */
|
|
4863
2579
|
export type StreamRunAgentResponseBody$Outbound = {
|
|
4864
|
-
data:
|
|
2580
|
+
data: (components.AgentExecutionStartedStreamingEvent$Outbound & {
|
|
2581
|
+
type: "agents.execution_started";
|
|
2582
|
+
}) | (components.AgentStartedStreamingEvent$Outbound & {
|
|
2583
|
+
type: "event.agents.started";
|
|
2584
|
+
}) | (components.AgentThoughtStreamingEvent$Outbound & {
|
|
2585
|
+
type: "event.agents.thought";
|
|
2586
|
+
}) | (components.AgentInactiveStreamingEvent$Outbound & {
|
|
2587
|
+
type: "event.agents.inactive";
|
|
2588
|
+
}) | (components.AgentErroredStreamingEvent$Outbound & {
|
|
2589
|
+
type: "event.agents.errored";
|
|
2590
|
+
}) | (components.ActionReviewRequestedStreamingEvent$Outbound & {
|
|
2591
|
+
type: "event.agents.action_review_requested";
|
|
2592
|
+
}) | (components.ActionReviewedStreamingEvent$Outbound & {
|
|
2593
|
+
type: "event.agents.action_reviewed";
|
|
2594
|
+
}) | (components.ExecutionReviewRequiredStreamingEvent$Outbound & {
|
|
2595
|
+
type: "event.agents.execution_review_required";
|
|
2596
|
+
}) | (components.ExecutionReviewedStreamingEvent$Outbound & {
|
|
2597
|
+
type: "event.agents.execution_reviewed";
|
|
2598
|
+
}) | (components.ExecutionNamedStreamingEvent$Outbound & {
|
|
2599
|
+
type: "event.agents.execution_named";
|
|
2600
|
+
}) | (components.AgentHandedOffStreamingEvent$Outbound & {
|
|
2601
|
+
type: "event.agents.handed_off";
|
|
2602
|
+
}) | (components.AgentMessageCreatedStreamingEvent$Outbound & {
|
|
2603
|
+
type: "event.agents.message-created";
|
|
2604
|
+
}) | (components.ToolExecutionStartedStreamingEvent$Outbound & {
|
|
2605
|
+
type: "event.workflow_events.tool_execution_started";
|
|
2606
|
+
}) | (components.ToolExecutionFinishedStreamingEvent$Outbound & {
|
|
2607
|
+
type: "event.workflow_events.tool_execution_finished";
|
|
2608
|
+
}) | (components.ToolExecutionFailedStreamingEvent$Outbound & {
|
|
2609
|
+
type: "event.workflow_events.tool_execution_failed";
|
|
2610
|
+
}) | (components.TimeoutStreamingEvent$Outbound & {
|
|
2611
|
+
type: "agents.timeout";
|
|
2612
|
+
}) | (components.ErrorStreamingEvent$Outbound & {
|
|
2613
|
+
type: "agents.error";
|
|
2614
|
+
});
|
|
4865
2615
|
};
|
|
4866
2616
|
/** @internal */
|
|
4867
2617
|
export declare const StreamRunAgentResponseBody$outboundSchema: z.ZodType<StreamRunAgentResponseBody$Outbound, z.ZodTypeDef, StreamRunAgentResponseBody>;
|