(
toolCallId: string,
toolName: string,
index: number,
arguments_: string,
model: string,
timestamp: number,
id: string,
)
| 93 | }) |
| 94 | |
| 95 | const createToolCallChunk = ( |
| 96 | toolCallId: string, |
| 97 | toolName: string, |
| 98 | index: number, |
| 99 | arguments_: string, |
| 100 | model: string, |
| 101 | timestamp: number, |
| 102 | id: string, |
| 103 | ): StreamChunk => ({ |
| 104 | type: 'tool_call', |
| 105 | toolCall: { |
| 106 | id: toolCallId, |
| 107 | type: 'function', |
| 108 | function: { |
| 109 | name: toolName, |
| 110 | arguments: arguments_, |
| 111 | }, |
| 112 | }, |
| 113 | index, |
| 114 | model, |
| 115 | timestamp, |
| 116 | id, |
| 117 | }) |
| 118 | |
| 119 | const createToolResultChunk = ( |
| 120 | toolCallId: string, |
no outgoing calls
no test coverage detected