(
toolCallId: string,
toolName: string,
value: JSONValue,
)
| 73 | |
| 74 | // Helper to create a tool result message |
| 75 | const createToolResultMessage = ( |
| 76 | toolCallId: string, |
| 77 | toolName: string, |
| 78 | value: JSONValue, |
| 79 | ): ToolMessage => ({ |
| 80 | role: 'tool', |
| 81 | toolCallId, |
| 82 | toolName, |
| 83 | content: [{ type: 'json', value }], |
| 84 | }) |
| 85 | |
| 86 | it( |
| 87 | 'should prune large message history and maintain tool-call/tool-result pairs', |
no outgoing calls
no test coverage detected