* Emit text update events (combines processor and client events)
(
streamId: string,
messageId: string,
content: string,
context?: ChatClientRunEventContext,
)
| 100 | * Emit text update events (combines processor and client events) |
| 101 | */ |
| 102 | textUpdated( |
| 103 | streamId: string, |
| 104 | messageId: string, |
| 105 | content: string, |
| 106 | context?: ChatClientRunEventContext, |
| 107 | ): void { |
| 108 | this.emitEvent('text:chunk:content', { |
| 109 | streamId, |
| 110 | messageId, |
| 111 | content, |
| 112 | ...context, |
| 113 | }) |
| 114 | } |
| 115 | |
| 116 | /** |
| 117 | * Emit tool call state change events (combines processor and client events) |