(
toolCallId: string,
toolName: string,
input: Record<string, unknown>,
)
| 56 | |
| 57 | // Helper to create a tool call message |
| 58 | const createToolCallMessage = ( |
| 59 | toolCallId: string, |
| 60 | toolName: string, |
| 61 | input: Record<string, unknown>, |
| 62 | ): Message => ({ |
| 63 | role: 'assistant', |
| 64 | content: [ |
| 65 | { |
| 66 | type: 'tool-call', |
| 67 | toolCallId, |
| 68 | toolName, |
| 69 | input, |
| 70 | }, |
| 71 | ], |
| 72 | }) |
| 73 | |
| 74 | // Helper to create a tool result message |
| 75 | const createToolResultMessage = ( |
no outgoing calls
no test coverage detected