(part: TextPart)
| 288 | } |
| 289 | |
| 290 | function textUpdated(part: TextPart): SdkEvent { |
| 291 | return { |
| 292 | id: `evt-${part.id}-updated`, |
| 293 | type: "message.part.updated", |
| 294 | properties: { |
| 295 | sessionID: part.sessionID, |
| 296 | part, |
| 297 | time: 1, |
| 298 | }, |
| 299 | } |
| 300 | } |
| 301 | |
| 302 | function reasoningPart(id: string, messageID: string, text: string): ReasoningPart { |
| 303 | return { |
no outgoing calls
no test coverage detected