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

Function generateText

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

Source from the content-addressed store, hash-verified

425 * @returns A promise that resolves to the generated text.
426 */
427export const generateText = async (
428 options: RunOptions & {pipe: Pipe},
429): Promise<RunResponse> => {
430 return options.pipe.run(options);
431};
432
433/**
434 * Streams text using the provided options.

Callers 1

mainFunction · 0.90

Calls 1

runMethod · 0.80

Tested by

no test coverage detected