Class: Rubino::LLM::ReasoningManager::Rendered
- Inherits:
-
Struct
- Object
- Struct
- Rubino::LLM::ReasoningManager::Rendered
- 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
-
#max_tokens ⇒ Object
Returns the value of attribute max_tokens.
-
#temperature ⇒ Object
Returns the value of attribute temperature.
-
#thinking ⇒ Object
Returns the value of attribute thinking.
Instance Method Summary collapse
Instance Attribute Details
#max_tokens ⇒ Object
Returns the value of attribute max_tokens
25 26 27 |
# File 'lib/rubino/llm/reasoning_manager.rb', line 25 def max_tokens @max_tokens end |
#temperature ⇒ Object
Returns the value of attribute temperature
25 26 27 |
# File 'lib/rubino/llm/reasoning_manager.rb', line 25 def temperature @temperature end |
#thinking ⇒ Object
Returns the value of attribute thinking
25 26 27 |
# File 'lib/rubino/llm/reasoning_manager.rb', line 25 def thinking @thinking end |
Instance Method Details
#thinking_enabled? ⇒ Boolean
26 27 28 |
# File 'lib/rubino/llm/reasoning_manager.rb', line 26 def thinking_enabled? !thinking.nil? end |