MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / fromReadableStream

Method fromReadableStream

out/cli.cjs:82432–82436  ·  view source on GitHub ↗

* Intended for use on the frontend, consuming a stream produced with * `.toReadableStream()` on the backend. * * Note that messages sent to the model do not appear in `.on('message')` * in this context.

(stream4)

Source from the content-addressed store, hash-verified

82430 }
82431 /**
82432 * Intended for use on the frontend, consuming a stream produced with
82433 * `.toReadableStream()` on the backend.
82434 *
82435 * Note that messages sent to the model do not appear in `.on('message')`
82436 * in this context.
82437 */
82438 static fromReadableStream(stream4) {
82439 const runner = new _ChatCompletionStream(null);

Callers

nothing calls this directly

Calls 2

_fromReadableStreamMethod · 0.95
_runMethod · 0.45

Tested by

no test coverage detected