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
27 28 29 |
# File 'lib/rubino/llm/reasoning_manager.rb', line 27 def max_tokens @max_tokens end |
#temperature ⇒ Object
Returns the value of attribute temperature
27 28 29 |
# File 'lib/rubino/llm/reasoning_manager.rb', line 27 def temperature @temperature end |
#thinking ⇒ Object
Returns the value of attribute thinking
27 28 29 |
# File 'lib/rubino/llm/reasoning_manager.rb', line 27 def thinking @thinking end |
Instance Method Details
#thinking_enabled? ⇒ Boolean
28 29 30 |
# File 'lib/rubino/llm/reasoning_manager.rb', line 28 def thinking_enabled? !thinking.nil? end |