(
error: string,
model: string,
timestamp: number,
id: string,
)
| 165 | }) |
| 166 | |
| 167 | const createErrorChunk = ( |
| 168 | error: string, |
| 169 | model: string, |
| 170 | timestamp: number, |
| 171 | id: string, |
| 172 | ): StreamChunk => ({ |
| 173 | type: 'error', |
| 174 | error: { |
| 175 | message: error, |
| 176 | }, |
| 177 | model, |
| 178 | timestamp, |
| 179 | id, |
| 180 | }) |
| 181 | |
| 182 | const createThinkingChunk = ( |
| 183 | content: string, |
no outgoing calls
no test coverage detected