class RubyLLM::Thinking::Config
Normalized config for thinking across providers.
Attributes
Public Class Methods
# File lib/ruby_llm/thinking.rb, line 39 def initialize(effort: nil, budget: nil) @effort = effort.is_a?(Symbol) ? effort.to_s : effort @budget = budget end
Public Instance Methods
Source
# File lib/ruby_llm/thinking.rb, line 44 def enabled? !effort.nil? || !budget.nil? end