class

Smith::Output::HumanRenderer

Inherits Smith::Output::Renderer < Reference < Object

Constructors

new(io : IO = STDOUT)
Source

Instance methods

finish(usage : LLM::Usage, cost : Float64 | Nil = nil) : Nil

Callers that have no price basis still want the usage line.

Source
handle(event : Events::Event) : Nil
Source
prompt_io

Where an approval prompt should write. In JSON mode this must not be stdout, or the prompt would land in the middle of the JSONL stream.

Source