@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.
- package/graph.ts +1 -1
- package/package.json +1 -1
- package/stream.ts +2 -2
    
        package/graph.ts
    CHANGED
    
    
    
        package/package.json
    CHANGED
    
    
    
        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 | 
| 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 | 
| 125 | 
            +
              tool_calls?: AgentToolCall[]; // #new
         | 
| 126 126 | 
             
            };
         | 
| 127 127 |  | 
| 128 128 | 
             
            export type ToolCallDelta = {
         |