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

Function fromReadableStream

packages/core/src/helpers/stream.ts:14–16  ·  view source on GitHub ↗
(readableStream: ReadableStream)

Source from the content-addressed store, hash-verified

12 * @returns The converted Runner.
13 */
14export const fromReadableStream = (readableStream: ReadableStream): Runner => {
15 return ChatCompletionStream.fromReadableStream(readableStream);
16};
17
18/**
19 * Returns a runner for the given readable stream.

Callers 1

getRunnerFunction · 0.85

Calls 1

fromReadableStreamMethod · 0.45

Tested by

no test coverage detected