Method
streamThinkingEvent
(chatId: string, data: string, duration?: number)
Source from the content-addressed store, hash-verified
| 171 | } |
| 172 | |
| 173 | streamThinkingEvent(chatId: string, data: string, duration?: number) { |
| 174 | const clientResponse = { |
| 175 | event: 'thinking', |
| 176 | data: data, |
| 177 | duration: duration |
| 178 | } |
| 179 | this.safeWrite(chatId, 'message:\ndata:' + JSON.stringify(clientResponse) + '\n\n') |
| 180 | } |
| 181 | |
| 182 | streamSourceDocumentsEvent(chatId: string, data: any) { |
| 183 | const clientResponse = { |
Callers
nothing calls this directly
Tested by
no test coverage detected