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

Function streamText

packages/core/src/pipes/pipes.ts:439–443  ·  view source on GitHub ↗
(
	options: RunOptions & {pipe: Pipe},
)

Source from the content-addressed store, hash-verified

437 * @returns A promise that resolves to the response of the stream operation.
438 */
439export const streamText = async (
440 options: RunOptions & {pipe: Pipe},
441): Promise<RunResponseStream> => {
442 return options.pipe.run({...options, stream: true});
443};
444
445interface ContentChunk {
446 type: 'content';

Callers

nothing calls this directly

Calls 1

runMethod · 0.80

Tested by

no test coverage detected