(
toolCallId: string,
result: string,
model: string,
timestamp: number,
id: string,
)
| 117 | }) |
| 118 | |
| 119 | const createToolResultChunk = ( |
| 120 | toolCallId: string, |
| 121 | result: string, |
| 122 | model: string, |
| 123 | timestamp: number, |
| 124 | id: string, |
| 125 | ): StreamChunk => ({ |
| 126 | type: 'tool_result', |
| 127 | toolCallId, |
| 128 | content: result, |
| 129 | model, |
| 130 | timestamp, |
| 131 | id, |
| 132 | }) |
| 133 | |
| 134 | type FinishReason = 'stop' | 'length' | 'content_filter' | 'tool_calls' | null |
| 135 |
no outgoing calls
no test coverage detected