(content: string, uuid?: string)
| 27 | } |
| 28 | |
| 29 | function createAssistantMessage(content: string, uuid?: string): any { |
| 30 | return { |
| 31 | type: 'assistant', |
| 32 | uuid: uuid ?? randomUUID(), |
| 33 | timestamp: new Date().toISOString(), |
| 34 | message: { content: [{ type: 'text', text: content }] }, |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | function createProgressMessage(uuid?: string): any { |
| 39 | return { |
no test coverage detected