(input: LLM.StreamInput)
| 56 | |
| 57 | // LLM.stream returns a Stream, not an Effect, so we can't use the serviceUse proxy. |
| 58 | const drain = (input: LLM.StreamInput) => LLM.Service.use((svc) => svc.stream(input).pipe(Stream.runDrain)) |
| 59 | |
| 60 | // drainWith builds an isolated runtime so custom replacements fully own LLM and |
| 61 | // its transitive deps. |
no test coverage detected