MCPcopy Create free account
hub / github.com/CommandCodeAI/BaseAI / warnIfToolsWithStream

Method warnIfToolsWithStream

packages/core/src/pipes/pipes.ts:172–178  ·  view source on GitHub ↗
(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,

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected