(
options: TextOptions<GrokBuildTextProviderOptions>,
)
| 195 | } |
| 196 | |
| 197 | async *chatStream( |
| 198 | options: TextOptions<GrokBuildTextProviderOptions>, |
| 199 | ): AsyncIterable<StreamChunk> { |
| 200 | if (this.protocol(options) === 'streaming-json') { |
| 201 | yield* this.chatStreamNdjson(options) |
| 202 | return |
| 203 | } |
| 204 | yield* this.chatStreamAcp(options) |
| 205 | } |
| 206 | |
| 207 | private async *chatStreamAcp( |
| 208 | options: TextOptions<GrokBuildTextProviderOptions>, |
no test coverage detected