Class: AgentCliRuntime::IdentityArguments
- Inherits:
-
Data
- Object
- Data
- AgentCliRuntime::IdentityArguments
- Defined in:
- lib/agent_cli_runtime/values.rb
Instance Attribute Summary collapse
-
#effective_effort ⇒ Object
readonly
Returns the value of attribute effective_effort.
-
#effort_supported ⇒ Object
readonly
Returns the value of attribute effort_supported.
-
#model ⇒ Object
readonly
Returns the value of attribute model.
-
#model_pinned ⇒ Object
readonly
Returns the value of attribute model_pinned.
-
#native_arguments ⇒ Object
readonly
Returns the value of attribute native_arguments.
-
#requested_effort ⇒ Object
readonly
Returns the value of attribute requested_effort.
Instance Method Summary collapse
-
#initialize(model:, requested_effort:, effective_effort:, effort_supported:, model_pinned:, native_arguments:) ⇒ IdentityArguments
constructor
A new instance of IdentityArguments.
Constructor Details
#initialize(model:, requested_effort:, effective_effort:, effort_supported:, model_pinned:, native_arguments:) ⇒ IdentityArguments
Returns a new instance of IdentityArguments.
40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/agent_cli_runtime/values.rb', line 40 def initialize(model:, requested_effort:, effective_effort:, effort_supported:, model_pinned:, native_arguments:) super( model: Immutable.string(model), requested_effort: requested_effort.nil? ? nil : Immutable.string(requested_effort), effective_effort: effective_effort.nil? ? nil : Immutable.string(effective_effort), effort_supported: effort_supported == true, model_pinned: model_pinned == true, native_arguments: Immutable.strings(native_arguments) ) end |
Instance Attribute Details
#effective_effort ⇒ Object (readonly)
Returns the value of attribute effective_effort
36 37 38 |
# File 'lib/agent_cli_runtime/values.rb', line 36 def effective_effort @effective_effort end |
#effort_supported ⇒ Object (readonly)
Returns the value of attribute effort_supported
36 37 38 |
# File 'lib/agent_cli_runtime/values.rb', line 36 def effort_supported @effort_supported end |
#model ⇒ Object (readonly)
Returns the value of attribute model
36 37 38 |
# File 'lib/agent_cli_runtime/values.rb', line 36 def model @model end |
#model_pinned ⇒ Object (readonly)
Returns the value of attribute model_pinned
36 37 38 |
# File 'lib/agent_cli_runtime/values.rb', line 36 def model_pinned @model_pinned end |
#native_arguments ⇒ Object (readonly)
Returns the value of attribute native_arguments
36 37 38 |
# File 'lib/agent_cli_runtime/values.rb', line 36 def native_arguments @native_arguments end |
#requested_effort ⇒ Object (readonly)
Returns the value of attribute requested_effort
36 37 38 |
# File 'lib/agent_cli_runtime/values.rb', line 36 def requested_effort @requested_effort end |