@librechat/agents-types 1.6.5 → 1.6.6

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.
Files changed (3) hide show
  1. package/graph.ts +1 -1
  2. package/package.json +1 -1
  3. package/stream.ts +2 -2
package/graph.ts CHANGED
@@ -124,7 +124,7 @@ export type StreamEvent = {
124
124
  export type GraphConfig = {
125
125
  provider: string;
126
126
  thread_id?: string;
127
- message_id?: string;
127
+ run_id?: string;
128
128
  };
129
129
 
130
130
  export type PartMetadata = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@librechat/agents-types",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "description": "Type definitions for @librechat/agents",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {
package/stream.ts CHANGED
@@ -90,7 +90,7 @@ export type MessageCreationDetails = {
90
90
  };
91
91
  };
92
92
 
93
- export type ToolEndData = { input: string | Record<string, unknown>, output: ToolMessage };
93
+ export type ToolEndData = { input: string | Record<string, unknown>, output?: ToolMessage };
94
94
  export type ToolEndCallback = (data: ToolEndData, metadata?: Record<string, unknown>) => void;
95
95
 
96
96
  export type ProcessedToolCall = {
@@ -122,7 +122,7 @@ export type ToolCompleteEvent = ToolCallCompleted & {
122
122
 
123
123
  export type ToolCallsDetails = {
124
124
  type: StepTypes.TOOL_CALLS;
125
- tool_calls: AgentToolCall[]; // #new
125
+ tool_calls?: AgentToolCall[]; // #new
126
126
  };
127
127
 
128
128
  export type ToolCallDelta = {