module

Smith::Session::Transcript

Cutting the transcript is not a plain slice: providers reject a request where a tool_use has no matching tool_result, the same invariant Context.compact upholds.

Class methods

truncate(messages : Array(Smith::LLM::Message), index : Int32) : Array(Smith::LLM::Message)
Source