Smith::LLM::Request
Inherits Reference < Object
Constructors
new(model : String, messages : Array(Message), system : String | Nil = nil, tools : Array(ToolSpec) | Nil = nil, max_tokens : Int32 | Nil = nil, temperature : Float64 | Nil = nil, stream : Bool = true, thinking_effort : String | Nil = nil, thinking_budget : Int32 | Nil = nil)
SourceInstance methods
max_tokens
Sourcemessages
Sourcemodel
Sourcestream?
Sourcesystem
Sourcetemperature
Sourcethinking_budget
The pre-4.6 form, where thinking was a fixed token budget rather than an effort level. Current models reject it with a 400, so it is only set when someone explicitly configures it for an older model.
thinking_effort
nil leaves thinking off, which is the default. Otherwise one of low/medium/high/xhigh/max — how deep the model is asked to think.
tools
Source