@trii/types 2.10.593 → 2.10.595
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.
|
@@ -59,6 +59,7 @@ export interface IConsumedTokens {
|
|
|
59
59
|
llmProvider: string;
|
|
60
60
|
llmModel: string;
|
|
61
61
|
nodeType: string;
|
|
62
|
+
nodeName: string;
|
|
62
63
|
inputTokens: number;
|
|
63
64
|
outputTokens: number;
|
|
64
65
|
inputPrice: number;
|
|
@@ -73,12 +74,12 @@ export interface IWorkflowMessage {
|
|
|
73
74
|
status: NodeStatus;
|
|
74
75
|
content?: IFlowMessageContent[];
|
|
75
76
|
transferToOtherAgent: boolean | false;
|
|
77
|
+
nextNodeId?: string | null;
|
|
76
78
|
spaceId: string;
|
|
77
79
|
workflowId: string;
|
|
78
80
|
flowId: string;
|
|
79
81
|
nodeId: string;
|
|
80
82
|
nodeName: string | '';
|
|
81
|
-
toolName: string;
|
|
82
83
|
tokens: number | 0;
|
|
83
84
|
tokensInput: number | 0;
|
|
84
85
|
tokensOutput: number | 0;
|
|
@@ -105,8 +106,10 @@ export interface IFlowMessageContent {
|
|
|
105
106
|
toolArguments?: string;
|
|
106
107
|
toolOutput?: string;
|
|
107
108
|
toolStatus?: NodeStatus;
|
|
108
|
-
toolTransferToOtherAgent
|
|
109
|
+
toolTransferToOtherAgent?: boolean | false;
|
|
110
|
+
toolNextNodeId?: string | null;
|
|
109
111
|
isPartial?: boolean | false;
|
|
112
|
+
isMessageSended?: boolean | false;
|
|
110
113
|
/**related to messages module */
|
|
111
114
|
messageId: string | '';
|
|
112
115
|
messageShardKey: string | '';
|