alepha@docs:~/framework/docs/reference/providers$
cat MemoryInputProvider.md | pretty
1 min read
Last commit:

#MemoryInputProvider

#Import

typescript
1import { MemoryInputProvider } from "alepha/command";

#Overview

Stdin from memory, for specs.

ts
1const alepha = Alepha.create().with({2  provide: ConsoleInputProvider,3  use: MemoryInputProvider,4});5 6const input = alepha.inject(MemoryInputProvider);7input.content = "## Body\n";

Starts as a pipe that carries nothing, which is what an agent's shell tool looks like when nothing was piped in. Set tty to stand in for a terminal.