@librechat/agents-types 1.6.4 → 1.6.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.
Files changed (3) hide show
  1. package/graph.ts +1 -0
  2. package/package.json +1 -1
  3. package/stream.ts +1 -1
package/graph.ts CHANGED
@@ -124,6 +124,7 @@ export type StreamEvent = {
124
124
  export type GraphConfig = {
125
125
  provider: string;
126
126
  thread_id?: string;
127
+ message_id?: string;
127
128
  };
128
129
 
129
130
  export type PartMetadata = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@librechat/agents-types",
3
- "version": "1.6.4",
3
+ "version": "1.6.5",
4
4
  "description": "Type definitions for @librechat/agents",
5
5
  "types": "index.d.ts",
6
6
  "scripts": {
package/stream.ts CHANGED
@@ -91,7 +91,7 @@ export type MessageCreationDetails = {
91
91
  };
92
92
 
93
93
  export type ToolEndData = { input: string | Record<string, unknown>, output: ToolMessage };
94
- export type ToolEndCallback = (data: ToolEndData) => void;
94
+ export type ToolEndCallback = (data: ToolEndData, metadata?: Record<string, unknown>) => void;
95
95
 
96
96
  export type ProcessedToolCall = {
97
97
  name: string;