@trii/types 2.10.594 → 2.10.596

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;
@@ -68,7 +69,7 @@ export interface IConsumedTokens {
68
69
  }
69
70
  export interface IWorkflowMessage {
70
71
  id: string;
71
- role: 'system' | 'user' | 'assistant';
72
+ role: 'log' | 'user' | 'assistant';
72
73
  isWorkerAgent: boolean | false;
73
74
  status: NodeStatus;
74
75
  content?: IFlowMessageContent[];
@@ -79,7 +80,6 @@ export interface IWorkflowMessage {
79
80
  flowId: string;
80
81
  nodeId: string;
81
82
  nodeName: string | '';
82
- toolName: string;
83
83
  tokens: number | 0;
84
84
  tokensInput: number | 0;
85
85
  tokensOutput: number | 0;
@@ -106,7 +106,7 @@ export interface IFlowMessageContent {
106
106
  toolArguments?: string;
107
107
  toolOutput?: string;
108
108
  toolStatus?: NodeStatus;
109
- toolTransferToOtherAgent: boolean | false;
109
+ toolTransferToOtherAgent?: boolean | false;
110
110
  toolNextNodeId?: string | null;
111
111
  isPartial?: boolean | false;
112
112
  isMessageSended?: boolean | false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.594",
3
+ "version": "2.10.596",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",