Method
warnIfToolsWithStream
(requestedStream: boolean)
Source from the content-addressed store, hash-verified
| 170 | } |
| 171 | |
| 172 | private warnIfToolsWithStream(requestedStream: boolean): void { |
| 173 | if (this.hasTools && requestedStream) { |
| 174 | console.warn( |
| 175 | 'Warning: Streaming is not yet supported in Anthropic models when tools are present in the pipe. Falling back to non-streaming mode.', |
| 176 | ); |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | private async handleStreamResponse( |
| 181 | options: RunOptionsStream, |
Tested by
no test coverage detected