Method
streamToolEvent
(chatId: string, data: any)
Source from the content-addressed store, hash-verified
| 215 | this.safeWrite(chatId, 'message:\ndata:' + JSON.stringify(clientResponse) + '\n\n') |
| 216 | } |
| 217 | streamToolEvent(chatId: string, data: any): void { |
| 218 | const clientResponse = { |
| 219 | event: 'tool', |
| 220 | data: data |
| 221 | } |
| 222 | this.safeWrite(chatId, 'message:\ndata:' + JSON.stringify(clientResponse) + '\n\n') |
| 223 | } |
| 224 | streamAgentReasoningEvent(chatId: string, data: any): void { |
| 225 | const clientResponse = { |
| 226 | event: 'agentReasoning', |
Callers
nothing calls this directly
Tested by
no test coverage detected