* 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)
| 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); |
nothing calls this directly
no test coverage detected