Smith::Context::Result
Inherits Struct < Value < Object
Constructors
new(messages : Array(Smith::LLM::Message), strategy : Smith::Context::Strategy, before_tokens : Int32, after_tokens : Int32, budget : Smith::Context::Budget, stages : Array(String) = [] of String)
SourceInstance methods
after_tokens
Sourcebudget
Sourcecompacted?
Sourceexhausted?
Over the ceiling with nothing left to reclaim. The caller stops the run rather than letting the provider reject the request.
messages
Sourcereached_target?
Sourcestages
Which stages actually changed something. Reported so a compaction line reads as an intention rather than an accident.
strategy
Source