Class: Rubino::LLM::ReasoningManager::Rendered

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubino/llm/reasoning_manager.rb

Overview

The rendered wire params. thinking is the Anthropic manual-mode block (nil when disabled), temperature is forced to 1 with thinking on (else the configured value, possibly nil ⇒ provider default), max_tokens is the ceiling grown to fit budget + headroom (nil ⇒ leave provider default).

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#max_tokensObject

Returns the value of attribute max_tokens

Returns:

  • (Object)

    the current value of max_tokens



25
26
27
# File 'lib/rubino/llm/reasoning_manager.rb', line 25

def max_tokens
  @max_tokens
end

#temperatureObject

Returns the value of attribute temperature

Returns:

  • (Object)

    the current value of temperature



25
26
27
# File 'lib/rubino/llm/reasoning_manager.rb', line 25

def temperature
  @temperature
end

#thinkingObject

Returns the value of attribute thinking

Returns:

  • (Object)

    the current value of thinking



25
26
27
# File 'lib/rubino/llm/reasoning_manager.rb', line 25

def thinking
  @thinking
end

Instance Method Details

#thinking_enabled?Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/rubino/llm/reasoning_manager.rb', line 26

def thinking_enabled?
  !thinking.nil?
end